blob: 47564a19ea6bacdb44ec1b2ee3cd77556e70c515 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="serviceconsumermanagement_v1beta1.html">Service Consumer Management API</a> . <a href="serviceconsumermanagement_v1beta1.services.html">services</a> . <a href="serviceconsumermanagement_v1beta1.services.consumerQuotaMetrics.html">consumerQuotaMetrics</a> . <a href="serviceconsumermanagement_v1beta1.services.consumerQuotaMetrics.limits.html">limits</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="serviceconsumermanagement_v1beta1.services.consumerQuotaMetrics.limits.producerOverrides.html">producerOverrides()</a></code>
79</p>
80<p class="firstline">Returns the producerOverrides Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
84<p class="firstline">Retrieves a summary of quota information for a specific quota limit.</p>
85<h3>Method Details</h3>
86<div class="method">
87 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
88 <pre>Retrieves a summary of quota information for a specific quota limit.
89
90Args:
91 name: string, The resource name of the quota limit, returned by a
92ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
93
94An example name would be:
95`services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` (required)
96 view: string, Specifies the level of detail for quota information in the response.
97 x__xgafv: string, V1 error format.
98 Allowed values
99 1 - v1 error format
100 2 - v2 error format
101
102Returns:
103 An object of the form:
104
105 { # Consumer quota settings for a quota limit.
106 &quot;isPrecise&quot;: True or False, # Whether this limit is precise or imprecise.
107 &quot;quotaBuckets&quot;: [ # Summary of the enforced quota buckets, organized by quota dimension,
108 # ordered from least specific to most specific (for example, the global
109 # default bucket, with no quota dimensions, will always appear first).
110 { # A quota bucket is a quota provisioning unit for a specific set of dimensions.
111 &quot;effectiveLimit&quot;: &quot;A String&quot;, # The effective limit of this quota bucket. Equal to default_limit if there
112 # are no overrides.
113 &quot;defaultLimit&quot;: &quot;A String&quot;, # The default limit of this quota bucket, as specified by the service
114 # configuration.
115 &quot;dimensions&quot;: { # The dimensions of this quota bucket.
116 #
117 # If this map is empty, this is the global bucket, which is the default quota
118 # value applied to all requests that do not have a more specific override.
119 #
120 # If this map is nonempty, the default limit, effective limit, and quota
121 # overrides apply only to requests that have the dimensions given in the map.
122 #
123 # For example, if the map has key &quot;region&quot; and value &quot;us-east-1&quot;, then the
124 # specified effective limit is only effective in that region, and the
125 # specified overrides apply only in that region.
126 &quot;a_key&quot;: &quot;A String&quot;,
127 },
128 &quot;adminOverride&quot;: { # A quota override # Admin override on this quota bucket.
129 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
130 #
131 # An example unit would be:
132 # `1/{project}/{region}`
133 # Note that `{project}` and `{region}` are not placeholders in this example;
134 # the literal characters `{` and `}` occur in the string.
135 &quot;dimensions&quot;: { #
136 # If this map is nonempty, then this override applies only to specific values
137 # for dimensions defined in the limit unit.
138 #
139 # For example, an override on a limit with the unit 1/{project}/{region}
140 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
141 # the override is only applied to quota consumed in that region.
142 #
143 # This map has the following restrictions:
144 #
145 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
146 # Any string appearing in {brackets} in the unit (besides {project} or
147 # {user}) is a defined key.
148 # * &quot;project&quot; is not a valid key; the project is already specified in
149 # the parent resource name.
150 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
151 # that apply only to a specific user.
152 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
153 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
154 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
155 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
156 # map.
157 &quot;a_key&quot;: &quot;A String&quot;,
158 },
159 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
160 # An example name would be:
161 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
162 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
163 # Can be any nonnegative integer, or -1 (unlimited quota).
164 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
165 #
166 # An example name would be:
167 # `compute.googleapis.com/cpus`
168 },
169 &quot;producerOverride&quot;: { # A quota override # Producer override on this quota bucket.
170 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
171 #
172 # An example unit would be:
173 # `1/{project}/{region}`
174 # Note that `{project}` and `{region}` are not placeholders in this example;
175 # the literal characters `{` and `}` occur in the string.
176 &quot;dimensions&quot;: { #
177 # If this map is nonempty, then this override applies only to specific values
178 # for dimensions defined in the limit unit.
179 #
180 # For example, an override on a limit with the unit 1/{project}/{region}
181 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
182 # the override is only applied to quota consumed in that region.
183 #
184 # This map has the following restrictions:
185 #
186 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
187 # Any string appearing in {brackets} in the unit (besides {project} or
188 # {user}) is a defined key.
189 # * &quot;project&quot; is not a valid key; the project is already specified in
190 # the parent resource name.
191 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
192 # that apply only to a specific user.
193 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
194 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
195 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
196 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
197 # map.
198 &quot;a_key&quot;: &quot;A String&quot;,
199 },
200 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
201 # An example name would be:
202 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
203 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
204 # Can be any nonnegative integer, or -1 (unlimited quota).
205 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
206 #
207 # An example name would be:
208 # `compute.googleapis.com/cpus`
209 },
210 &quot;consumerOverride&quot;: { # A quota override # Consumer override on this quota bucket.
211 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
212 #
213 # An example unit would be:
214 # `1/{project}/{region}`
215 # Note that `{project}` and `{region}` are not placeholders in this example;
216 # the literal characters `{` and `}` occur in the string.
217 &quot;dimensions&quot;: { #
218 # If this map is nonempty, then this override applies only to specific values
219 # for dimensions defined in the limit unit.
220 #
221 # For example, an override on a limit with the unit 1/{project}/{region}
222 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
223 # the override is only applied to quota consumed in that region.
224 #
225 # This map has the following restrictions:
226 #
227 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
228 # Any string appearing in {brackets} in the unit (besides {project} or
229 # {user}) is a defined key.
230 # * &quot;project&quot; is not a valid key; the project is already specified in
231 # the parent resource name.
232 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
233 # that apply only to a specific user.
234 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
235 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
236 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
237 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
238 # map.
239 &quot;a_key&quot;: &quot;A String&quot;,
240 },
241 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
242 # An example name would be:
243 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
244 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
245 # Can be any nonnegative integer, or -1 (unlimited quota).
246 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
247 #
248 # An example name would be:
249 # `compute.googleapis.com/cpus`
250 },
251 },
252 ],
253 &quot;metric&quot;: &quot;A String&quot;, # The name of the parent metric of this limit.
254 #
255 # An example name would be:
256 # `compute.googleapis.com/cpus`
257 &quot;name&quot;: &quot;A String&quot;, # The resource name of the quota limit.
258 #
259 # An example name would be:
260 # `services/compute.googleapis.com/projects/123/quotas/metrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
261 #
262 # The resource name is intended to be opaque and should not be parsed for
263 # its component strings, since its representation could change in the future.
264 &quot;unit&quot;: &quot;A String&quot;, # The limit unit.
265 #
266 # An example unit would be:
267 # `1/{project}/{region}`
268 # Note that `{project}` and `{region}` are not placeholders in this example;
269 # the literal characters `{` and `}` occur in the string.
270 }</pre>
271</div>
272
273</body></html>