blob: 02324a9cd3f3a6da12ff113d7a613e92ee51a6b6 [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="serviceusage_v1beta1.html">Service Usage API</a> . <a href="serviceusage_v1beta1.services.html">services</a> . <a href="serviceusage_v1beta1.services.consumerQuotaMetrics.html">consumerQuotaMetrics</a> . <a href="serviceusage_v1beta1.services.consumerQuotaMetrics.limits.html">limits</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="serviceusage_v1beta1.services.consumerQuotaMetrics.limits.adminOverrides.html">adminOverrides()</a></code>
79</p>
80<p class="firstline">Returns the adminOverrides Resource.</p>
81
82<p class="toc_element">
83 <code><a href="serviceusage_v1beta1.services.consumerQuotaMetrics.limits.consumerOverrides.html">consumerOverrides()</a></code>
84</p>
85<p class="firstline">Returns the consumerOverrides Resource.</p>
86
87<p class="toc_element">
88 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
89<p class="firstline">Retrieves a summary of quota information for a specific quota limit.</p>
90<h3>Method Details</h3>
91<div class="method">
92 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
93 <pre>Retrieves a summary of quota information for a specific quota limit.
94
95Args:
96 name: string, The resource name of the quota limit.
97
98Use the quota limit resource name returned by previous
99ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls. (required)
100 view: string, Specifies the level of detail for quota information in the response.
101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
105
106Returns:
107 An object of the form:
108
109 { # Consumer quota settings for a quota limit.
110 &quot;allowsAdminOverrides&quot;: True or False, # Whether admin overrides are allowed on this limit
111 &quot;quotaBuckets&quot;: [ # Summary of the enforced quota buckets, organized by quota dimension,
112 # ordered from least specific to most specific (for example, the global
113 # default bucket, with no quota dimensions, will always appear first).
114 { # A quota bucket is a quota provisioning unit for a specific set of dimensions.
115 &quot;consumerOverride&quot;: { # A quota override # Consumer override on this quota bucket.
116 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
117 #
118 # An example unit would be:
119 # `1/{project}/{region}`
120 # Note that `{project}` and `{region}` are not placeholders in this example;
121 # the literal characters `{` and `}` occur in the string.
122 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
123 #
124 # An example name would be:
125 # `compute.googleapis.com/cpus`
126 &quot;dimensions&quot;: { # If this map is nonempty, then this override applies only to specific values
127 # for dimensions defined in the limit unit.
128 #
129 # For example, an override on a limit with the unit 1/{project}/{region}
130 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
131 # the override is only applied to quota consumed in that region.
132 #
133 # This map has the following restrictions:
134 #
135 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
136 # Any string appearing in {brackets} in the unit (besides {project} or
137 # {user}) is a defined key.
138 # * &quot;project&quot; is not a valid key; the project is already specified in
139 # the parent resource name.
140 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
141 # that apply only to a specific user.
142 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
143 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
144 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
145 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
146 # map.
147 &quot;a_key&quot;: &quot;A String&quot;,
148 },
149 &quot;name&quot;: &quot;A String&quot;, # The resource name of the override.
150 # This name is generated by the server when the override is created.
151 #
152 # Example names would be:
153 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
154 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
155 #
156 # The resource name is intended to be opaque and should not be parsed for
157 # its component strings, since its representation could change in the future.
158 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
159 # Can be any nonnegative integer, or -1 (unlimited quota).
160 },
161 &quot;defaultLimit&quot;: &quot;A String&quot;, # The default limit of this quota bucket, as specified by the service
162 # configuration.
163 &quot;effectiveLimit&quot;: &quot;A String&quot;, # The effective limit of this quota bucket. Equal to default_limit if there
164 # are no overrides.
165 &quot;producerOverride&quot;: { # A quota override # Producer override on this quota bucket.
166 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
167 #
168 # An example unit would be:
169 # `1/{project}/{region}`
170 # Note that `{project}` and `{region}` are not placeholders in this example;
171 # the literal characters `{` and `}` occur in the string.
172 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
173 #
174 # An example name would be:
175 # `compute.googleapis.com/cpus`
176 &quot;dimensions&quot;: { # If this map is nonempty, then this override applies only to specific values
177 # for dimensions defined in the limit unit.
178 #
179 # For example, an override on a limit with the unit 1/{project}/{region}
180 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
181 # the override is only applied to quota consumed in that region.
182 #
183 # This map has the following restrictions:
184 #
185 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
186 # Any string appearing in {brackets} in the unit (besides {project} or
187 # {user}) is a defined key.
188 # * &quot;project&quot; is not a valid key; the project is already specified in
189 # the parent resource name.
190 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
191 # that apply only to a specific user.
192 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
193 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
194 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
195 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
196 # map.
197 &quot;a_key&quot;: &quot;A String&quot;,
198 },
199 &quot;name&quot;: &quot;A String&quot;, # The resource name of the override.
200 # This name is generated by the server when the override is created.
201 #
202 # Example names would be:
203 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
204 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
205 #
206 # The resource name is intended to be opaque and should not be parsed for
207 # its component strings, since its representation could change in the future.
208 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
209 # Can be any nonnegative integer, or -1 (unlimited quota).
210 },
211 &quot;dimensions&quot;: { # The dimensions of this quota bucket.
212 #
213 # If this map is empty, this is the global bucket, which is the default quota
214 # value applied to all requests that do not have a more specific override.
215 #
216 # If this map is nonempty, the default limit, effective limit, and quota
217 # overrides apply only to requests that have the dimensions given in the map.
218 #
219 # For example, if the map has key &quot;region&quot; and value &quot;us-east-1&quot;, then the
220 # specified effective limit is only effective in that region, and the
221 # specified overrides apply only in that region.
222 &quot;a_key&quot;: &quot;A String&quot;,
223 },
224 &quot;adminOverride&quot;: { # A quota override # Admin override on this quota bucket.
225 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
226 #
227 # An example unit would be:
228 # `1/{project}/{region}`
229 # Note that `{project}` and `{region}` are not placeholders in this example;
230 # the literal characters `{` and `}` occur in the string.
231 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
232 #
233 # An example name would be:
234 # `compute.googleapis.com/cpus`
235 &quot;dimensions&quot;: { # If this map is nonempty, then this override applies only to specific values
236 # for dimensions defined in the limit unit.
237 #
238 # For example, an override on a limit with the unit 1/{project}/{region}
239 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
240 # the override is only applied to quota consumed in that region.
241 #
242 # This map has the following restrictions:
243 #
244 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
245 # Any string appearing in {brackets} in the unit (besides {project} or
246 # {user}) is a defined key.
247 # * &quot;project&quot; is not a valid key; the project is already specified in
248 # the parent resource name.
249 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
250 # that apply only to a specific user.
251 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
252 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
253 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
254 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
255 # map.
256 &quot;a_key&quot;: &quot;A String&quot;,
257 },
258 &quot;name&quot;: &quot;A String&quot;, # The resource name of the override.
259 # This name is generated by the server when the override is created.
260 #
261 # Example names would be:
262 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
263 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
264 #
265 # The resource name is intended to be opaque and should not be parsed for
266 # its component strings, since its representation could change in the future.
267 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
268 # Can be any nonnegative integer, or -1 (unlimited quota).
269 },
270 },
271 ],
272 &quot;name&quot;: &quot;A String&quot;, # The resource name of the quota limit.
273 #
274 # An example name would be:
275 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
276 #
277 # The resource name is intended to be opaque and should not be parsed for
278 # its component strings, since its representation could change in the future.
279 &quot;unit&quot;: &quot;A String&quot;, # The limit unit.
280 #
281 # An example unit would be
282 # `1/{project}/{region}`
283 # Note that `{project}` and `{region}` are not placeholders in this example;
284 # the literal characters `{` and `}` occur in the string.
285 &quot;metric&quot;: &quot;A String&quot;, # The name of the parent metric of this limit.
286 #
287 # An example name would be:
288 # `compute.googleapis.com/cpus`
289 &quot;isPrecise&quot;: True or False, # Whether this limit is precise or imprecise.
290 }</pre>
291</div>
292
293</body></html>