Skip to content

Commit 8683d05

Browse files
feat(run): update the api
#### run:v2 The following keys were added: - schemas.GoogleCloudRunV2WorkerPool.properties.customAudiences.deprecated (Total Keys: 1)
1 parent 52c11a4 commit 8683d05

7 files changed

Lines changed: 33 additions & 30 deletions

docs/dyn/run_v1.projects.locations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ <h2>Instance Methods</h2>
129129
<p class="firstline">Close httplib2 connections.</p>
130130
<p class="toc_element">
131131
<code><a href="#list">list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
132-
<p class="firstline">Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.</p>
132+
<p class="firstline">Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.</p>
133133
<p class="toc_element">
134134
<code><a href="#list_next">list_next()</a></code></p>
135135
<p class="firstline">Retrieves the next page of results.</p>
@@ -141,7 +141,7 @@ <h3>Method Details</h3>
141141

142142
<div class="method">
143143
<code class="details" id="list">list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
144-
<pre>Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.
144+
<pre>Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
145145

146146
Args:
147147
name: string, The resource that owns the locations collection, if applicable. (required)

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ <h3>Method Details</h3>
355355
},
356356
&quot;revision&quot;: &quot;A String&quot;, # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
357357
&quot;scaling&quot;: { # Settings for revision-level scaling settings. # Optional. Scaling settings for this Revision.
358-
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling.
359-
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling.
358+
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
359+
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
360360
&quot;maxInstanceCount&quot;: 42, # Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances
361361
&quot;minInstanceCount&quot;: 42, # Optional. Minimum number of serving instances that this resource should have.
362362
},
@@ -766,8 +766,8 @@ <h3>Method Details</h3>
766766
},
767767
&quot;revision&quot;: &quot;A String&quot;, # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
768768
&quot;scaling&quot;: { # Settings for revision-level scaling settings. # Optional. Scaling settings for this Revision.
769-
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling.
770-
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling.
769+
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
770+
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
771771
&quot;maxInstanceCount&quot;: 42, # Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances
772772
&quot;minInstanceCount&quot;: 42, # Optional. Minimum number of serving instances that this resource should have.
773773
},
@@ -1164,8 +1164,8 @@ <h3>Method Details</h3>
11641164
},
11651165
&quot;revision&quot;: &quot;A String&quot;, # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
11661166
&quot;scaling&quot;: { # Settings for revision-level scaling settings. # Optional. Scaling settings for this Revision.
1167-
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling.
1168-
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling.
1167+
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
1168+
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
11691169
&quot;maxInstanceCount&quot;: 42, # Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances
11701170
&quot;minInstanceCount&quot;: 42, # Optional. Minimum number of serving instances that this resource should have.
11711171
},
@@ -1522,8 +1522,8 @@ <h3>Method Details</h3>
15221522
},
15231523
&quot;revision&quot;: &quot;A String&quot;, # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.
15241524
&quot;scaling&quot;: { # Settings for revision-level scaling settings. # Optional. Scaling settings for this Revision.
1525-
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling.
1526-
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling.
1525+
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
1526+
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
15271527
&quot;maxInstanceCount&quot;: 42, # Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances
15281528
&quot;minInstanceCount&quot;: 42, # Optional. Minimum number of serving instances that this resource should have.
15291529
},

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ <h3>Method Details</h3>
365365
&quot;reconciling&quot;: True or False, # Output only. Indicates whether the resource&#x27;s reconciliation is still in progress. See comments in `Service.reconciling` for additional information on reconciliation process in Cloud Run.
366366
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
367367
&quot;scaling&quot;: { # Settings for revision-level scaling settings. # Scaling settings for this revision.
368-
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling.
369-
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling.
368+
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
369+
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
370370
&quot;maxInstanceCount&quot;: 42, # Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances
371371
&quot;minInstanceCount&quot;: 42, # Optional. Minimum number of serving instances that this resource should have.
372372
},
@@ -635,8 +635,8 @@ <h3>Method Details</h3>
635635
&quot;reconciling&quot;: True or False, # Output only. Indicates whether the resource&#x27;s reconciliation is still in progress. See comments in `Service.reconciling` for additional information on reconciliation process in Cloud Run.
636636
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
637637
&quot;scaling&quot;: { # Settings for revision-level scaling settings. # Scaling settings for this revision.
638-
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling.
639-
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling.
638+
&quot;concurrencyUtilization&quot;: 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
639+
&quot;cpuUtilization&quot;: 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
640640
&quot;maxInstanceCount&quot;: 42, # Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances
641641
&quot;minInstanceCount&quot;: 42, # Optional. Minimum number of serving instances that this resource should have.
642642
},

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ <h3>Method Details</h3>
149149
],
150150
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
151151
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of the authenticated creator.
152-
&quot;customAudiences&quot;: [ # Not supported, and ignored by Cloud Run.
152+
&quot;customAudiences&quot;: [ # Deprecated: Not supported, and ignored by Cloud Run.
153153
&quot;A String&quot;,
154154
],
155155
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time. It is only populated as a response to a Delete request.
@@ -516,7 +516,7 @@ <h3>Method Details</h3>
516516
],
517517
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
518518
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of the authenticated creator.
519-
&quot;customAudiences&quot;: [ # Not supported, and ignored by Cloud Run.
519+
&quot;customAudiences&quot;: [ # Deprecated: Not supported, and ignored by Cloud Run.
520520
&quot;A String&quot;,
521521
],
522522
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time. It is only populated as a response to a Delete request.
@@ -870,7 +870,7 @@ <h3>Method Details</h3>
870870
],
871871
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
872872
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of the authenticated creator.
873-
&quot;customAudiences&quot;: [ # Not supported, and ignored by Cloud Run.
873+
&quot;customAudiences&quot;: [ # Deprecated: Not supported, and ignored by Cloud Run.
874874
&quot;A String&quot;,
875875
],
876876
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time. It is only populated as a response to a Delete request.
@@ -1181,7 +1181,7 @@ <h3>Method Details</h3>
11811181
],
11821182
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
11831183
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of the authenticated creator.
1184-
&quot;customAudiences&quot;: [ # Not supported, and ignored by Cloud Run.
1184+
&quot;customAudiences&quot;: [ # Deprecated: Not supported, and ignored by Cloud Run.
11851185
&quot;A String&quot;,
11861186
],
11871187
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time. It is only populated as a response to a Delete request.

0 commit comments

Comments
 (0)