Skip to content

Commit 024a0ec

Browse files
feat(run): update the api
#### run:v2 The following keys were added: - schemas.GoogleCloudRunV2ServiceScaling.properties.manualInstanceCount (Total Keys: 2)
1 parent 8f7e7cd commit 024a0ec

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ <h3>Method Details</h3>
172172
&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_revison`, `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`.
173173
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
174174
&quot;scaling&quot;: { # Scaling settings applied at the service level rather than at the revision level. # Optional. Specifies service-level scaling settings
175+
&quot;manualInstanceCount&quot;: 42, # Optional. total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
175176
&quot;minInstanceCount&quot;: 42, # Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
176177
&quot;scalingMode&quot;: &quot;A String&quot;, # Optional. The scaling mode for the service.
177178
},
@@ -511,6 +512,7 @@ <h3>Method Details</h3>
511512
&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_revison`, `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`.
512513
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
513514
&quot;scaling&quot;: { # Scaling settings applied at the service level rather than at the revision level. # Optional. Specifies service-level scaling settings
515+
&quot;manualInstanceCount&quot;: 42, # Optional. total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
514516
&quot;minInstanceCount&quot;: 42, # Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
515517
&quot;scalingMode&quot;: &quot;A String&quot;, # Optional. The scaling mode for the service.
516518
},
@@ -837,6 +839,7 @@ <h3>Method Details</h3>
837839
&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_revison`, `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`.
838840
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
839841
&quot;scaling&quot;: { # Scaling settings applied at the service level rather than at the revision level. # Optional. Specifies service-level scaling settings
842+
&quot;manualInstanceCount&quot;: 42, # Optional. total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
840843
&quot;minInstanceCount&quot;: 42, # Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
841844
&quot;scalingMode&quot;: &quot;A String&quot;, # Optional. The scaling mode for the service.
842845
},
@@ -1120,6 +1123,7 @@ <h3>Method Details</h3>
11201123
&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_revison`, `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`.
11211124
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
11221125
&quot;scaling&quot;: { # Scaling settings applied at the service level rather than at the revision level. # Optional. Specifies service-level scaling settings
1126+
&quot;manualInstanceCount&quot;: 42, # Optional. total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
11231127
&quot;minInstanceCount&quot;: 42, # Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
11241128
&quot;scalingMode&quot;: &quot;A String&quot;, # Optional. The scaling mode for the service.
11251129
},

googleapiclient/discovery_cache/documents/run.v2.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@
15261526
}
15271527
}
15281528
},
1529-
"revision": "20241115",
1529+
"revision": "20241206",
15301530
"rootUrl": "https://run.googleapis.com/",
15311531
"schemas": {
15321532
"GoogleCloudRunV2BinaryAuthorization": {
@@ -3428,6 +3428,11 @@
34283428
"description": "Scaling settings applied at the service level rather than at the revision level.",
34293429
"id": "GoogleCloudRunV2ServiceScaling",
34303430
"properties": {
3431+
"manualInstanceCount": {
3432+
"description": "Optional. total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.",
3433+
"format": "int32",
3434+
"type": "integer"
3435+
},
34313436
"minInstanceCount": {
34323437
"description": "Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.",
34333438
"format": "int32",

0 commit comments

Comments
 (0)