Skip to content

Commit 084d9bb

Browse files
feat: Automated regeneration of run v2 client (googleapis#23723)
Auto-created at 2025-07-20 10:07:09 +0000 using the toys pull request generator.
1 parent d3b82be commit 084d9bb

File tree

6 files changed

+29
-16
lines changed

6 files changed

+29
-16
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323876,6 +323876,7 @@
323876323876
"/run:v2/GoogleCloudRunV2WorkerPoolRevisionTemplate/encryptionKey": encryption_key
323877323877
"/run:v2/GoogleCloudRunV2WorkerPoolRevisionTemplate/encryptionKeyRevocationAction": encryption_key_revocation_action
323878323878
"/run:v2/GoogleCloudRunV2WorkerPoolRevisionTemplate/encryptionKeyShutdownDuration": encryption_key_shutdown_duration
323879+
"/run:v2/GoogleCloudRunV2WorkerPoolRevisionTemplate/gpuZonalRedundancyDisabled": gpu_zonal_redundancy_disabled
323879323880
"/run:v2/GoogleCloudRunV2WorkerPoolRevisionTemplate/labels": labels
323880323881
"/run:v2/GoogleCloudRunV2WorkerPoolRevisionTemplate/labels/label": label
323881323882
"/run:v2/GoogleCloudRunV2WorkerPoolRevisionTemplate/nodeSelector": node_selector

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.92.0 (2025-07-20)
4+
5+
* Regenerated from discovery document revision 20250712
6+
37
### v0.91.0 (2025-07-13)
48

59
* Regenerated from discovery document revision 20250704

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3772,8 +3772,8 @@ class GoogleCloudRunV2WorkerPool
37723772

37733773
# The fully qualified name of this WorkerPool. In CreateWorkerPoolRequest, this
37743774
# field is ignored, and instead composed from CreateWorkerPoolRequest.parent and
3775-
# CreateWorkerPoolRequest.worker_id. Format: projects/`project`/locations/`
3776-
# location`/workerPools/`worker_id`
3775+
# CreateWorkerPoolRequest.worker_id. Format: `projects/`project`/locations/`
3776+
# location`/workerPools/`worker_id``
37773777
# Corresponds to the JSON property `name`
37783778
# @return [String]
37793779
attr_accessor :name
@@ -3922,6 +3922,12 @@ class GoogleCloudRunV2WorkerPoolRevisionTemplate
39223922
# @return [String]
39233923
attr_accessor :encryption_key_shutdown_duration
39243924

3925+
# Optional. True if GPU zonal redundancy is disabled on this worker pool.
3926+
# Corresponds to the JSON property `gpuZonalRedundancyDisabled`
3927+
# @return [Boolean]
3928+
attr_accessor :gpu_zonal_redundancy_disabled
3929+
alias_method :gpu_zonal_redundancy_disabled?, :gpu_zonal_redundancy_disabled
3930+
39253931
# Optional. Unstructured key value map that can be used to organize and
39263932
# categorize objects. User-provided labels are shared with Google's billing
39273933
# system, so they can be used to filter, or break down billing charges by team,
@@ -3983,6 +3989,7 @@ def update!(**args)
39833989
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
39843990
@encryption_key_revocation_action = args[:encryption_key_revocation_action] if args.key?(:encryption_key_revocation_action)
39853991
@encryption_key_shutdown_duration = args[:encryption_key_shutdown_duration] if args.key?(:encryption_key_shutdown_duration)
3992+
@gpu_zonal_redundancy_disabled = args[:gpu_zonal_redundancy_disabled] if args.key?(:gpu_zonal_redundancy_disabled)
39863993
@labels = args[:labels] if args.key?(:labels)
39873994
@node_selector = args[:node_selector] if args.key?(:node_selector)
39883995
@revision = args[:revision] if args.key?(:revision)

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.91.0"
19+
GEM_VERSION = "0.92.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 = "20250704"
25+
REVISION = "20250712"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,6 +1668,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
16681668
property :encryption_key, as: 'encryptionKey'
16691669
property :encryption_key_revocation_action, as: 'encryptionKeyRevocationAction'
16701670
property :encryption_key_shutdown_duration, as: 'encryptionKeyShutdownDuration'
1671+
property :gpu_zonal_redundancy_disabled, as: 'gpuZonalRedundancyDisabled'
16711672
hash :labels, as: 'labels'
16721673
property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
16731674

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ def list_project_location_service_revisions(parent, page_size: nil, page_token:
14591459
# Creates a new WorkerPool in a given project and location.
14601460
# @param [String] parent
14611461
# Required. The location and project in which this worker pool should be created.
1462-
# Format: projects/`project`/locations/`location`, where `project` can be
1462+
# Format: `projects/`project`/locations/`location``, where ``project`` can be
14631463
# project id or number. Only lowercase characters, digits, and hyphens.
14641464
# @param [Google::Apis::RunV2::GoogleCloudRunV2WorkerPool] google_cloud_run_v2_worker_pool_object
14651465
# @param [Boolean] validate_only
@@ -1468,7 +1468,7 @@ def list_project_location_service_revisions(parent, page_size: nil, page_token:
14681468
# @param [String] worker_pool_id
14691469
# Required. The unique identifier for the WorkerPool. It must begin with letter,
14701470
# and cannot end with hyphen; must contain fewer than 50 characters. The name of
1471-
# the worker pool becomes `parent`/workerPools/`worker_pool_id`.
1471+
# the worker pool becomes ``parent`/workerPools/`worker_pool_id``.
14721472
# @param [String] fields
14731473
# Selector specifying which fields to include in a partial response.
14741474
# @param [String] quota_user
@@ -1502,9 +1502,9 @@ def create_project_location_worker_pool(parent, google_cloud_run_v2_worker_pool_
15021502

15031503
# Deletes a WorkerPool.
15041504
# @param [String] name
1505-
# Required. The full name of the WorkerPool. Format: projects/`project`/
1506-
# locations/`location`/workerPools/`worker_pool`, where `project` can be project
1507-
# id or number.
1505+
# Required. The full name of the WorkerPool. Format: `projects/`project`/
1506+
# locations/`location`/workerPools/`worker_pool``, where ``project`` can be
1507+
# project id or number.
15081508
# @param [String] etag
15091509
# A system-generated fingerprint for this version of the resource. May be used
15101510
# to detect modification conflict during updates.
@@ -1542,9 +1542,9 @@ def delete_project_location_worker_pool(name, etag: nil, validate_only: nil, fie
15421542

15431543
# Gets information about a WorkerPool.
15441544
# @param [String] name
1545-
# Required. The full name of the WorkerPool. Format: projects/`project`/
1546-
# locations/`location`/workerPools/`worker_pool`, where `project` can be project
1547-
# id or number.
1545+
# Required. The full name of the WorkerPool. Format: `projects/`project`/
1546+
# locations/`location`/workerPools/`worker_pool``, where ``project`` can be
1547+
# project id or number.
15481548
# @param [String] fields
15491549
# Selector specifying which fields to include in a partial response.
15501550
# @param [String] quota_user
@@ -1620,8 +1620,8 @@ def get_project_location_worker_pool_iam_policy(resource, options_requested_poli
16201620
# Lists WorkerPools. Results are sorted by creation time, descending.
16211621
# @param [String] parent
16221622
# Required. The location and project to list resources on. Location must be a
1623-
# valid Google Cloud region, and cannot be the "-" wildcard. Format: projects/`
1624-
# project`/locations/`location`, where `project` can be project id or number.
1623+
# valid Google Cloud region, and cannot be the "-" wildcard. Format: `projects/`
1624+
# project`/locations/`location``, where ``project`` can be project id or number.
16251625
# @param [Fixnum] page_size
16261626
# Maximum number of WorkerPools to return in this call.
16271627
# @param [String] page_token
@@ -1663,8 +1663,8 @@ def list_project_location_worker_pools(parent, page_size: nil, page_token: nil,
16631663
# @param [String] name
16641664
# The fully qualified name of this WorkerPool. In CreateWorkerPoolRequest, this
16651665
# field is ignored, and instead composed from CreateWorkerPoolRequest.parent and
1666-
# CreateWorkerPoolRequest.worker_id. Format: projects/`project`/locations/`
1667-
# location`/workerPools/`worker_id`
1666+
# CreateWorkerPoolRequest.worker_id. Format: `projects/`project`/locations/`
1667+
# location`/workerPools/`worker_id``
16681668
# @param [Google::Apis::RunV2::GoogleCloudRunV2WorkerPool] google_cloud_run_v2_worker_pool_object
16691669
# @param [Boolean] allow_missing
16701670
# Optional. If set to true, and if the WorkerPool does not exist, it will create

0 commit comments

Comments
 (0)