Skip to content

Commit 278892a

Browse files
feat(servicenetworking): update the api
#### servicenetworking:v1 The following keys were added: - schemas.MetricRule.properties.dynamicMetricCosts (Total Keys: 2) #### servicenetworking:v1beta The following keys were added: - schemas.MetricRule.properties.dynamicMetricCosts (Total Keys: 2)
1 parent 1cf79d3 commit 278892a

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

googleapiclient/discovery_cache/documents/servicenetworking.v1.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@
865865
}
866866
}
867867
},
868-
"revision": "20220506",
868+
"revision": "20220513",
869869
"rootUrl": "https://servicenetworking.googleapis.com/",
870870
"schemas": {
871871
"AddDnsRecordSetMetadata": {
@@ -2356,6 +2356,27 @@
23562356
"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.",
23572357
"id": "MetricRule",
23582358
"properties": {
2359+
"dynamicMetricCosts": {
2360+
"additionalProperties": {
2361+
"enum": [
2362+
"DYNAMIC_COST_TYPE_UNSPECIFIED",
2363+
"REQUEST_BODY_BYTES",
2364+
"REQUEST_BODY_AND_HEADER_BYTES",
2365+
"RESPONSE_BODY_BYTES",
2366+
"RESPONSE_BODY_AND_HEADER_BYTES"
2367+
],
2368+
"enumDescriptions": [
2369+
"Unspecified dynamic cost type.",
2370+
"Cost is the request body bytes",
2371+
"Cost is the request body and HTTP header bytes",
2372+
"Cost is the response body bytes",
2373+
"Cost is the response body and header bytes"
2374+
],
2375+
"type": "string"
2376+
},
2377+
"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)",
2378+
"type": "object"
2379+
},
23592380
"metricCosts": {
23602381
"additionalProperties": {
23612382
"format": "int64",

googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
}
308308
}
309309
},
310-
"revision": "20220506",
310+
"revision": "20220513",
311311
"rootUrl": "https://servicenetworking.googleapis.com/",
312312
"schemas": {
313313
"AddDnsRecordSetMetadata": {
@@ -1623,6 +1623,27 @@
16231623
"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.",
16241624
"id": "MetricRule",
16251625
"properties": {
1626+
"dynamicMetricCosts": {
1627+
"additionalProperties": {
1628+
"enum": [
1629+
"DYNAMIC_COST_TYPE_UNSPECIFIED",
1630+
"REQUEST_BODY_BYTES",
1631+
"REQUEST_BODY_AND_HEADER_BYTES",
1632+
"RESPONSE_BODY_BYTES",
1633+
"RESPONSE_BODY_AND_HEADER_BYTES"
1634+
],
1635+
"enumDescriptions": [
1636+
"Unspecified dynamic cost type.",
1637+
"Cost is the request body bytes",
1638+
"Cost is the request body and HTTP header bytes",
1639+
"Cost is the response body bytes",
1640+
"Cost is the response body and header bytes"
1641+
],
1642+
"type": "string"
1643+
},
1644+
"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)",
1645+
"type": "object"
1646+
},
16261647
"metricCosts": {
16271648
"additionalProperties": {
16281649
"format": "int64",

0 commit comments

Comments
 (0)