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
#### serviceusage:v1
The following keys were added:
- schemas.MetricRule.properties.dynamicMetricCosts (Total Keys: 2)
#### serviceusage:v1beta1
The following keys were added:
- schemas.MetricRule.properties.dynamicMetricCosts (Total Keys: 2)
Copy file name to clipboardExpand all lines: docs/dyn/serviceusage_v1.services.html
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -321,6 +321,9 @@ <h3>Method Details</h3>
321
321
],
322
322
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
323
323
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
324
+
"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)
325
+
"a_key": "A String",
326
+
},
324
327
"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.
325
328
"a_key": "A String",
326
329
},
@@ -615,6 +618,9 @@ <h3>Method Details</h3>
615
618
],
616
619
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
617
620
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
621
+
"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)
622
+
"a_key": "A String",
623
+
},
618
624
"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.
619
625
"a_key": "A String",
620
626
},
@@ -824,6 +830,9 @@ <h3>Method Details</h3>
824
830
],
825
831
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
826
832
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
833
+
"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)
834
+
"a_key": "A String",
835
+
},
827
836
"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/serviceusage_v1beta1.services.html
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -445,6 +445,9 @@ <h3>Method Details</h3>
445
445
],
446
446
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
447
447
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
448
+
"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)
449
+
"a_key": "A String",
450
+
},
448
451
"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.
449
452
"a_key": "A String",
450
453
},
@@ -654,6 +657,9 @@ <h3>Method Details</h3>
654
657
],
655
658
"metricRules": [ # List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
656
659
{ # Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
660
+
"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)
661
+
"a_key": "A String",
662
+
},
657
663
"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.
"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.",
2027
2027
"id": "MetricRule",
2028
2028
"properties": {
2029
+
"dynamicMetricCosts": {
2030
+
"additionalProperties": {
2031
+
"enum": [
2032
+
"DYNAMIC_COST_TYPE_UNSPECIFIED",
2033
+
"REQUEST_BODY_BYTES",
2034
+
"REQUEST_BODY_AND_HEADER_BYTES",
2035
+
"RESPONSE_BODY_BYTES",
2036
+
"RESPONSE_BODY_AND_HEADER_BYTES"
2037
+
],
2038
+
"enumDescriptions": [
2039
+
"Unspecified dynamic cost type.",
2040
+
"Cost is the request body bytes",
2041
+
"Cost is the request body and HTTP header bytes",
2042
+
"Cost is the response body bytes",
2043
+
"Cost is the response body and header bytes"
2044
+
],
2045
+
"type": "string"
2046
+
},
2047
+
"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)",
"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.",
2717
2717
"id": "MetricRule",
2718
2718
"properties": {
2719
+
"dynamicMetricCosts": {
2720
+
"additionalProperties": {
2721
+
"enum": [
2722
+
"DYNAMIC_COST_TYPE_UNSPECIFIED",
2723
+
"REQUEST_BODY_BYTES",
2724
+
"REQUEST_BODY_AND_HEADER_BYTES",
2725
+
"RESPONSE_BODY_BYTES",
2726
+
"RESPONSE_BODY_AND_HEADER_BYTES"
2727
+
],
2728
+
"enumDescriptions": [
2729
+
"Unspecified dynamic cost type.",
2730
+
"Cost is the request body bytes",
2731
+
"Cost is the request body and HTTP header bytes",
2732
+
"Cost is the response body bytes",
2733
+
"Cost is the response body and header bytes"
2734
+
],
2735
+
"type": "string"
2736
+
},
2737
+
"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