Skip to content

Commit 2a30279

Browse files
feat(serviceconsumermanagement): update the api
#### serviceconsumermanagement:v1 The following keys were added: - schemas.ExperimentalFeatures.properties.protobufPythonicTypesEnabled.type (Total Keys: 1) - schemas.GoSettings.properties.renamedServices (Total Keys: 2) #### serviceconsumermanagement:v1beta1 The following keys were added: - schemas.ExperimentalFeatures.properties.protobufPythonicTypesEnabled.type (Total Keys: 1) - schemas.GoSettings.properties.renamedServices (Total Keys: 2) - schemas.V1Beta1ImportProducerQuotaPoliciesRequest.properties.forceSkipQuotaUsageCheck.type (Total Keys: 1)
1 parent a32f543 commit 2a30279

File tree

4 files changed

+38
-11
lines changed

4 files changed

+38
-11
lines changed

docs/dyn/serviceconsumermanagement_v1.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="serviceconsumermanagement_v1.html">Service Consumer Management API<
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79-
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.</p>
79+
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -95,7 +95,7 @@ <h2>Instance Methods</h2>
9595
<h3>Method Details</h3>
9696
<div class="method">
9797
<code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
98-
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
98+
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
9999

100100
Args:
101101
name: string, The name of the operation resource to be cancelled. (required)

docs/dyn/serviceconsumermanagement_v1beta1.services.consumerQuotaMetrics.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,9 @@ <h3>Method Details</h3>
326326
The object takes the form of:
327327

328328
{ # Request message for ImportProducerQuotaPolicies
329-
&quot;force&quot;: True or False, # Whether to force the import of the quota policies. If the policy import would decrease the default limit of any consumer tier by more than 10 percent, the call is rejected, as a safety measure to avoid accidentally decreasing quota too quickly. Setting the force parameter to true ignores this restriction.
330-
&quot;forceJustification&quot;: &quot;A String&quot;, # If force option is set to true, force_justification is suggested to be set to log the reason in audit logs.
329+
&quot;force&quot;: True or False, # Whether quota policy can result in a decrease of effective limit. Don&#x27;t allow any decreases if force is not specified. If force is specified, then don&#x27;t allow any decreases below 120% of the 7d quota usage, or for cases where usage cannot be examined (custom dimensions/ per user/per resource), only allow a 10% decrease.
330+
&quot;forceJustification&quot;: &quot;A String&quot;, # If force or force_skip_quota_usage_check option is set to true, force_justification is suggested to be set to log the reason in audit logs.
331+
&quot;forceSkipQuotaUsageCheck&quot;: True or False, # If set to true, skip the quota usage check. This field is only used when the effective limit can be decreased. If the force field is not set, this field will be ignored.
331332
&quot;inlineSource&quot;: { # Import data embedded in the request message # The import data is specified in the request message itself
332333
&quot;policies&quot;: [ # The policies to create. Each policy must have a value for &#x27;metric&#x27; and &#x27;unit&#x27;, to specify which metric and which limit the policy should be applied to.
333334
{ # Quota policy created by service producer.

googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"operations": {
109109
"methods": {
110110
"cancel": {
111-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
111+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
112112
"flatPath": "v1/operations/{operationsId}:cancel",
113113
"httpMethod": "POST",
114114
"id": "serviceconsumermanagement.operations.cancel",
@@ -542,7 +542,7 @@
542542
}
543543
}
544544
},
545-
"revision": "20240929",
545+
"revision": "20241115",
546546
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
547547
"schemas": {
548548
"AddTenantProjectRequest": {
@@ -1348,6 +1348,10 @@
13481348
"description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.",
13491349
"id": "ExperimentalFeatures",
13501350
"properties": {
1351+
"protobufPythonicTypesEnabled": {
1352+
"description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.",
1353+
"type": "boolean"
1354+
},
13511355
"restAsyncIoEnabled": {
13521356
"description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.",
13531357
"type": "boolean"
@@ -1487,6 +1491,13 @@
14871491
"common": {
14881492
"$ref": "CommonLanguageSettings",
14891493
"description": "Some settings."
1494+
},
1495+
"renamedServices": {
1496+
"additionalProperties": {
1497+
"type": "string"
1498+
},
1499+
"description": "Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin",
1500+
"type": "object"
14901501
}
14911502
},
14921503
"type": "object"
@@ -2427,7 +2438,7 @@
24272438
"type": "string"
24282439
},
24292440
"unit": {
2430-
"description": "Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.",
2441+
"description": "Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.",
24312442
"type": "string"
24322443
},
24332444
"values": {

googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@
715715
}
716716
}
717717
},
718-
"revision": "20240929",
718+
"revision": "20241115",
719719
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
720720
"schemas": {
721721
"Api": {
@@ -1433,6 +1433,10 @@
14331433
"description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.",
14341434
"id": "ExperimentalFeatures",
14351435
"properties": {
1436+
"protobufPythonicTypesEnabled": {
1437+
"description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.",
1438+
"type": "boolean"
1439+
},
14361440
"restAsyncIoEnabled": {
14371441
"description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.",
14381442
"type": "boolean"
@@ -1572,6 +1576,13 @@
15721576
"common": {
15731577
"$ref": "CommonLanguageSettings",
15741578
"description": "Some settings."
1579+
},
1580+
"renamedServices": {
1581+
"additionalProperties": {
1582+
"type": "string"
1583+
},
1584+
"description": "Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin",
1585+
"type": "object"
15751586
}
15761587
},
15771588
"type": "object"
@@ -2458,7 +2469,7 @@
24582469
"type": "string"
24592470
},
24602471
"unit": {
2461-
"description": "Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.",
2472+
"description": "Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.",
24622473
"type": "string"
24632474
},
24642475
"values": {
@@ -3012,13 +3023,17 @@
30123023
"id": "V1Beta1ImportProducerQuotaPoliciesRequest",
30133024
"properties": {
30143025
"force": {
3015-
"description": "Whether to force the import of the quota policies. If the policy import would decrease the default limit of any consumer tier by more than 10 percent, the call is rejected, as a safety measure to avoid accidentally decreasing quota too quickly. Setting the force parameter to true ignores this restriction.",
3026+
"description": "Whether quota policy can result in a decrease of effective limit. Don't allow any decreases if force is not specified. If force is specified, then don't allow any decreases below 120% of the 7d quota usage, or for cases where usage cannot be examined (custom dimensions/ per user/per resource), only allow a 10% decrease.",
30163027
"type": "boolean"
30173028
},
30183029
"forceJustification": {
3019-
"description": "If force option is set to true, force_justification is suggested to be set to log the reason in audit logs.",
3030+
"description": "If force or force_skip_quota_usage_check option is set to true, force_justification is suggested to be set to log the reason in audit logs.",
30203031
"type": "string"
30213032
},
3033+
"forceSkipQuotaUsageCheck": {
3034+
"description": "If set to true, skip the quota usage check. This field is only used when the effective limit can be decreased. If the force field is not set, this field will be ignored.",
3035+
"type": "boolean"
3036+
},
30223037
"inlineSource": {
30233038
"$ref": "V1Beta1PolicyInlineSource",
30243039
"description": "The import data is specified in the request message itself"

0 commit comments

Comments
 (0)