@@ -2910,6 +2910,13 @@ class GoogleCloudRunV2SubmitBuildRequest
2910
2910
# @return [String]
2911
2911
attr_accessor :image_uri
2912
2912
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
+
2913
2920
# Optional. The service account to use for the build. If not set, the default
2914
2921
# Cloud Build service account for the project will be used.
2915
2922
# Corresponds to the JSON property `serviceAccount`
@@ -2944,6 +2951,7 @@ def update!(**args)
2944
2951
@buildpack_build = args [ :buildpack_build ] if args . key? ( :buildpack_build )
2945
2952
@docker_build = args [ :docker_build ] if args . key? ( :docker_build )
2946
2953
@image_uri = args [ :image_uri ] if args . key? ( :image_uri )
2954
+ @machine_type = args [ :machine_type ] if args . key? ( :machine_type )
2947
2955
@service_account = args [ :service_account ] if args . key? ( :service_account )
2948
2956
@storage_source = args [ :storage_source ] if args . key? ( :storage_source )
2949
2957
@tags = args [ :tags ] if args . key? ( :tags )
@@ -3752,9 +3760,9 @@ class GoogleCloudRunV2WorkerPool
3752
3760
# @return [String]
3753
3761
attr_accessor :latest_created_revision
3754
3762
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.
3758
3766
# Corresponds to the JSON property `latestReadyRevision`
3759
3767
# @return [String]
3760
3768
attr_accessor :latest_ready_revision
@@ -3778,11 +3786,11 @@ class GoogleCloudRunV2WorkerPool
3778
3786
# @return [String]
3779
3787
attr_accessor :name
3780
3788
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` .
3786
3794
# Corresponds to the JSON property `observedGeneration`
3787
3795
# @return [Fixnum]
3788
3796
attr_accessor :observed_generation
@@ -3792,16 +3800,16 @@ class GoogleCloudRunV2WorkerPool
3792
3800
# created, or an existing one is updated, Cloud Run will asynchronously perform
3793
3801
# all necessary steps to bring the WorkerPool to the desired serving state. This
3794
3802
# 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
3797
3805
# reconciliation is over (and this field is false), there are two possible
3798
3806
# outcomes: reconciliation succeeded and the serving state matches the
3799
3807
# WorkerPool, or there was an error, and reconciliation failed. This state can
3800
3808
# 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 `, `
3802
3810
# 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
3805
3813
# last serving revision, or empty for newly created WorkerPools. Additional
3806
3814
# information on the failure can be found in `terminal_condition` and `
3807
3815
# conditions`.
0 commit comments