lib/google/apis/run_v2/representations.rb in google-apis-run_v2-0.69.0 vs lib/google/apis/run_v2/representations.rb in google-apis-run_v2-0.70.0
- old
+ new
@@ -26,10 +26,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudRunV2BuildpacksBuild
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudRunV2CancelExecutionRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -62,10 +68,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudRunV2DockerBuild
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudRunV2EmptyDirVolumeSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -284,10 +296,28 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudRunV2StorageSource
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudRunV2SubmitBuildRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudRunV2SubmitBuildResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudRunV2TcpSocketAction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -671,10 +701,22 @@
property :policy, as: 'policy'
property :use_default, as: 'useDefault'
end
end
+ class GoogleCloudRunV2BuildpacksBuild
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :base_image, as: 'baseImage'
+ property :cache_image_uri, as: 'cacheImageUri'
+ property :enable_automatic_updates, as: 'enableAutomaticUpdates'
+ hash :environment_variables, as: 'environmentVariables'
+ property :function_target, as: 'functionTarget'
+ property :runtime, as: 'runtime'
+ end
+ end
+
class GoogleCloudRunV2CancelExecutionRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :validate_only, as: 'validateOnly'
@@ -743,10 +785,16 @@
property :container_port, as: 'containerPort'
property :name, as: 'name'
end
end
+ class GoogleCloudRunV2DockerBuild
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
class GoogleCloudRunV2EmptyDirVolumeSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :medium, as: 'medium'
property :size_limit, as: 'sizeLimit'
@@ -1218,9 +1266,43 @@
class GoogleCloudRunV2ServiceScaling
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :min_instance_count, as: 'minInstanceCount'
+ end
+ end
+
+ class GoogleCloudRunV2StorageSource
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :bucket, as: 'bucket'
+ property :generation, :numeric_string => true, as: 'generation'
+ property :object, as: 'object'
+ end
+ end
+
+ class GoogleCloudRunV2SubmitBuildRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :buildpack_build, as: 'buildpackBuild', class: Google::Apis::RunV2::GoogleCloudRunV2BuildpacksBuild, decorator: Google::Apis::RunV2::GoogleCloudRunV2BuildpacksBuild::Representation
+
+ property :docker_build, as: 'dockerBuild', class: Google::Apis::RunV2::GoogleCloudRunV2DockerBuild, decorator: Google::Apis::RunV2::GoogleCloudRunV2DockerBuild::Representation
+
+ property :image_uri, as: 'imageUri'
+ property :service_account, as: 'serviceAccount'
+ property :storage_source, as: 'storageSource', class: Google::Apis::RunV2::GoogleCloudRunV2StorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2StorageSource::Representation
+
+ collection :tags, as: 'tags'
+ property :worker_pool, as: 'workerPool'
+ end
+ end
+
+ class GoogleCloudRunV2SubmitBuildResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :base_image_uri, as: 'baseImageUri'
+ property :build_operation, as: 'buildOperation', class: Google::Apis::RunV2::GoogleLongrunningOperation, decorator: Google::Apis::RunV2::GoogleLongrunningOperation::Representation
+
end
end
class GoogleCloudRunV2TcpSocketAction
# @private