Skip to content

Commit 5fc90e5

Browse files
feat(serviceconsumermanagement): update the api
#### serviceconsumermanagement:v1 The following keys were added: - schemas.MetricRule.properties.dynamicMetricCosts (Total Keys: 2) #### serviceconsumermanagement:v1beta1 The following keys were added: - schemas.MetricRule.properties.dynamicMetricCosts (Total Keys: 2)
1 parent a326fdd commit 5fc90e5

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@
542542
}
543543
}
544544
},
545-
"revision": "20220503",
545+
"revision": "20220513",
546546
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
547547
"schemas": {
548548
"AddTenantProjectRequest": {
@@ -1662,6 +1662,27 @@
16621662
"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.",
16631663
"id": "MetricRule",
16641664
"properties": {
1665+
"dynamicMetricCosts": {
1666+
"additionalProperties": {
1667+
"enum": [
1668+
"DYNAMIC_COST_TYPE_UNSPECIFIED",
1669+
"REQUEST_BODY_BYTES",
1670+
"REQUEST_BODY_AND_HEADER_BYTES",
1671+
"RESPONSE_BODY_BYTES",
1672+
"RESPONSE_BODY_AND_HEADER_BYTES"
1673+
],
1674+
"enumDescriptions": [
1675+
"Unspecified dynamic cost type.",
1676+
"Cost is the request body bytes",
1677+
"Cost is the request body and HTTP header bytes",
1678+
"Cost is the response body bytes",
1679+
"Cost is the response body and header bytes"
1680+
],
1681+
"type": "string"
1682+
},
1683+
"description": "Metrics to update when the selected methods are called. The key of the map is the metric name, the value is the DynamicCostType to specify how to calculate the cost from the request. The cost amount will be increased for the metric against which the quota limits are defined. It is only implemented in CloudESF(go/cloudesf)",
1684+
"type": "object"
1685+
},
16651686
"metricCosts": {
16661687
"additionalProperties": {
16671688
"format": "int64",

googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@
500500
}
501501
}
502502
},
503-
"revision": "20220503",
503+
"revision": "20220513",
504504
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
505505
"schemas": {
506506
"Api": {
@@ -1496,6 +1496,27 @@
14961496
"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.",
14971497
"id": "MetricRule",
14981498
"properties": {
1499+
"dynamicMetricCosts": {
1500+
"additionalProperties": {
1501+
"enum": [
1502+
"DYNAMIC_COST_TYPE_UNSPECIFIED",
1503+
"REQUEST_BODY_BYTES",
1504+
"REQUEST_BODY_AND_HEADER_BYTES",
1505+
"RESPONSE_BODY_BYTES",
1506+
"RESPONSE_BODY_AND_HEADER_BYTES"
1507+
],
1508+
"enumDescriptions": [
1509+
"Unspecified dynamic cost type.",
1510+
"Cost is the request body bytes",
1511+
"Cost is the request body and HTTP header bytes",
1512+
"Cost is the response body bytes",
1513+
"Cost is the response body and header bytes"
1514+
],
1515+
"type": "string"
1516+
},
1517+
"description": "Metrics to update when the selected methods are called. The key of the map is the metric name, the value is the DynamicCostType to specify how to calculate the cost from the request. The cost amount will be increased for the metric against which the quota limits are defined. It is only implemented in CloudESF(go/cloudesf)",
1518+
"type": "object"
1519+
},
14991520
"metricCosts": {
15001521
"additionalProperties": {
15011522
"format": "int64",

0 commit comments

Comments
 (0)