You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2SubmitBuildRequest.java
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,15 @@ public final class GoogleCloudRunV2SubmitBuildRequest extends com.google.api.cli
50
50
@com.google.api.client.util.Key
51
51
privatejava.lang.StringimageUri;
52
52
53
+
/**
54
+
* Optional. The machine type from default pool to use for the build. If left blank, cloudbuild
55
+
* will use a sensible default. Currently only E2_HIGHCPU_8 is supported. If worker_pool is set,
56
+
* this field will be ignored.
57
+
* The value may be {@code null}.
58
+
*/
59
+
@com.google.api.client.util.Key
60
+
privatejava.lang.StringmachineType;
61
+
53
62
/**
54
63
* Optional. The service account to use for the build. If not set, the default Cloud Build service
55
64
* account for the project will be used.
@@ -133,6 +142,27 @@ public GoogleCloudRunV2SubmitBuildRequest setImageUri(java.lang.String imageUri)
133
142
returnthis;
134
143
}
135
144
145
+
/**
146
+
* Optional. The machine type from default pool to use for the build. If left blank, cloudbuild
147
+
* will use a sensible default. Currently only E2_HIGHCPU_8 is supported. If worker_pool is set,
148
+
* this field will be ignored.
149
+
* @return value or {@code null} for none
150
+
*/
151
+
publicjava.lang.StringgetMachineType() {
152
+
returnmachineType;
153
+
}
154
+
155
+
/**
156
+
* Optional. The machine type from default pool to use for the build. If left blank, cloudbuild
157
+
* will use a sensible default. Currently only E2_HIGHCPU_8 is supported. If worker_pool is set,
158
+
* this field will be ignored.
159
+
* @param machineType machineType or {@code null} for none
Copy file name to clipboardExpand all lines: clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2WorkerPool.java
+39-39Lines changed: 39 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -201,8 +201,8 @@ public final class GoogleCloudRunV2WorkerPool extends com.google.api.client.json
201
201
privatejava.lang.StringlatestCreatedRevision;
202
202
203
203
/**
204
-
* Output only. Name of the latest revision that is serving traffic. See comments in `reconciling`
205
-
* for additional information on reconciliation process in Cloud Run.
204
+
* Output only. Name of the latest revision that is serving workloads. See comments in
205
+
* `reconciling` for additional information on reconciliation process in Cloud Run.
206
206
* The value may be {@code null}.
207
207
*/
208
208
@com.google.api.client.util.Key
@@ -230,7 +230,7 @@ public final class GoogleCloudRunV2WorkerPool extends com.google.api.client.json
230
230
privatejava.lang.Stringname;
231
231
232
232
/**
233
-
* Output only. The generation of this WorkerPool currently serving traffic. See comments in
233
+
* Output only. The generation of this WorkerPool currently serving workloads. See comments in
234
234
* `reconciling` for additional information on reconciliation process in Cloud Run. Please note
235
235
* that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will
236
236
* be a `string` instead of an `integer`.
@@ -244,16 +244,16 @@ public final class GoogleCloudRunV2WorkerPool extends com.google.api.client.json
244
244
* bring it into the desired state. When a new WorkerPool is created, or an existing one is
245
245
* updated, Cloud Run will asynchronously perform all necessary steps to bring the WorkerPool to
246
246
* the desired serving state. This process is called reconciliation. While reconciliation is in
247
-
* process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`, and `uri` will have
248
-
* transient values that might mismatch the intended state: Once reconciliation is over (and this
249
-
* field is false), there are two possible outcomes: reconciliation succeeded and the serving
250
-
* state matches the WorkerPool, or there was an error, and reconciliation failed. This state can
251
-
* be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will
252
-
* match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`,
253
-
* `latest_ready_revision` and `latest_created_revision`. If reconciliation failed,
254
-
* `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of
255
-
* the last serving revision, or empty for newly created WorkerPools. Additional information on
256
-
* the failure can be found in `terminal_condition` and `conditions`.
247
+
* process, `observed_generation`, `latest_ready_revison`, `instance_split_statuses`, and `uri`
248
+
* will have transient values that might mismatch the intended state: Once reconciliation is over
249
+
* (and this field is false), there are two possible outcomes: reconciliation succeeded and the
250
+
* serving state matches the WorkerPool, or there was an error, and reconciliation failed. This
251
+
* state can be found in `terminal_condition.state`. If reconciliation succeeded, the following
252
+
* fields will match: `instance_splits` and `instance_split_statuses`, `observed_generation` and
253
+
* `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed,
254
+
* `instance_split_statuses`, `observed_generation`, and `latest_ready_revision` will have the
255
+
* state of the last serving revision, or empty for newly created WorkerPools. Additional
256
+
* information on the failure can be found in `terminal_condition` and `conditions`.
257
257
* The value may be {@code null}.
258
258
*/
259
259
@com.google.api.client.util.Key
@@ -659,17 +659,17 @@ public GoogleCloudRunV2WorkerPool setLatestCreatedRevision(java.lang.String late
659
659
}
660
660
661
661
/**
662
-
* Output only. Name of the latest revision that is serving traffic. See comments in `reconciling`
663
-
* for additional information on reconciliation process in Cloud Run.
662
+
* Output only. Name of the latest revision that is serving workloads. See comments in
663
+
* `reconciling` for additional information on reconciliation process in Cloud Run.
664
664
* @return value or {@code null} for none
665
665
*/
666
666
publicjava.lang.StringgetLatestReadyRevision() {
667
667
returnlatestReadyRevision;
668
668
}
669
669
670
670
/**
671
-
* Output only. Name of the latest revision that is serving traffic. See comments in `reconciling`
672
-
* for additional information on reconciliation process in Cloud Run.
671
+
* Output only. Name of the latest revision that is serving workloads. See comments in
672
+
* `reconciling` for additional information on reconciliation process in Cloud Run.
673
673
* @param latestReadyRevision latestReadyRevision or {@code null} for none
0 commit comments