Skip to content

Commit 2b668d2

Browse files
feat: Automated regeneration of run v2 client (googleapis#23909)
Auto-created at 2025-08-10 10:25:23 +0000 using the toys pull request generator.
1 parent e3c2e41 commit 2b668d2

File tree

5 files changed

+29
-15
lines changed

5 files changed

+29
-15
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326235,6 +326235,7 @@
326235326235
"/run:v2/GoogleCloudRunV2SubmitBuildRequest/buildpackBuild": buildpack_build
326236326236
"/run:v2/GoogleCloudRunV2SubmitBuildRequest/dockerBuild": docker_build
326237326237
"/run:v2/GoogleCloudRunV2SubmitBuildRequest/imageUri": image_uri
326238+
"/run:v2/GoogleCloudRunV2SubmitBuildRequest/machineType": machine_type
326238326239
"/run:v2/GoogleCloudRunV2SubmitBuildRequest/serviceAccount": service_account
326239326240
"/run:v2/GoogleCloudRunV2SubmitBuildRequest/storageSource": storage_source
326240326241
"/run:v2/GoogleCloudRunV2SubmitBuildRequest/tags": tags

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.94.0 (2025-08-10)
4+
5+
* Regenerated from discovery document revision 20250801
6+
37
### v0.93.0 (2025-07-27)
48

59
* Regenerated from discovery document revision 20250718

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

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2910,6 +2910,13 @@ class GoogleCloudRunV2SubmitBuildRequest
29102910
# @return [String]
29112911
attr_accessor :image_uri
29122912

2913+
# Optional. The machine type from default pool to use for the build. If left
2914+
# blank, cloudbuild will use a sensible default. Currently only E2_HIGHCPU_8 is
2915+
# supported. If worker_pool is set, this field will be ignored.
2916+
# Corresponds to the JSON property `machineType`
2917+
# @return [String]
2918+
attr_accessor :machine_type
2919+
29132920
# Optional. The service account to use for the build. If not set, the default
29142921
# Cloud Build service account for the project will be used.
29152922
# Corresponds to the JSON property `serviceAccount`
@@ -2944,6 +2951,7 @@ def update!(**args)
29442951
@buildpack_build = args[:buildpack_build] if args.key?(:buildpack_build)
29452952
@docker_build = args[:docker_build] if args.key?(:docker_build)
29462953
@image_uri = args[:image_uri] if args.key?(:image_uri)
2954+
@machine_type = args[:machine_type] if args.key?(:machine_type)
29472955
@service_account = args[:service_account] if args.key?(:service_account)
29482956
@storage_source = args[:storage_source] if args.key?(:storage_source)
29492957
@tags = args[:tags] if args.key?(:tags)
@@ -3752,9 +3760,9 @@ class GoogleCloudRunV2WorkerPool
37523760
# @return [String]
37533761
attr_accessor :latest_created_revision
37543762

3755-
# Output only. Name of the latest revision that is serving traffic. See comments
3756-
# in `reconciling` for additional information on reconciliation process in Cloud
3757-
# Run.
3763+
# Output only. Name of the latest revision that is serving workloads. See
3764+
# comments in `reconciling` for additional information on reconciliation process
3765+
# in Cloud Run.
37583766
# Corresponds to the JSON property `latestReadyRevision`
37593767
# @return [String]
37603768
attr_accessor :latest_ready_revision
@@ -3778,11 +3786,11 @@ class GoogleCloudRunV2WorkerPool
37783786
# @return [String]
37793787
attr_accessor :name
37803788

3781-
# Output only. The generation of this WorkerPool currently serving traffic. See
3782-
# comments in `reconciling` for additional information on reconciliation process
3783-
# in Cloud Run. Please note that unlike v1, this is an int64 value. As with most
3784-
# Google APIs, its JSON representation will be a `string` instead of an `integer`
3785-
# .
3789+
# Output only. The generation of this WorkerPool currently serving workloads.
3790+
# See comments in `reconciling` for additional information on reconciliation
3791+
# process in Cloud Run. Please note that unlike v1, this is an int64 value. As
3792+
# with most Google APIs, its JSON representation will be a `string` instead of
3793+
# an `integer`.
37863794
# Corresponds to the JSON property `observedGeneration`
37873795
# @return [Fixnum]
37883796
attr_accessor :observed_generation
@@ -3792,16 +3800,16 @@ class GoogleCloudRunV2WorkerPool
37923800
# created, or an existing one is updated, Cloud Run will asynchronously perform
37933801
# all necessary steps to bring the WorkerPool to the desired serving state. This
37943802
# process is called reconciliation. While reconciliation is in process, `
3795-
# observed_generation`, `latest_ready_revison`, `traffic_statuses`, and `uri`
3796-
# will have transient values that might mismatch the intended state: Once
3803+
# observed_generation`, `latest_ready_revison`, `instance_split_statuses`, and `
3804+
# uri` will have transient values that might mismatch the intended state: Once
37973805
# reconciliation is over (and this field is false), there are two possible
37983806
# outcomes: reconciliation succeeded and the serving state matches the
37993807
# WorkerPool, or there was an error, and reconciliation failed. This state can
38003808
# be found in `terminal_condition.state`. If reconciliation succeeded, the
3801-
# following fields will match: `traffic` and `traffic_statuses`, `
3809+
# following fields will match: `instance_splits` and `instance_split_statuses`, `
38023810
# observed_generation` and `generation`, `latest_ready_revision` and `
3803-
# latest_created_revision`. If reconciliation failed, `traffic_statuses`, `
3804-
# observed_generation`, and `latest_ready_revision` will have the state of the
3811+
# latest_created_revision`. If reconciliation failed, `instance_split_statuses`,
3812+
# `observed_generation`, and `latest_ready_revision` will have the state of the
38053813
# last serving revision, or empty for newly created WorkerPools. Additional
38063814
# information on the failure can be found in `terminal_condition` and `
38073815
# conditions`.

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.93.0"
19+
GEM_VERSION = "0.94.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 = "20250718"
25+
REVISION = "20250801"
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
@@ -1452,6 +1452,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
14521452
property :docker_build, as: 'dockerBuild', class: Google::Apis::RunV2::GoogleCloudRunV2DockerBuild, decorator: Google::Apis::RunV2::GoogleCloudRunV2DockerBuild::Representation
14531453

14541454
property :image_uri, as: 'imageUri'
1455+
property :machine_type, as: 'machineType'
14551456
property :service_account, as: 'serviceAccount'
14561457
property :storage_source, as: 'storageSource', class: Google::Apis::RunV2::GoogleCloudRunV2StorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2StorageSource::Representation
14571458

0 commit comments

Comments
 (0)