Skip to content

Commit 05ab9a1

Browse files
feat: Automated regeneration of run v2 client (#24940)
Auto-created at 2025-11-09 10:53:37 +0000 using the toys pull request generator.
1 parent e38539c commit 05ab9a1

File tree

5 files changed

+140
-2
lines changed

5 files changed

+140
-2
lines changed

api_names_out.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343040,6 +343040,10 @@
343040343040
"/run:v2/GoogleCloudRunV2CloudSqlInstance/connections/connection": connection
343041343041
"/run:v2/GoogleCloudRunV2CloudSqlInstance/instances": instances
343042343042
"/run:v2/GoogleCloudRunV2CloudSqlInstance/instances/instance": instance
343043+
"/run:v2/GoogleCloudRunV2CloudStorageSource": google_cloud_run_v2_cloud_storage_source
343044+
"/run:v2/GoogleCloudRunV2CloudStorageSource/bucket": bucket
343045+
"/run:v2/GoogleCloudRunV2CloudStorageSource/generation": generation
343046+
"/run:v2/GoogleCloudRunV2CloudStorageSource/object": object
343043343047
"/run:v2/GoogleCloudRunV2Condition": google_cloud_run_v2_condition
343044343048
"/run:v2/GoogleCloudRunV2Condition/domainMappingReason": domain_mapping_reason
343045343049
"/run:v2/GoogleCloudRunV2Condition/executionReason": execution_reason
@@ -343069,6 +343073,7 @@
343069343073
"/run:v2/GoogleCloudRunV2Container/ports/port": port
343070343074
"/run:v2/GoogleCloudRunV2Container/resources": resources
343071343075
"/run:v2/GoogleCloudRunV2Container/source": source
343076+
"/run:v2/GoogleCloudRunV2Container/sourceCode": source_code
343072343077
"/run:v2/GoogleCloudRunV2Container/startupProbe": startup_probe
343073343078
"/run:v2/GoogleCloudRunV2Container/volumeMounts": volume_mounts
343074343079
"/run:v2/GoogleCloudRunV2Container/volumeMounts/volume_mount": volume_mount
@@ -343412,6 +343417,8 @@
343412343417
"/run:v2/GoogleCloudRunV2ServiceScaling/maxInstanceCount": max_instance_count
343413343418
"/run:v2/GoogleCloudRunV2ServiceScaling/minInstanceCount": min_instance_count
343414343419
"/run:v2/GoogleCloudRunV2ServiceScaling/scalingMode": scaling_mode
343420+
"/run:v2/GoogleCloudRunV2SourceCode": google_cloud_run_v2_source_code
343421+
"/run:v2/GoogleCloudRunV2SourceCode/cloudStorageSource": cloud_storage_source
343415343422
"/run:v2/GoogleCloudRunV2StorageSource": google_cloud_run_v2_storage_source
343416343423
"/run:v2/GoogleCloudRunV2StorageSource/bucket": bucket
343417343424
"/run:v2/GoogleCloudRunV2StorageSource/generation": generation
@@ -343704,6 +343711,7 @@
343704343711
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/waitFor": wait_for
343705343712
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/waitFor/wait_for": wait_for
343706343713
"/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage": google_devtools_cloudbuild_v1_built_image
343714+
"/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/artifactRegistryPackage": artifact_registry_package
343707343715
"/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/digest": digest
343708343716
"/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/name": name
343709343717
"/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/pushTiming": push_timing
@@ -343843,18 +343851,22 @@
343843343851
"/run:v2/GoogleDevtoolsCloudbuildV1TimeSpan/endTime": end_time
343844343852
"/run:v2/GoogleDevtoolsCloudbuildV1TimeSpan/startTime": start_time
343845343853
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule": google_devtools_cloudbuild_v1_uploaded_go_module
343854+
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule/artifactRegistryPackage": artifact_registry_package
343846343855
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule/fileHashes": file_hashes
343847343856
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule/pushTiming": push_timing
343848343857
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedGoModule/uri": uri
343849343858
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact": google_devtools_cloudbuild_v1_uploaded_maven_artifact
343859+
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact/artifactRegistryPackage": artifact_registry_package
343850343860
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact/fileHashes": file_hashes
343851343861
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact/pushTiming": push_timing
343852343862
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedMavenArtifact/uri": uri
343853343863
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage": google_devtools_cloudbuild_v1_uploaded_npm_package
343864+
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage/artifactRegistryPackage": artifact_registry_package
343854343865
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage/fileHashes": file_hashes
343855343866
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage/pushTiming": push_timing
343856343867
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedNpmPackage/uri": uri
343857343868
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage": google_devtools_cloudbuild_v1_uploaded_python_package
343869+
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage/artifactRegistryPackage": artifact_registry_package
343858343870
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage/fileHashes": file_hashes
343859343871
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage/pushTiming": push_timing
343860343872
"/run:v2/GoogleDevtoolsCloudbuildV1UploadedPythonPackage/uri": uri

generated/google-apis-run_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-run_v2
22

3+
### v0.102.0 (2025-11-09)
4+
5+
* Regenerated from discovery document revision 20251031
6+
37
### v0.101.0 (2025-11-02)
48

59
* Regenerated from discovery document revision 20251024

generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,37 @@ def update!(**args)
279279
end
280280
end
281281

282+
# Cloud Storage source.
283+
class GoogleCloudRunV2CloudStorageSource
284+
include Google::Apis::Core::Hashable
285+
286+
# Required. The Cloud Storage bucket name.
287+
# Corresponds to the JSON property `bucket`
288+
# @return [String]
289+
attr_accessor :bucket
290+
291+
# Optional. The Cloud Storage object generation.
292+
# Corresponds to the JSON property `generation`
293+
# @return [Fixnum]
294+
attr_accessor :generation
295+
296+
# Required. The Cloud Storage object name.
297+
# Corresponds to the JSON property `object`
298+
# @return [String]
299+
attr_accessor :object
300+
301+
def initialize(**args)
302+
update!(**args)
303+
end
304+
305+
# Update properties of this object
306+
def update!(**args)
307+
@bucket = args[:bucket] if args.key?(:bucket)
308+
@generation = args[:generation] if args.key?(:generation)
309+
@object = args[:object] if args.key?(:object)
310+
end
311+
end
312+
282313
# Defines a status condition for a resource.
283314
class GoogleCloudRunV2Condition
284315
include Google::Apis::Core::Hashable
@@ -414,6 +445,11 @@ class GoogleCloudRunV2Container
414445
# @return [Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements]
415446
attr_accessor :resources
416447

448+
# Source type for the container.
449+
# Corresponds to the JSON property `sourceCode`
450+
# @return [Google::Apis::RunV2::GoogleCloudRunV2SourceCode]
451+
attr_accessor :source_code
452+
417453
# Probe describes a health check to be performed against a container to
418454
# determine whether it is alive or ready to receive traffic.
419455
# Corresponds to the JSON property `startupProbe`
@@ -448,6 +484,7 @@ def update!(**args)
448484
@name = args[:name] if args.key?(:name)
449485
@ports = args[:ports] if args.key?(:ports)
450486
@resources = args[:resources] if args.key?(:resources)
487+
@source_code = args[:source_code] if args.key?(:source_code)
451488
@startup_probe = args[:startup_probe] if args.key?(:startup_probe)
452489
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
453490
@working_dir = args[:working_dir] if args.key?(:working_dir)
@@ -2857,6 +2894,25 @@ def update!(**args)
28572894
end
28582895
end
28592896

2897+
# Source type for the container.
2898+
class GoogleCloudRunV2SourceCode
2899+
include Google::Apis::Core::Hashable
2900+
2901+
# Cloud Storage source.
2902+
# Corresponds to the JSON property `cloudStorageSource`
2903+
# @return [Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource]
2904+
attr_accessor :cloud_storage_source
2905+
2906+
def initialize(**args)
2907+
update!(**args)
2908+
end
2909+
2910+
# Update properties of this object
2911+
def update!(**args)
2912+
@cloud_storage_source = args[:cloud_storage_source] if args.key?(:cloud_storage_source)
2913+
end
2914+
end
2915+
28602916
# Location of the source in an archive file in Google Cloud Storage.
28612917
class GoogleCloudRunV2StorageSource
28622918
include Google::Apis::Core::Hashable
@@ -4833,6 +4889,11 @@ def update!(**args)
48334889
class GoogleDevtoolsCloudbuildV1BuiltImage
48344890
include Google::Apis::Core::Hashable
48354891

4892+
# Output only. Path to the artifact in Artifact Registry.
4893+
# Corresponds to the JSON property `artifactRegistryPackage`
4894+
# @return [String]
4895+
attr_accessor :artifact_registry_package
4896+
48364897
# Docker Registry 2.0 digest.
48374898
# Corresponds to the JSON property `digest`
48384899
# @return [String]
@@ -4855,6 +4916,7 @@ def initialize(**args)
48554916

48564917
# Update properties of this object
48574918
def update!(**args)
4919+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
48584920
@digest = args[:digest] if args.key?(:digest)
48594921
@name = args[:name] if args.key?(:name)
48604922
@push_timing = args[:push_timing] if args.key?(:push_timing)
@@ -5848,6 +5910,11 @@ def update!(**args)
58485910
class GoogleDevtoolsCloudbuildV1UploadedGoModule
58495911
include Google::Apis::Core::Hashable
58505912

5913+
# Output only. Path to the artifact in Artifact Registry.
5914+
# Corresponds to the JSON property `artifactRegistryPackage`
5915+
# @return [String]
5916+
attr_accessor :artifact_registry_package
5917+
58515918
# Container message for hashes of byte content of files, used in
58525919
# SourceProvenance messages to verify integrity of source input to the build.
58535920
# Corresponds to the JSON property `fileHashes`
@@ -5870,6 +5937,7 @@ def initialize(**args)
58705937

58715938
# Update properties of this object
58725939
def update!(**args)
5940+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
58735941
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
58745942
@push_timing = args[:push_timing] if args.key?(:push_timing)
58755943
@uri = args[:uri] if args.key?(:uri)
@@ -5880,6 +5948,11 @@ def update!(**args)
58805948
class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact
58815949
include Google::Apis::Core::Hashable
58825950

5951+
# Output only. Path to the artifact in Artifact Registry.
5952+
# Corresponds to the JSON property `artifactRegistryPackage`
5953+
# @return [String]
5954+
attr_accessor :artifact_registry_package
5955+
58835956
# Container message for hashes of byte content of files, used in
58845957
# SourceProvenance messages to verify integrity of source input to the build.
58855958
# Corresponds to the JSON property `fileHashes`
@@ -5902,6 +5975,7 @@ def initialize(**args)
59025975

59035976
# Update properties of this object
59045977
def update!(**args)
5978+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
59055979
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
59065980
@push_timing = args[:push_timing] if args.key?(:push_timing)
59075981
@uri = args[:uri] if args.key?(:uri)
@@ -5912,6 +5986,11 @@ def update!(**args)
59125986
class GoogleDevtoolsCloudbuildV1UploadedNpmPackage
59135987
include Google::Apis::Core::Hashable
59145988

5989+
# Output only. Path to the artifact in Artifact Registry.
5990+
# Corresponds to the JSON property `artifactRegistryPackage`
5991+
# @return [String]
5992+
attr_accessor :artifact_registry_package
5993+
59155994
# Container message for hashes of byte content of files, used in
59165995
# SourceProvenance messages to verify integrity of source input to the build.
59175996
# Corresponds to the JSON property `fileHashes`
@@ -5934,6 +6013,7 @@ def initialize(**args)
59346013

59356014
# Update properties of this object
59366015
def update!(**args)
6016+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
59376017
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
59386018
@push_timing = args[:push_timing] if args.key?(:push_timing)
59396019
@uri = args[:uri] if args.key?(:uri)
@@ -5944,6 +6024,11 @@ def update!(**args)
59446024
class GoogleDevtoolsCloudbuildV1UploadedPythonPackage
59456025
include Google::Apis::Core::Hashable
59466026

6027+
# Output only. Path to the artifact in Artifact Registry.
6028+
# Corresponds to the JSON property `artifactRegistryPackage`
6029+
# @return [String]
6030+
attr_accessor :artifact_registry_package
6031+
59476032
# Container message for hashes of byte content of files, used in
59486033
# SourceProvenance messages to verify integrity of source input to the build.
59496034
# Corresponds to the JSON property `fileHashes`
@@ -5966,6 +6051,7 @@ def initialize(**args)
59666051

59676052
# Update properties of this object
59686053
def update!(**args)
6054+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
59696055
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
59706056
@push_timing = args[:push_timing] if args.key?(:push_timing)
59716057
@uri = args[:uri] if args.key?(:uri)

generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RunV2
1818
# Version of the google-apis-run_v2 gem
19-
GEM_VERSION = "0.101.0"
19+
GEM_VERSION = "0.102.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251024"
25+
REVISION = "20251031"
2626
end
2727
end
2828
end

generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
5858
include Google::Apis::Core::JsonObjectSupport
5959
end
6060

61+
class GoogleCloudRunV2CloudStorageSource
62+
class Representation < Google::Apis::Core::JsonRepresentation; end
63+
64+
include Google::Apis::Core::JsonObjectSupport
65+
end
66+
6167
class GoogleCloudRunV2Condition
6268
class Representation < Google::Apis::Core::JsonRepresentation; end
6369

@@ -334,6 +340,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
334340
include Google::Apis::Core::JsonObjectSupport
335341
end
336342

343+
class GoogleCloudRunV2SourceCode
344+
class Representation < Google::Apis::Core::JsonRepresentation; end
345+
346+
include Google::Apis::Core::JsonObjectSupport
347+
end
348+
337349
class GoogleCloudRunV2StorageSource
338350
class Representation < Google::Apis::Core::JsonRepresentation; end
339351

@@ -838,6 +850,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
838850
end
839851
end
840852

853+
class GoogleCloudRunV2CloudStorageSource
854+
# @private
855+
class Representation < Google::Apis::Core::JsonRepresentation
856+
property :bucket, as: 'bucket'
857+
property :generation, :numeric_string => true, as: 'generation'
858+
property :object, as: 'object'
859+
end
860+
end
861+
841862
class GoogleCloudRunV2Condition
842863
# @private
843864
class Representation < Google::Apis::Core::JsonRepresentation
@@ -871,6 +892,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
871892

872893
property :resources, as: 'resources', class: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements, decorator: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements::Representation
873894

895+
property :source_code, as: 'sourceCode', class: Google::Apis::RunV2::GoogleCloudRunV2SourceCode, decorator: Google::Apis::RunV2::GoogleCloudRunV2SourceCode::Representation
896+
874897
property :startup_probe, as: 'startupProbe', class: Google::Apis::RunV2::GoogleCloudRunV2Probe, decorator: Google::Apis::RunV2::GoogleCloudRunV2Probe::Representation
875898

876899
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
14351458
end
14361459
end
14371460

1461+
class GoogleCloudRunV2SourceCode
1462+
# @private
1463+
class Representation < Google::Apis::Core::JsonRepresentation
1464+
property :cloud_storage_source, as: 'cloudStorageSource', class: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource::Representation
1465+
1466+
end
1467+
end
1468+
14381469
class GoogleCloudRunV2StorageSource
14391470
# @private
14401471
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1864,6 +1895,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
18641895
class GoogleDevtoolsCloudbuildV1BuiltImage
18651896
# @private
18661897
class Representation < Google::Apis::Core::JsonRepresentation
1898+
property :artifact_registry_package, as: 'artifactRegistryPackage'
18671899
property :digest, as: 'digest'
18681900
property :name, as: 'name'
18691901
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
21482180
class GoogleDevtoolsCloudbuildV1UploadedGoModule
21492181
# @private
21502182
class Representation < Google::Apis::Core::JsonRepresentation
2183+
property :artifact_registry_package, as: 'artifactRegistryPackage'
21512184
property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
21522185

21532186
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
21592192
class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact
21602193
# @private
21612194
class Representation < Google::Apis::Core::JsonRepresentation
2195+
property :artifact_registry_package, as: 'artifactRegistryPackage'
21622196
property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
21632197

21642198
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
21702204
class GoogleDevtoolsCloudbuildV1UploadedNpmPackage
21712205
# @private
21722206
class Representation < Google::Apis::Core::JsonRepresentation
2207+
property :artifact_registry_package, as: 'artifactRegistryPackage'
21732208
property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
21742209

21752210
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
21812216
class GoogleDevtoolsCloudbuildV1UploadedPythonPackage
21822217
# @private
21832218
class Representation < Google::Apis::Core::JsonRepresentation
2219+
property :artifact_registry_package, as: 'artifactRegistryPackage'
21842220
property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
21852221

21862222
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation

0 commit comments

Comments
 (0)