lib/google/apis/run_v2/representations.rb in google-apis-run_v2-0.24.0 vs lib/google/apis/run_v2/representations.rb in google-apis-run_v2-0.25.0
- old
+ new
@@ -80,10 +80,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudRunV2GrpcAction
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudRunV2HttpGetAction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -444,10 +450,18 @@
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate::Representation
end
end
+ class GoogleCloudRunV2GrpcAction
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :port, as: 'port'
+ property :service, as: 'service'
+ end
+ end
+
class GoogleCloudRunV2HttpGetAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :http_headers, as: 'httpHeaders', class: Google::Apis::RunV2::GoogleCloudRunV2HttpHeader, decorator: Google::Apis::RunV2::GoogleCloudRunV2HttpHeader::Representation
@@ -544,9 +558,11 @@
class GoogleCloudRunV2Probe
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :failure_threshold, as: 'failureThreshold'
+ property :grpc, as: 'grpc', class: Google::Apis::RunV2::GoogleCloudRunV2GrpcAction, decorator: Google::Apis::RunV2::GoogleCloudRunV2GrpcAction::Representation
+
property :http_get, as: 'httpGet', class: Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction, decorator: Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction::Representation
property :initial_delay_seconds, as: 'initialDelaySeconds'
property :period_seconds, as: 'periodSeconds'
property :tcp_socket, as: 'tcpSocket', class: Google::Apis::RunV2::GoogleCloudRunV2TcpSocketAction, decorator: Google::Apis::RunV2::GoogleCloudRunV2TcpSocketAction::Representation