You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/servicemanagement_v1.services.configs.html
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -439,6 +439,9 @@ <h3>Method Details</h3>
439
439
],
440
440
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
441
441
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
442
+
"dynamicMetricCosts": { # 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)
443
+
"a_key": "A String",
444
+
},
442
445
"metricCosts": { # Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.
443
446
"a_key": "A String",
444
447
},
@@ -905,6 +908,9 @@ <h3>Method Details</h3>
905
908
],
906
909
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
907
910
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
911
+
"dynamicMetricCosts": { # 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)
912
+
"a_key": "A String",
913
+
},
908
914
"metricCosts": { # Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.
909
915
"a_key": "A String",
910
916
},
@@ -1383,6 +1389,9 @@ <h3>Method Details</h3>
1383
1389
],
1384
1390
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
1385
1391
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
1392
+
"dynamicMetricCosts": { # 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)
1393
+
"a_key": "A String",
1394
+
},
1386
1395
"metricCosts": { # Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.
1387
1396
"a_key": "A String",
1388
1397
},
@@ -1861,6 +1870,9 @@ <h3>Method Details</h3>
1861
1870
],
1862
1871
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
1863
1872
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
1873
+
"dynamicMetricCosts": { # 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)
1874
+
"a_key": "A String",
1875
+
},
1864
1876
"metricCosts": { # Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.
Copy file name to clipboardExpand all lines: docs/dyn/servicemanagement_v1.services.html
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -634,6 +634,9 @@ <h3>Method Details</h3>
634
634
],
635
635
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
636
636
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
637
+
"dynamicMetricCosts": { # 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)
638
+
"a_key": "A String",
639
+
},
637
640
"metricCosts": { # Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.
638
641
"a_key": "A String",
639
642
},
@@ -823,7 +826,7 @@ <h3>Method Details</h3>
823
826
824
827
Args:
825
828
consumerId: string, Include services consumed by the specified consumer. The Google Service Management implementation accepts the following forms: - project:
826
-
pageSize: integer, The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100.
829
+
pageSize: integer, The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500.
827
830
pageToken: string, Token identifying which result to start with; returned by a previous list call.
828
831
producerProjectId: string, Include services produced by the specified project.
"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.",
2255
2255
"id": "MetricRule",
2256
2256
"properties": {
2257
+
"dynamicMetricCosts": {
2258
+
"additionalProperties": {
2259
+
"enum": [
2260
+
"DYNAMIC_COST_TYPE_UNSPECIFIED",
2261
+
"REQUEST_BODY_BYTES",
2262
+
"REQUEST_BODY_AND_HEADER_BYTES",
2263
+
"RESPONSE_BODY_BYTES",
2264
+
"RESPONSE_BODY_AND_HEADER_BYTES"
2265
+
],
2266
+
"enumDescriptions": [
2267
+
"Unspecified dynamic cost type.",
2268
+
"Cost is the request body bytes",
2269
+
"Cost is the request body and HTTP header bytes",
2270
+
"Cost is the response body bytes",
2271
+
"Cost is the response body and header bytes"
2272
+
],
2273
+
"type": "string"
2274
+
},
2275
+
"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)",
0 commit comments