diff --git a/api_names_out.yaml b/api_names_out.yaml index 9432dbc325b..a1ad3e3611a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -342363,6 +342363,10 @@ "/run:v2/GoogleCloudRunV2CloudSqlInstance/connections/connection": connection "/run:v2/GoogleCloudRunV2CloudSqlInstance/instances": instances "/run:v2/GoogleCloudRunV2CloudSqlInstance/instances/instance": instance +"/run:v2/GoogleCloudRunV2CloudStorageSource": google_cloud_run_v2_cloud_storage_source +"/run:v2/GoogleCloudRunV2CloudStorageSource/bucket": bucket +"/run:v2/GoogleCloudRunV2CloudStorageSource/generation": generation +"/run:v2/GoogleCloudRunV2CloudStorageSource/object": object "/run:v2/GoogleCloudRunV2Condition": google_cloud_run_v2_condition "/run:v2/GoogleCloudRunV2Condition/domainMappingReason": domain_mapping_reason "/run:v2/GoogleCloudRunV2Condition/executionReason": execution_reason @@ -342392,6 +342396,7 @@ "/run:v2/GoogleCloudRunV2Container/ports/port": port "/run:v2/GoogleCloudRunV2Container/resources": resources "/run:v2/GoogleCloudRunV2Container/source": source +"/run:v2/GoogleCloudRunV2Container/sourceCode": source_code "/run:v2/GoogleCloudRunV2Container/startupProbe": startup_probe "/run:v2/GoogleCloudRunV2Container/volumeMounts": volume_mounts "/run:v2/GoogleCloudRunV2Container/volumeMounts/volume_mount": volume_mount @@ -342735,6 +342740,8 @@ "/run:v2/GoogleCloudRunV2ServiceScaling/maxInstanceCount": max_instance_count "/run:v2/GoogleCloudRunV2ServiceScaling/minInstanceCount": min_instance_count "/run:v2/GoogleCloudRunV2ServiceScaling/scalingMode": scaling_mode +"/run:v2/GoogleCloudRunV2SourceCode": google_cloud_run_v2_source_code +"/run:v2/GoogleCloudRunV2SourceCode/cloudStorageSource": cloud_storage_source "/run:v2/GoogleCloudRunV2StorageSource": google_cloud_run_v2_storage_source "/run:v2/GoogleCloudRunV2StorageSource/bucket": bucket "/run:v2/GoogleCloudRunV2StorageSource/generation": generation @@ -343027,6 +343034,7 @@ "/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/waitFor": wait_for "/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/waitFor/wait_for": wait_for "/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage": google_devtools_cloudbuild_v1_built_image +"/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/artifactRegistryPackage": artifact_registry_package "/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/digest": digest "/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/name": name "/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/pushTiming": push_timing @@ -343166,18 +343174,22 @@ "/run:v2/GoogleDevtoolsCloudbuildV1TimeSpan/endTime": end_time "/run:v2/GoogleDevtoolsCloudbuildV1TimeSpan/startTime": start_time "/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule": google_devtools_cloudbuild_v1_uploaded_go_module +"/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule/artifactRegistryPackage": artifact_registry_package "/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule/fileHashes": file_hashes "/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule/pushTiming": push_timing "/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule/uri": uri "/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact": google_devtools_cloudbuild_v1_uploaded_maven_artifact +"/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact/artifactRegistryPackage": artifact_registry_package "/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact/fileHashes": file_hashes "/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact/pushTiming": push_timing "/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact/uri": uri "/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage": google_devtools_cloudbuild_v1_uploaded_npm_package +"/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage/artifactRegistryPackage": artifact_registry_package "/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage/fileHashes": file_hashes "/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage/pushTiming": push_timing "/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage/uri": uri "/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage": google_devtools_cloudbuild_v1_uploaded_python_package +"/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage/artifactRegistryPackage": artifact_registry_package "/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage/fileHashes": file_hashes "/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage/pushTiming": push_timing "/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage/uri": uri diff --git a/generated/google-apis-run_v2/CHANGELOG.md b/generated/google-apis-run_v2/CHANGELOG.md index 5e0515b29dc..928b09d12d1 100644 --- a/generated/google-apis-run_v2/CHANGELOG.md +++ b/generated/google-apis-run_v2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-run_v2 +### v0.102.0 (2025-11-09) + +* Regenerated from discovery document revision 20251031 + ### v0.101.0 (2025-11-02) * Regenerated from discovery document revision 20251024 diff --git a/generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb b/generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb index 8d6ca3d936e..4100cf6e60c 100644 --- a/generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb +++ b/generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb @@ -279,6 +279,37 @@ def update!(**args) end end + # Cloud Storage source. + class GoogleCloudRunV2CloudStorageSource + include Google::Apis::Core::Hashable + + # Required. The Cloud Storage bucket name. + # Corresponds to the JSON property `bucket` + # @return [String] + attr_accessor :bucket + + # Optional. The Cloud Storage object generation. + # Corresponds to the JSON property `generation` + # @return [Fixnum] + attr_accessor :generation + + # Required. The Cloud Storage object name. + # Corresponds to the JSON property `object` + # @return [String] + attr_accessor :object + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket = args[:bucket] if args.key?(:bucket) + @generation = args[:generation] if args.key?(:generation) + @object = args[:object] if args.key?(:object) + end + end + # Defines a status condition for a resource. class GoogleCloudRunV2Condition include Google::Apis::Core::Hashable @@ -414,6 +445,11 @@ class GoogleCloudRunV2Container # @return [Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements] attr_accessor :resources + # Source type for the container. + # Corresponds to the JSON property `sourceCode` + # @return [Google::Apis::RunV2::GoogleCloudRunV2SourceCode] + attr_accessor :source_code + # Probe describes a health check to be performed against a container to # determine whether it is alive or ready to receive traffic. # Corresponds to the JSON property `startupProbe` @@ -448,6 +484,7 @@ def update!(**args) @name = args[:name] if args.key?(:name) @ports = args[:ports] if args.key?(:ports) @resources = args[:resources] if args.key?(:resources) + @source_code = args[:source_code] if args.key?(:source_code) @startup_probe = args[:startup_probe] if args.key?(:startup_probe) @volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts) @working_dir = args[:working_dir] if args.key?(:working_dir) @@ -2857,6 +2894,25 @@ def update!(**args) end end + # Source type for the container. + class GoogleCloudRunV2SourceCode + include Google::Apis::Core::Hashable + + # Cloud Storage source. + # Corresponds to the JSON property `cloudStorageSource` + # @return [Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource] + attr_accessor :cloud_storage_source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_storage_source = args[:cloud_storage_source] if args.key?(:cloud_storage_source) + end + end + # Location of the source in an archive file in Google Cloud Storage. class GoogleCloudRunV2StorageSource include Google::Apis::Core::Hashable @@ -4833,6 +4889,11 @@ def update!(**args) class GoogleDevtoolsCloudbuildV1BuiltImage include Google::Apis::Core::Hashable + # Output only. Path to the artifact in Artifact Registry. + # Corresponds to the JSON property `artifactRegistryPackage` + # @return [String] + attr_accessor :artifact_registry_package + # Docker Registry 2.0 digest. # Corresponds to the JSON property `digest` # @return [String] @@ -4855,6 +4916,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package) @digest = args[:digest] if args.key?(:digest) @name = args[:name] if args.key?(:name) @push_timing = args[:push_timing] if args.key?(:push_timing) @@ -5848,6 +5910,11 @@ def update!(**args) class GoogleDevtoolsCloudbuildV1UploadedGoModule include Google::Apis::Core::Hashable + # Output only. Path to the artifact in Artifact Registry. + # Corresponds to the JSON property `artifactRegistryPackage` + # @return [String] + attr_accessor :artifact_registry_package + # Container message for hashes of byte content of files, used in # SourceProvenance messages to verify integrity of source input to the build. # Corresponds to the JSON property `fileHashes` @@ -5870,6 +5937,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package) @file_hashes = args[:file_hashes] if args.key?(:file_hashes) @push_timing = args[:push_timing] if args.key?(:push_timing) @uri = args[:uri] if args.key?(:uri) @@ -5880,6 +5948,11 @@ def update!(**args) class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact include Google::Apis::Core::Hashable + # Output only. Path to the artifact in Artifact Registry. + # Corresponds to the JSON property `artifactRegistryPackage` + # @return [String] + attr_accessor :artifact_registry_package + # Container message for hashes of byte content of files, used in # SourceProvenance messages to verify integrity of source input to the build. # Corresponds to the JSON property `fileHashes` @@ -5902,6 +5975,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package) @file_hashes = args[:file_hashes] if args.key?(:file_hashes) @push_timing = args[:push_timing] if args.key?(:push_timing) @uri = args[:uri] if args.key?(:uri) @@ -5912,6 +5986,11 @@ def update!(**args) class GoogleDevtoolsCloudbuildV1UploadedNpmPackage include Google::Apis::Core::Hashable + # Output only. Path to the artifact in Artifact Registry. + # Corresponds to the JSON property `artifactRegistryPackage` + # @return [String] + attr_accessor :artifact_registry_package + # Container message for hashes of byte content of files, used in # SourceProvenance messages to verify integrity of source input to the build. # Corresponds to the JSON property `fileHashes` @@ -5934,6 +6013,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package) @file_hashes = args[:file_hashes] if args.key?(:file_hashes) @push_timing = args[:push_timing] if args.key?(:push_timing) @uri = args[:uri] if args.key?(:uri) @@ -5944,6 +6024,11 @@ def update!(**args) class GoogleDevtoolsCloudbuildV1UploadedPythonPackage include Google::Apis::Core::Hashable + # Output only. Path to the artifact in Artifact Registry. + # Corresponds to the JSON property `artifactRegistryPackage` + # @return [String] + attr_accessor :artifact_registry_package + # Container message for hashes of byte content of files, used in # SourceProvenance messages to verify integrity of source input to the build. # Corresponds to the JSON property `fileHashes` @@ -5966,6 +6051,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package) @file_hashes = args[:file_hashes] if args.key?(:file_hashes) @push_timing = args[:push_timing] if args.key?(:push_timing) @uri = args[:uri] if args.key?(:uri) diff --git a/generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb b/generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb index 34cd0c8d8a6..ebc534f2967 100644 --- a/generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb +++ b/generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module RunV2 # Version of the google-apis-run_v2 gem - GEM_VERSION = "0.101.0" + GEM_VERSION = "0.102.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251024" + REVISION = "20251031" end end end diff --git a/generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb b/generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb index a15f4b48867..58978fd5eef 100644 --- a/generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb +++ b/generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb @@ -58,6 +58,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudRunV2CloudStorageSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudRunV2Condition class Representation < Google::Apis::Core::JsonRepresentation; end @@ -334,6 +340,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudRunV2SourceCode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudRunV2StorageSource class Representation < Google::Apis::Core::JsonRepresentation; end @@ -838,6 +850,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudRunV2CloudStorageSource + # @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 GoogleCloudRunV2Condition # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -871,6 +892,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :resources, as: 'resources', class: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements, decorator: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements::Representation + property :source_code, as: 'sourceCode', class: Google::Apis::RunV2::GoogleCloudRunV2SourceCode, decorator: Google::Apis::RunV2::GoogleCloudRunV2SourceCode::Representation + property :startup_probe, as: 'startupProbe', class: Google::Apis::RunV2::GoogleCloudRunV2Probe, decorator: Google::Apis::RunV2::GoogleCloudRunV2Probe::Representation collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount, decorator: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount::Representation @@ -1435,6 +1458,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudRunV2SourceCode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_storage_source, as: 'cloudStorageSource', class: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource::Representation + + end + end + class GoogleCloudRunV2StorageSource # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1864,6 +1895,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleDevtoolsCloudbuildV1BuiltImage # @private class Representation < Google::Apis::Core::JsonRepresentation + property :artifact_registry_package, as: 'artifactRegistryPackage' property :digest, as: 'digest' property :name, as: 'name' property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation @@ -2148,6 +2180,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleDevtoolsCloudbuildV1UploadedGoModule # @private class Representation < Google::Apis::Core::JsonRepresentation + property :artifact_registry_package, as: 'artifactRegistryPackage' property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation @@ -2159,6 +2192,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact # @private class Representation < Google::Apis::Core::JsonRepresentation + property :artifact_registry_package, as: 'artifactRegistryPackage' property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation @@ -2170,6 +2204,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleDevtoolsCloudbuildV1UploadedNpmPackage # @private class Representation < Google::Apis::Core::JsonRepresentation + property :artifact_registry_package, as: 'artifactRegistryPackage' property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation @@ -2181,6 +2216,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleDevtoolsCloudbuildV1UploadedPythonPackage # @private class Representation < Google::Apis::Core::JsonRepresentation + property :artifact_registry_package, as: 'artifactRegistryPackage' property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation