Skip to content

Commit c45599e

Browse files
feat(run): update the api
#### run:v2 The following keys were added: - schemas.GoogleCloudRunV2MultiRegionSettings (Total Keys: 5) - schemas.GoogleCloudRunV2Service.properties.multiRegionSettings.$ref (Total Keys: 1)
1 parent e69debd commit c45599e

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

docs/dyn/run_v2.projects.locations.services.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,12 @@ <h3>Method Details</h3>
181181
&quot;latestCreatedRevision&quot;: &quot;A String&quot;, # Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
182182
&quot;latestReadyRevision&quot;: &quot;A String&quot;, # Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
183183
&quot;launchStage&quot;: &quot;A String&quot;, # Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
184+
&quot;multiRegionSettings&quot;: { # Settings for multi-region deployment. # Optional. Settings for multi-region deployment.
185+
&quot;multiRegionId&quot;: &quot;A String&quot;, # Optional. System-generated unique id for the multi-region Service.
186+
&quot;regions&quot;: [ # Required. List of regions to deploy to, including primary region.
187+
&quot;A String&quot;,
188+
],
189+
},
184190
&quot;name&quot;: &quot;A String&quot;, # The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
185191
&quot;observedGeneration&quot;: &quot;A String&quot;, # Output only. The generation of this Service currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
186192
&quot;reconciling&quot;: True or False, # Output only. Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation`, `latest_ready_revision`, `traffic_statuses`, and `uri` will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed, `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in `terminal_condition` and `conditions`.
@@ -543,6 +549,12 @@ <h3>Method Details</h3>
543549
&quot;latestCreatedRevision&quot;: &quot;A String&quot;, # Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
544550
&quot;latestReadyRevision&quot;: &quot;A String&quot;, # Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
545551
&quot;launchStage&quot;: &quot;A String&quot;, # Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
552+
&quot;multiRegionSettings&quot;: { # Settings for multi-region deployment. # Optional. Settings for multi-region deployment.
553+
&quot;multiRegionId&quot;: &quot;A String&quot;, # Optional. System-generated unique id for the multi-region Service.
554+
&quot;regions&quot;: [ # Required. List of regions to deploy to, including primary region.
555+
&quot;A String&quot;,
556+
],
557+
},
546558
&quot;name&quot;: &quot;A String&quot;, # The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
547559
&quot;observedGeneration&quot;: &quot;A String&quot;, # Output only. The generation of this Service currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
548560
&quot;reconciling&quot;: True or False, # Output only. Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation`, `latest_ready_revision`, `traffic_statuses`, and `uri` will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed, `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in `terminal_condition` and `conditions`.
@@ -892,6 +904,12 @@ <h3>Method Details</h3>
892904
&quot;latestCreatedRevision&quot;: &quot;A String&quot;, # Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
893905
&quot;latestReadyRevision&quot;: &quot;A String&quot;, # Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
894906
&quot;launchStage&quot;: &quot;A String&quot;, # Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
907+
&quot;multiRegionSettings&quot;: { # Settings for multi-region deployment. # Optional. Settings for multi-region deployment.
908+
&quot;multiRegionId&quot;: &quot;A String&quot;, # Optional. System-generated unique id for the multi-region Service.
909+
&quot;regions&quot;: [ # Required. List of regions to deploy to, including primary region.
910+
&quot;A String&quot;,
911+
],
912+
},
895913
&quot;name&quot;: &quot;A String&quot;, # The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
896914
&quot;observedGeneration&quot;: &quot;A String&quot;, # Output only. The generation of this Service currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
897915
&quot;reconciling&quot;: True or False, # Output only. Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation`, `latest_ready_revision`, `traffic_statuses`, and `uri` will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed, `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in `terminal_condition` and `conditions`.
@@ -1198,6 +1216,12 @@ <h3>Method Details</h3>
11981216
&quot;latestCreatedRevision&quot;: &quot;A String&quot;, # Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
11991217
&quot;latestReadyRevision&quot;: &quot;A String&quot;, # Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
12001218
&quot;launchStage&quot;: &quot;A String&quot;, # Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
1219+
&quot;multiRegionSettings&quot;: { # Settings for multi-region deployment. # Optional. Settings for multi-region deployment.
1220+
&quot;multiRegionId&quot;: &quot;A String&quot;, # Optional. System-generated unique id for the multi-region Service.
1221+
&quot;regions&quot;: [ # Required. List of regions to deploy to, including primary region.
1222+
&quot;A String&quot;,
1223+
],
1224+
},
12011225
&quot;name&quot;: &quot;A String&quot;, # The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
12021226
&quot;observedGeneration&quot;: &quot;A String&quot;, # Output only. The generation of this Service currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
12031227
&quot;reconciling&quot;: True or False, # Output only. Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation`, `latest_ready_revision`, `traffic_statuses`, and `uri` will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed, `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in `terminal_condition` and `conditions`.

googleapiclient/discovery_cache/documents/run.v2.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1922,7 +1922,7 @@
19221922
}
19231923
}
19241924
},
1925-
"revision": "20250606",
1925+
"revision": "20250620",
19261926
"rootUrl": "https://run.googleapis.com/",
19271927
"schemas": {
19281928
"GoogleCloudRunV2BinaryAuthorization": {
@@ -3191,6 +3191,24 @@
31913191
},
31923192
"type": "object"
31933193
},
3194+
"GoogleCloudRunV2MultiRegionSettings": {
3195+
"description": "Settings for multi-region deployment.",
3196+
"id": "GoogleCloudRunV2MultiRegionSettings",
3197+
"properties": {
3198+
"multiRegionId": {
3199+
"description": "Optional. System-generated unique id for the multi-region Service.",
3200+
"type": "string"
3201+
},
3202+
"regions": {
3203+
"description": "Required. List of regions to deploy to, including primary region.",
3204+
"items": {
3205+
"type": "string"
3206+
},
3207+
"type": "array"
3208+
}
3209+
},
3210+
"type": "object"
3211+
},
31943212
"GoogleCloudRunV2NFSVolumeSource": {
31953213
"description": "Represents an NFS mount.",
31963214
"id": "GoogleCloudRunV2NFSVolumeSource",
@@ -3914,6 +3932,10 @@
39143932
],
39153933
"type": "string"
39163934
},
3935+
"multiRegionSettings": {
3936+
"$ref": "GoogleCloudRunV2MultiRegionSettings",
3937+
"description": "Optional. Settings for multi-region deployment."
3938+
},
39173939
"name": {
39183940
"description": "The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}",
39193941
"type": "string"

0 commit comments

Comments
 (0)