blob: ffeccb20b5d8004499abb9ad7d40e3e1e9a6bc9b [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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700106 &quot;unit&quot;: &quot;A String&quot;, # The limit unit.
107 #
108 # An example unit would be:
109 # `1/{project}/{region}`
110 # Note that `{project}` and `{region}` are not placeholders in this example;
111 # the literal characters `{` and `}` occur in the string.
112 &quot;metric&quot;: &quot;A String&quot;, # The name of the parent metric of this limit.
113 #
114 # An example name would be:
115 # `compute.googleapis.com/cpus`
Bu Sun Kim65020912020-05-20 12:08:20 -0700116 &quot;isPrecise&quot;: True or False, # Whether this limit is precise or imprecise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700117 &quot;name&quot;: &quot;A String&quot;, # The resource name of the quota limit.
118 #
119 # An example name would be:
120 # `services/compute.googleapis.com/projects/123/quotas/metrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
121 #
122 # The resource name is intended to be opaque and should not be parsed for
123 # its component strings, since its representation could change in the future.
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 &quot;quotaBuckets&quot;: [ # Summary of the enforced quota buckets, organized by quota dimension,
125 # ordered from least specific to most specific (for example, the global
126 # default bucket, with no quota dimensions, will always appear first).
127 { # A quota bucket is a quota provisioning unit for a specific set of dimensions.
128 &quot;effectiveLimit&quot;: &quot;A String&quot;, # The effective limit of this quota bucket. Equal to default_limit if there
129 # are no overrides.
Bu Sun Kim65020912020-05-20 12:08:20 -0700130 &quot;dimensions&quot;: { # The dimensions of this quota bucket.
131 #
132 # If this map is empty, this is the global bucket, which is the default quota
133 # value applied to all requests that do not have a more specific override.
134 #
135 # If this map is nonempty, the default limit, effective limit, and quota
136 # overrides apply only to requests that have the dimensions given in the map.
137 #
138 # For example, if the map has key &quot;region&quot; and value &quot;us-east-1&quot;, then the
139 # specified effective limit is only effective in that region, and the
140 # specified overrides apply only in that region.
141 &quot;a_key&quot;: &quot;A String&quot;,
142 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700143 &quot;defaultLimit&quot;: &quot;A String&quot;, # The default limit of this quota bucket, as specified by the service
144 # configuration.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700145 &quot;producerOverride&quot;: { # A quota override # Producer override on this quota bucket.
146 &quot;adminOverrideAncestor&quot;: &quot;A String&quot;, # The resource name of the ancestor that requested the override. For example:
147 # &quot;organizations/12345&quot; or &quot;folders/67890&quot;.
148 # Used by admin overrides only.
149 &quot;dimensions&quot;: { #
150 # If this map is nonempty, then this override applies only to specific values
151 # for dimensions defined in the limit unit.
152 #
153 # For example, an override on a limit with the unit 1/{project}/{region}
154 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
155 # the override is only applied to quota consumed in that region.
156 #
157 # This map has the following restrictions:
158 #
159 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
160 # Any string appearing in {brackets} in the unit (besides {project} or
161 # {user}) is a defined key.
162 # * &quot;project&quot; is not a valid key; the project is already specified in
163 # the parent resource name.
164 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
165 # that apply only to a specific user.
166 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
167 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
168 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
169 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
170 # map.
171 &quot;a_key&quot;: &quot;A String&quot;,
172 },
173 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
174 # Can be any nonnegative integer, or -1 (unlimited quota).
175 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
176 #
177 # An example name would be:
178 # `compute.googleapis.com/cpus`
179 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
180 #
181 # An example unit would be:
182 # `1/{project}/{region}`
183 # Note that `{project}` and `{region}` are not placeholders in this example;
184 # the literal characters `{` and `}` occur in the string.
185 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
186 # An example name would be:
187 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
188 },
189 &quot;consumerOverride&quot;: { # A quota override # Consumer override on this quota bucket.
190 &quot;adminOverrideAncestor&quot;: &quot;A String&quot;, # The resource name of the ancestor that requested the override. For example:
191 # &quot;organizations/12345&quot; or &quot;folders/67890&quot;.
192 # Used by admin overrides only.
193 &quot;dimensions&quot;: { #
194 # If this map is nonempty, then this override applies only to specific values
195 # for dimensions defined in the limit unit.
196 #
197 # For example, an override on a limit with the unit 1/{project}/{region}
198 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
199 # the override is only applied to quota consumed in that region.
200 #
201 # This map has the following restrictions:
202 #
203 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
204 # Any string appearing in {brackets} in the unit (besides {project} or
205 # {user}) is a defined key.
206 # * &quot;project&quot; is not a valid key; the project is already specified in
207 # the parent resource name.
208 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
209 # that apply only to a specific user.
210 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
211 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
212 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
213 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
214 # map.
215 &quot;a_key&quot;: &quot;A String&quot;,
216 },
217 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
218 # Can be any nonnegative integer, or -1 (unlimited quota).
219 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
220 #
221 # An example name would be:
222 # `compute.googleapis.com/cpus`
223 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
224 #
225 # An example unit would be:
226 # `1/{project}/{region}`
227 # Note that `{project}` and `{region}` are not placeholders in this example;
228 # the literal characters `{` and `}` occur in the string.
229 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
230 # An example name would be:
231 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
232 },
233 &quot;adminOverride&quot;: { # A quota override # Admin override on this quota bucket.
234 &quot;adminOverrideAncestor&quot;: &quot;A String&quot;, # The resource name of the ancestor that requested the override. For example:
235 # &quot;organizations/12345&quot; or &quot;folders/67890&quot;.
236 # Used by admin overrides only.
237 &quot;dimensions&quot;: { #
238 # If this map is nonempty, then this override applies only to specific values
239 # for dimensions defined in the limit unit.
240 #
241 # For example, an override on a limit with the unit 1/{project}/{region}
242 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
243 # the override is only applied to quota consumed in that region.
244 #
245 # This map has the following restrictions:
246 #
247 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
248 # Any string appearing in {brackets} in the unit (besides {project} or
249 # {user}) is a defined key.
250 # * &quot;project&quot; is not a valid key; the project is already specified in
251 # the parent resource name.
252 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
253 # that apply only to a specific user.
254 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
255 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
256 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
257 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
258 # map.
259 &quot;a_key&quot;: &quot;A String&quot;,
260 },
261 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
262 # Can be any nonnegative integer, or -1 (unlimited quota).
263 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
264 #
265 # An example name would be:
266 # `compute.googleapis.com/cpus`
267 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
268 #
269 # An example unit would be:
270 # `1/{project}/{region}`
271 # Note that `{project}` and `{region}` are not placeholders in this example;
272 # the literal characters `{` and `}` occur in the string.
273 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
274 # An example name would be:
275 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
276 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700277 },
278 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700279 }</pre>
280</div>
281
282</body></html>