Skip to content

Commit 1dac493

Browse files
feat: Automated regeneration of run v2 client (#23582)
Auto-created at 2025-06-29 10:38:41 +0000 using the toys pull request generator.
1 parent ba1b4e6 commit 1dac493

File tree

5 files changed

+58
-2
lines changed

5 files changed

+58
-2
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322439,6 +322439,10 @@
322439322439
"/run:v2/GoogleCloudRunV2ListWorkerPoolsResponse/workerPools/worker_pool": worker_pool
322440322440
"/run:v2/GoogleCloudRunV2Metadata": google_cloud_run_v2_metadata
322441322441
"/run:v2/GoogleCloudRunV2Metadata/metadata": metadata
322442+
"/run:v2/GoogleCloudRunV2MultiRegionSettings": google_cloud_run_v2_multi_region_settings
322443+
"/run:v2/GoogleCloudRunV2MultiRegionSettings/multiRegionId": multi_region_id
322444+
"/run:v2/GoogleCloudRunV2MultiRegionSettings/regions": regions
322445+
"/run:v2/GoogleCloudRunV2MultiRegionSettings/regions/region": region
322442322446
"/run:v2/GoogleCloudRunV2NFSVolumeSource": google_cloud_run_v2_nfs_volume_source
322443322447
"/run:v2/GoogleCloudRunV2NFSVolumeSource/path": path
322444322448
"/run:v2/GoogleCloudRunV2NFSVolumeSource/readOnly": read_only
@@ -322581,6 +322585,7 @@
322581322585
"/run:v2/GoogleCloudRunV2Service/latestCreatedRevision": latest_created_revision
322582322586
"/run:v2/GoogleCloudRunV2Service/latestReadyRevision": latest_ready_revision
322583322587
"/run:v2/GoogleCloudRunV2Service/launchStage": launch_stage
322588+
"/run:v2/GoogleCloudRunV2Service/multiRegionSettings": multi_region_settings
322584322589
"/run:v2/GoogleCloudRunV2Service/name": name
322585322590
"/run:v2/GoogleCloudRunV2Service/observedGeneration": observed_generation
322586322591
"/run:v2/GoogleCloudRunV2Service/reconciling": reconciling

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.90.0 (2025-06-29)
4+
5+
* Regenerated from discovery document revision 20250620
6+
37
### v0.89.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250606

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,6 +1643,31 @@ def update!(**args)
16431643
end
16441644
end
16451645

1646+
# Settings for multi-region deployment.
1647+
class GoogleCloudRunV2MultiRegionSettings
1648+
include Google::Apis::Core::Hashable
1649+
1650+
# Optional. System-generated unique id for the multi-region Service.
1651+
# Corresponds to the JSON property `multiRegionId`
1652+
# @return [String]
1653+
attr_accessor :multi_region_id
1654+
1655+
# Required. List of regions to deploy to, including primary region.
1656+
# Corresponds to the JSON property `regions`
1657+
# @return [Array<String>]
1658+
attr_accessor :regions
1659+
1660+
def initialize(**args)
1661+
update!(**args)
1662+
end
1663+
1664+
# Update properties of this object
1665+
def update!(**args)
1666+
@multi_region_id = args[:multi_region_id] if args.key?(:multi_region_id)
1667+
@regions = args[:regions] if args.key?(:regions)
1668+
end
1669+
end
1670+
16461671
# Represents an NFS mount.
16471672
class GoogleCloudRunV2NfsVolumeSource
16481673
include Google::Apis::Core::Hashable
@@ -2610,6 +2635,11 @@ class GoogleCloudRunV2Service
26102635
# @return [String]
26112636
attr_accessor :launch_stage
26122637

2638+
# Settings for multi-region deployment.
2639+
# Corresponds to the JSON property `multiRegionSettings`
2640+
# @return [Google::Apis::RunV2::GoogleCloudRunV2MultiRegionSettings]
2641+
attr_accessor :multi_region_settings
2642+
26132643
# The fully qualified name of this Service. In CreateServiceRequest, this field
26142644
# is ignored, and instead composed from CreateServiceRequest.parent and
26152645
# CreateServiceRequest.service_id. Format: projects/`project`/locations/`
@@ -2743,6 +2773,7 @@ def update!(**args)
27432773
@latest_created_revision = args[:latest_created_revision] if args.key?(:latest_created_revision)
27442774
@latest_ready_revision = args[:latest_ready_revision] if args.key?(:latest_ready_revision)
27452775
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2776+
@multi_region_settings = args[:multi_region_settings] if args.key?(:multi_region_settings)
27462777
@name = args[:name] if args.key?(:name)
27472778
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
27482779
@reconciling = args[:reconciling] if args.key?(:reconciling)

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.89.0"
19+
GEM_VERSION = "0.90.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 = "20250606"
25+
REVISION = "20250620"
2626
end
2727
end
2828
end

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
232232
include Google::Apis::Core::JsonObjectSupport
233233
end
234234

235+
class GoogleCloudRunV2MultiRegionSettings
236+
class Representation < Google::Apis::Core::JsonRepresentation; end
237+
238+
include Google::Apis::Core::JsonObjectSupport
239+
end
240+
235241
class GoogleCloudRunV2NfsVolumeSource
236242
class Representation < Google::Apis::Core::JsonRepresentation; end
237243

@@ -1169,6 +1175,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
11691175
end
11701176
end
11711177

1178+
class GoogleCloudRunV2MultiRegionSettings
1179+
# @private
1180+
class Representation < Google::Apis::Core::JsonRepresentation
1181+
property :multi_region_id, as: 'multiRegionId'
1182+
collection :regions, as: 'regions'
1183+
end
1184+
end
1185+
11721186
class GoogleCloudRunV2NfsVolumeSource
11731187
# @private
11741188
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1380,6 +1394,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
13801394
property :latest_created_revision, as: 'latestCreatedRevision'
13811395
property :latest_ready_revision, as: 'latestReadyRevision'
13821396
property :launch_stage, as: 'launchStage'
1397+
property :multi_region_settings, as: 'multiRegionSettings', class: Google::Apis::RunV2::GoogleCloudRunV2MultiRegionSettings, decorator: Google::Apis::RunV2::GoogleCloudRunV2MultiRegionSettings::Representation
1398+
13831399
property :name, as: 'name'
13841400
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
13851401
property :reconciling, as: 'reconciling'

0 commit comments

Comments
 (0)