@maxim_mazurok/gapi.client.serviceusage-v1beta1 0.0.20230419 → 0.0.20230428
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1564 -781
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://serviceusage.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230428
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,42 +24,54 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace serviceusage {
|
|
25
25
|
interface AdminQuotaPolicy {
|
|
26
26
|
/** The cloud resource container at which the quota policy is created. The format is `{container_type}/{container_number}` */
|
|
27
|
-
container?:
|
|
27
|
+
container?:
|
|
28
|
+
string;
|
|
28
29
|
/**
|
|
29
30
|
* If this map is nonempty, then this policy applies only to specific values for dimensions defined in the limit unit. For example, an policy on a limit with the unit
|
|
30
31
|
* `1/{project}/{region}` could contain an entry with the key `region` and the value `us-east-1`; the policy is only applied to quota consumed in that region. This map has the
|
|
31
32
|
* following restrictions: * If `region` appears as a key, its value must be a valid Cloud region. * If `zone` appears as a key, its value must be a valid Cloud zone. * Keys other than
|
|
32
33
|
* `region` or `zone` are not valid.
|
|
33
34
|
*/
|
|
34
|
-
dimensions?:
|
|
35
|
+
dimensions?:
|
|
36
|
+
{ [P in string]: string };
|
|
35
37
|
/** The name of the metric to which this policy applies. An example name would be: `compute.googleapis.com/cpus` */
|
|
36
|
-
metric?:
|
|
38
|
+
metric?:
|
|
39
|
+
string;
|
|
37
40
|
/**
|
|
38
41
|
* The resource name of the policy. This name is generated by the server when the policy is created. Example names would be:
|
|
39
42
|
* `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/4a3f2c1d`
|
|
40
43
|
*/
|
|
41
|
-
name?:
|
|
44
|
+
name?:
|
|
45
|
+
string;
|
|
42
46
|
/** The quota policy value. Can be any nonnegative integer, or -1 (unlimited quota). */
|
|
43
|
-
policyValue?:
|
|
47
|
+
policyValue?:
|
|
48
|
+
string;
|
|
44
49
|
/**
|
|
45
50
|
* The limit unit of the limit to which this policy applies. An example unit would be: `1/{project}/{region}` Note that `{project}` and `{region}` are not placeholders in this example;
|
|
46
51
|
* the literal characters `{` and `}` occur in the string.
|
|
47
52
|
*/
|
|
48
|
-
unit?:
|
|
53
|
+
unit?:
|
|
54
|
+
string;
|
|
49
55
|
}
|
|
50
56
|
interface Api {
|
|
51
57
|
/** The methods of this interface, in unspecified order. */
|
|
52
|
-
methods?:
|
|
58
|
+
methods?:
|
|
59
|
+
Method[];
|
|
53
60
|
/** Included interfaces. See Mixin. */
|
|
54
|
-
mixins?:
|
|
61
|
+
mixins?:
|
|
62
|
+
Mixin[];
|
|
55
63
|
/** The fully qualified name of this interface, including package name followed by the interface's simple name. */
|
|
56
|
-
name?:
|
|
64
|
+
name?:
|
|
65
|
+
string;
|
|
57
66
|
/** Any metadata attached to the interface. */
|
|
58
|
-
options?:
|
|
67
|
+
options?:
|
|
68
|
+
Option[];
|
|
59
69
|
/** Source context for the protocol buffer service represented by this message. */
|
|
60
|
-
sourceContext?:
|
|
70
|
+
sourceContext?:
|
|
71
|
+
SourceContext;
|
|
61
72
|
/** The source syntax of the service. */
|
|
62
|
-
syntax?:
|
|
73
|
+
syntax?:
|
|
74
|
+
string;
|
|
63
75
|
/**
|
|
64
76
|
* A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the
|
|
65
77
|
* entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to
|
|
@@ -68,23 +80,30 @@ declare namespace gapi.client {
|
|
|
68
80
|
* plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be
|
|
69
81
|
* omitted. Zero major versions must only be used for experimental, non-GA interfaces.
|
|
70
82
|
*/
|
|
71
|
-
version?:
|
|
83
|
+
version?:
|
|
84
|
+
string;
|
|
72
85
|
}
|
|
73
86
|
interface Authentication {
|
|
74
87
|
/** Defines a set of authentication providers that a service supports. */
|
|
75
|
-
providers?:
|
|
88
|
+
providers?:
|
|
89
|
+
AuthProvider[];
|
|
76
90
|
/** A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. */
|
|
77
|
-
rules?:
|
|
91
|
+
rules?:
|
|
92
|
+
AuthenticationRule[];
|
|
78
93
|
}
|
|
79
94
|
interface AuthenticationRule {
|
|
80
95
|
/** If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests. */
|
|
81
|
-
allowWithoutCredential?:
|
|
96
|
+
allowWithoutCredential?:
|
|
97
|
+
boolean;
|
|
82
98
|
/** The requirements for OAuth credentials. */
|
|
83
|
-
oauth?:
|
|
99
|
+
oauth?:
|
|
100
|
+
OAuthRequirements;
|
|
84
101
|
/** Requirements for additional authentication providers. */
|
|
85
|
-
requirements?:
|
|
102
|
+
requirements?:
|
|
103
|
+
AuthRequirement[];
|
|
86
104
|
/** Selects the methods to which this rule applies. Refer to selector for syntax details. */
|
|
87
|
-
selector?:
|
|
105
|
+
selector?:
|
|
106
|
+
string;
|
|
88
107
|
}
|
|
89
108
|
interface AuthProvider {
|
|
90
109
|
/**
|
|
@@ -93,29 +112,35 @@ declare namespace gapi.client {
|
|
|
93
112
|
* audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService -
|
|
94
113
|
* https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com
|
|
95
114
|
*/
|
|
96
|
-
audiences?:
|
|
115
|
+
audiences?:
|
|
116
|
+
string;
|
|
97
117
|
/** Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec. */
|
|
98
|
-
authorizationUrl?:
|
|
118
|
+
authorizationUrl?:
|
|
119
|
+
string;
|
|
99
120
|
/** The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: "bookstore_auth". */
|
|
100
|
-
id?:
|
|
121
|
+
id?:
|
|
122
|
+
string;
|
|
101
123
|
/**
|
|
102
124
|
* Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example:
|
|
103
125
|
* https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com
|
|
104
126
|
*/
|
|
105
|
-
issuer?:
|
|
127
|
+
issuer?:
|
|
128
|
+
string;
|
|
106
129
|
/**
|
|
107
130
|
* URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional
|
|
108
131
|
* if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email
|
|
109
132
|
* domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs
|
|
110
133
|
*/
|
|
111
|
-
jwksUri?:
|
|
134
|
+
jwksUri?:
|
|
135
|
+
string;
|
|
112
136
|
/**
|
|
113
137
|
* Defines the locations to extract the JWT. For now it is only used by the Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
|
|
114
138
|
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) JWT locations can be one of HTTP headers, URL query parameters or cookies. The rule is
|
|
115
139
|
* that the first match wins. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
|
|
116
140
|
* locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token
|
|
117
141
|
*/
|
|
118
|
-
jwtLocations?:
|
|
142
|
+
jwtLocations?:
|
|
143
|
+
JwtLocation[];
|
|
119
144
|
}
|
|
120
145
|
interface AuthRequirement {
|
|
121
146
|
/**
|
|
@@ -125,13 +150,16 @@ declare namespace gapi.client {
|
|
|
125
150
|
* accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences:
|
|
126
151
|
* bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com
|
|
127
152
|
*/
|
|
128
|
-
audiences?:
|
|
153
|
+
audiences?:
|
|
154
|
+
string;
|
|
129
155
|
/** id from authentication provider. Example: provider_id: bookstore_auth */
|
|
130
|
-
providerId?:
|
|
156
|
+
providerId?:
|
|
157
|
+
string;
|
|
131
158
|
}
|
|
132
159
|
interface Backend {
|
|
133
160
|
/** A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. */
|
|
134
|
-
rules?:
|
|
161
|
+
rules?:
|
|
162
|
+
BackendRule[];
|
|
135
163
|
}
|
|
136
164
|
interface BackendRule {
|
|
137
165
|
/**
|
|
@@ -139,40 +167,52 @@ declare namespace gapi.client {
|
|
|
139
167
|
* https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If
|
|
140
168
|
* the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version.
|
|
141
169
|
*/
|
|
142
|
-
address?:
|
|
170
|
+
address?:
|
|
171
|
+
string;
|
|
143
172
|
/** The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment. */
|
|
144
|
-
deadline?:
|
|
173
|
+
deadline?:
|
|
174
|
+
number;
|
|
145
175
|
/**
|
|
146
176
|
* When disable_auth is true, a JWT ID token won't be generated and the original "Authorization" HTTP header will be preserved. If the header is used to carry the original token and is
|
|
147
177
|
* expected by the backend, this field must be set to true to preserve the header.
|
|
148
178
|
*/
|
|
149
|
-
disableAuth?:
|
|
179
|
+
disableAuth?:
|
|
180
|
+
boolean;
|
|
150
181
|
/** The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend. */
|
|
151
|
-
jwtAudience?:
|
|
182
|
+
jwtAudience?:
|
|
183
|
+
string;
|
|
152
184
|
/** Deprecated, do not use. */
|
|
153
|
-
minDeadline?:
|
|
185
|
+
minDeadline?:
|
|
186
|
+
number;
|
|
154
187
|
/** The number of seconds to wait for the completion of a long running operation. The default is no deadline. */
|
|
155
|
-
operationDeadline?:
|
|
188
|
+
operationDeadline?:
|
|
189
|
+
number;
|
|
156
190
|
/** The map between request protocol and the backend address. */
|
|
157
|
-
overridesByRequestProtocol?:
|
|
158
|
-
|
|
191
|
+
overridesByRequestProtocol?:
|
|
192
|
+
{ [P in string]: BackendRule };
|
|
193
|
+
pathTranslation?:
|
|
194
|
+
string;
|
|
159
195
|
/**
|
|
160
196
|
* The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME
|
|
161
197
|
* PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance.
|
|
162
198
|
* Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See
|
|
163
199
|
* https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.
|
|
164
200
|
*/
|
|
165
|
-
protocol?:
|
|
201
|
+
protocol?:
|
|
202
|
+
string;
|
|
166
203
|
/** Selects the methods to which this rule applies. Refer to selector for syntax details. */
|
|
167
|
-
selector?:
|
|
204
|
+
selector?:
|
|
205
|
+
string;
|
|
168
206
|
}
|
|
169
207
|
interface BatchCreateAdminOverridesResponse {
|
|
170
208
|
/** The overrides that were created. */
|
|
171
|
-
overrides?:
|
|
209
|
+
overrides?:
|
|
210
|
+
QuotaOverride[];
|
|
172
211
|
}
|
|
173
212
|
interface BatchCreateConsumerOverridesResponse {
|
|
174
213
|
/** The overrides that were created. */
|
|
175
|
-
overrides?:
|
|
214
|
+
overrides?:
|
|
215
|
+
QuotaOverride[];
|
|
176
216
|
}
|
|
177
217
|
interface BatchEnableServicesRequest {
|
|
178
218
|
/**
|
|
@@ -180,170 +220,221 @@ declare namespace gapi.client {
|
|
|
180
220
|
* shared with the user enabling the service. Two or more services must be specified. To enable a single service, use the `EnableService` method instead. A single request can enable a
|
|
181
221
|
* maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.
|
|
182
222
|
*/
|
|
183
|
-
serviceIds?:
|
|
223
|
+
serviceIds?:
|
|
224
|
+
string[];
|
|
184
225
|
}
|
|
185
226
|
interface BatchEnableServicesResponse {
|
|
186
227
|
/** If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure. */
|
|
187
|
-
failures?:
|
|
228
|
+
failures?:
|
|
229
|
+
EnableFailure[];
|
|
188
230
|
/** The new state of the services after enabling. */
|
|
189
|
-
services?:
|
|
231
|
+
services?:
|
|
232
|
+
GoogleApiServiceusageV1Service[];
|
|
190
233
|
}
|
|
191
234
|
interface Billing {
|
|
192
235
|
/**
|
|
193
236
|
* Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type.
|
|
194
237
|
* A metric can be used in at most one consumer destination.
|
|
195
238
|
*/
|
|
196
|
-
consumerDestinations?:
|
|
239
|
+
consumerDestinations?:
|
|
240
|
+
BillingDestination[];
|
|
197
241
|
}
|
|
198
242
|
interface BillingDestination {
|
|
199
243
|
/** Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section. */
|
|
200
|
-
metrics?:
|
|
244
|
+
metrics?:
|
|
245
|
+
string[];
|
|
201
246
|
/** The monitored resource type. The type must be defined in Service.monitored_resources section. */
|
|
202
|
-
monitoredResource?:
|
|
247
|
+
monitoredResource?:
|
|
248
|
+
string;
|
|
203
249
|
}
|
|
204
250
|
interface ClientLibrarySettings {
|
|
205
251
|
/** Settings for C++ client libraries. */
|
|
206
|
-
cppSettings?:
|
|
252
|
+
cppSettings?:
|
|
253
|
+
CppSettings;
|
|
207
254
|
/** Settings for .NET client libraries. */
|
|
208
|
-
dotnetSettings?:
|
|
255
|
+
dotnetSettings?:
|
|
256
|
+
DotnetSettings;
|
|
209
257
|
/** Settings for Go client libraries. */
|
|
210
|
-
goSettings?:
|
|
258
|
+
goSettings?:
|
|
259
|
+
GoSettings;
|
|
211
260
|
/** Settings for legacy Java features, supported in the Service YAML. */
|
|
212
|
-
javaSettings?:
|
|
261
|
+
javaSettings?:
|
|
262
|
+
JavaSettings;
|
|
213
263
|
/** Launch stage of this version of the API. */
|
|
214
|
-
launchStage?:
|
|
264
|
+
launchStage?:
|
|
265
|
+
string;
|
|
215
266
|
/** Settings for Node client libraries. */
|
|
216
|
-
nodeSettings?:
|
|
267
|
+
nodeSettings?:
|
|
268
|
+
NodeSettings;
|
|
217
269
|
/** Settings for PHP client libraries. */
|
|
218
|
-
phpSettings?:
|
|
270
|
+
phpSettings?:
|
|
271
|
+
PhpSettings;
|
|
219
272
|
/** Settings for Python client libraries. */
|
|
220
|
-
pythonSettings?:
|
|
273
|
+
pythonSettings?:
|
|
274
|
+
PythonSettings;
|
|
221
275
|
/** When using transport=rest, the client request will encode enums as numbers rather than strings. */
|
|
222
|
-
restNumericEnums?:
|
|
276
|
+
restNumericEnums?:
|
|
277
|
+
boolean;
|
|
223
278
|
/** Settings for Ruby client libraries. */
|
|
224
|
-
rubySettings?:
|
|
279
|
+
rubySettings?:
|
|
280
|
+
RubySettings;
|
|
225
281
|
/**
|
|
226
282
|
* Version of the API to apply these settings to. This is the full protobuf package for the API, ending in the version element. Examples: "google.cloud.speech.v1" and
|
|
227
283
|
* "google.spanner.admin.database.v1".
|
|
228
284
|
*/
|
|
229
|
-
version?:
|
|
285
|
+
version?:
|
|
286
|
+
string;
|
|
230
287
|
}
|
|
231
288
|
interface CommonLanguageSettings {
|
|
232
289
|
/** The destination where API teams want this client library to be published. */
|
|
233
|
-
destinations?:
|
|
290
|
+
destinations?:
|
|
291
|
+
string[];
|
|
234
292
|
/** Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest */
|
|
235
|
-
referenceDocsUri?:
|
|
293
|
+
referenceDocsUri?:
|
|
294
|
+
string;
|
|
236
295
|
}
|
|
237
296
|
interface ConsumerPolicy {
|
|
238
297
|
/**
|
|
239
298
|
* Optional. Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and
|
|
240
299
|
* should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
|
|
241
300
|
*/
|
|
242
|
-
annotations?:
|
|
301
|
+
annotations?:
|
|
302
|
+
{ [P in string]: string };
|
|
243
303
|
/** Enable rules define usable services and service groups. */
|
|
244
|
-
enableRules?:
|
|
304
|
+
enableRules?:
|
|
305
|
+
EnableRule[];
|
|
245
306
|
/** An opaque tag indicating the current version of the policy, used for concurrency control. */
|
|
246
|
-
etag?:
|
|
307
|
+
etag?:
|
|
308
|
+
string;
|
|
247
309
|
/** Output only. The resource name of the policy. For example, `projects/12345/consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/consumerPolicy`. */
|
|
248
|
-
name?:
|
|
310
|
+
name?:
|
|
311
|
+
string;
|
|
249
312
|
/** The last-modified time. */
|
|
250
|
-
updateTime?:
|
|
313
|
+
updateTime?:
|
|
314
|
+
string;
|
|
251
315
|
}
|
|
252
316
|
interface ConsumerQuotaLimit {
|
|
253
317
|
/** Whether admin overrides are allowed on this limit */
|
|
254
|
-
allowsAdminOverrides?:
|
|
318
|
+
allowsAdminOverrides?:
|
|
319
|
+
boolean;
|
|
255
320
|
/** Whether this limit is precise or imprecise. */
|
|
256
|
-
isPrecise?:
|
|
321
|
+
isPrecise?:
|
|
322
|
+
boolean;
|
|
257
323
|
/** The name of the parent metric of this limit. An example name would be: `compute.googleapis.com/cpus` */
|
|
258
|
-
metric?:
|
|
324
|
+
metric?:
|
|
325
|
+
string;
|
|
259
326
|
/**
|
|
260
327
|
* The resource name of the quota limit. An example name would be:
|
|
261
328
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` The resource name is intended to be opaque and should
|
|
262
329
|
* not be parsed for its component strings, since its representation could change in the future.
|
|
263
330
|
*/
|
|
264
|
-
name?:
|
|
331
|
+
name?:
|
|
332
|
+
string;
|
|
265
333
|
/**
|
|
266
334
|
* Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions,
|
|
267
335
|
* will always appear first).
|
|
268
336
|
*/
|
|
269
|
-
quotaBuckets?:
|
|
337
|
+
quotaBuckets?:
|
|
338
|
+
QuotaBucket[];
|
|
270
339
|
/** List of all supported locations. This field is present only if the limit has a {region} or {zone} dimension. */
|
|
271
|
-
supportedLocations?:
|
|
340
|
+
supportedLocations?:
|
|
341
|
+
string[];
|
|
272
342
|
/**
|
|
273
343
|
* The limit unit. An example unit would be `1/{project}/{region}` Note that `{project}` and `{region}` are not placeholders in this example; the literal characters `{` and `}` occur
|
|
274
344
|
* in the string.
|
|
275
345
|
*/
|
|
276
|
-
unit?:
|
|
346
|
+
unit?:
|
|
347
|
+
string;
|
|
277
348
|
}
|
|
278
349
|
interface ConsumerQuotaMetric {
|
|
279
350
|
/** The consumer quota for each quota limit defined on the metric. */
|
|
280
|
-
consumerQuotaLimits?:
|
|
351
|
+
consumerQuotaLimits?:
|
|
352
|
+
ConsumerQuotaLimit[];
|
|
281
353
|
/**
|
|
282
354
|
* The quota limits targeting the descendant containers of the consumer in request. If the consumer in request is of type `organizations` or `folders`, the field will list per-project
|
|
283
355
|
* limits in the metric; if the consumer in request is of type `project`, the field will be empty. The `quota_buckets` field of each descendant consumer quota limit will not be
|
|
284
356
|
* populated.
|
|
285
357
|
*/
|
|
286
|
-
descendantConsumerQuotaLimits?:
|
|
358
|
+
descendantConsumerQuotaLimits?:
|
|
359
|
+
ConsumerQuotaLimit[];
|
|
287
360
|
/** The display name of the metric. An example name would be: `CPUs` */
|
|
288
|
-
displayName?:
|
|
361
|
+
displayName?:
|
|
362
|
+
string;
|
|
289
363
|
/** The name of the metric. An example name would be: `compute.googleapis.com/cpus` */
|
|
290
|
-
metric?:
|
|
364
|
+
metric?:
|
|
365
|
+
string;
|
|
291
366
|
/**
|
|
292
367
|
* The resource name of the quota settings on this metric for this consumer. An example name would be:
|
|
293
368
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus` The resource name is intended to be opaque and should not be parsed for its
|
|
294
369
|
* component strings, since its representation could change in the future.
|
|
295
370
|
*/
|
|
296
|
-
name?:
|
|
371
|
+
name?:
|
|
372
|
+
string;
|
|
297
373
|
/** The units in which the metric value is reported. */
|
|
298
|
-
unit?:
|
|
374
|
+
unit?:
|
|
375
|
+
string;
|
|
299
376
|
}
|
|
300
377
|
interface Context {
|
|
301
378
|
/** A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. */
|
|
302
|
-
rules?:
|
|
379
|
+
rules?:
|
|
380
|
+
ContextRule[];
|
|
303
381
|
}
|
|
304
382
|
interface ContextRule {
|
|
305
383
|
/** A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. */
|
|
306
|
-
allowedRequestExtensions?:
|
|
384
|
+
allowedRequestExtensions?:
|
|
385
|
+
string[];
|
|
307
386
|
/** A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. */
|
|
308
|
-
allowedResponseExtensions?:
|
|
387
|
+
allowedResponseExtensions?:
|
|
388
|
+
string[];
|
|
309
389
|
/** A list of full type names of provided contexts. */
|
|
310
|
-
provided?:
|
|
390
|
+
provided?:
|
|
391
|
+
string[];
|
|
311
392
|
/** A list of full type names of requested contexts. */
|
|
312
|
-
requested?:
|
|
393
|
+
requested?:
|
|
394
|
+
string[];
|
|
313
395
|
/** Selects the methods to which this rule applies. Refer to selector for syntax details. */
|
|
314
|
-
selector?:
|
|
396
|
+
selector?:
|
|
397
|
+
string;
|
|
315
398
|
}
|
|
316
399
|
interface Control {
|
|
317
400
|
/**
|
|
318
401
|
* The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is
|
|
319
402
|
* servicecontrol.googleapis.com
|
|
320
403
|
*/
|
|
321
|
-
environment?:
|
|
404
|
+
environment?:
|
|
405
|
+
string;
|
|
322
406
|
}
|
|
323
407
|
interface CppSettings {
|
|
324
408
|
/** Some settings. */
|
|
325
|
-
common?:
|
|
409
|
+
common?:
|
|
410
|
+
CommonLanguageSettings;
|
|
326
411
|
}
|
|
327
412
|
// tslint:disable-next-line:no-empty-interface
|
|
328
413
|
interface CreateAdminQuotaPolicyMetadata {
|
|
329
414
|
}
|
|
330
415
|
interface CustomError {
|
|
331
416
|
/** The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order. */
|
|
332
|
-
rules?:
|
|
417
|
+
rules?:
|
|
418
|
+
CustomErrorRule[];
|
|
333
419
|
/** The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. */
|
|
334
|
-
types?:
|
|
420
|
+
types?:
|
|
421
|
+
string[];
|
|
335
422
|
}
|
|
336
423
|
interface CustomErrorRule {
|
|
337
424
|
/** Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. */
|
|
338
|
-
isErrorType?:
|
|
425
|
+
isErrorType?:
|
|
426
|
+
boolean;
|
|
339
427
|
/** Selects messages to which this rule applies. Refer to selector for syntax details. */
|
|
340
|
-
selector?:
|
|
428
|
+
selector?:
|
|
429
|
+
string;
|
|
341
430
|
}
|
|
342
431
|
interface CustomHttpPattern {
|
|
343
432
|
/** The name of this custom HTTP verb. */
|
|
344
|
-
kind?:
|
|
433
|
+
kind?:
|
|
434
|
+
string;
|
|
345
435
|
/** The path matched by this custom verb. */
|
|
346
|
-
path?:
|
|
436
|
+
path?:
|
|
437
|
+
string;
|
|
347
438
|
}
|
|
348
439
|
// tslint:disable-next-line:no-empty-interface
|
|
349
440
|
interface DeleteAdminQuotaPolicyMetadata {
|
|
@@ -353,160 +444,209 @@ declare namespace gapi.client {
|
|
|
353
444
|
}
|
|
354
445
|
interface DisableServiceResponse {
|
|
355
446
|
/** The new state of the service after disabling. */
|
|
356
|
-
service?:
|
|
447
|
+
service?:
|
|
448
|
+
GoogleApiServiceusageV1Service;
|
|
357
449
|
}
|
|
358
450
|
interface Documentation {
|
|
359
451
|
/** The URL to the root of documentation. */
|
|
360
|
-
documentationRootUrl?:
|
|
452
|
+
documentationRootUrl?:
|
|
453
|
+
string;
|
|
361
454
|
/**
|
|
362
455
|
* Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style):
|
|
363
456
|
* documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.
|
|
364
457
|
*/
|
|
365
|
-
overview?:
|
|
458
|
+
overview?:
|
|
459
|
+
string;
|
|
366
460
|
/** The top level pages for the documentation set. */
|
|
367
|
-
pages?:
|
|
461
|
+
pages?:
|
|
462
|
+
Page[];
|
|
368
463
|
/** A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order. */
|
|
369
|
-
rules?:
|
|
464
|
+
rules?:
|
|
465
|
+
DocumentationRule[];
|
|
370
466
|
/**
|
|
371
467
|
* Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections
|
|
372
468
|
* that show a base that other urls are relative to.
|
|
373
469
|
*/
|
|
374
|
-
serviceRootUrl?:
|
|
470
|
+
serviceRootUrl?:
|
|
471
|
+
string;
|
|
375
472
|
/**
|
|
376
473
|
* A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is
|
|
377
474
|
* equivalent to the standard field `description`.
|
|
378
475
|
*/
|
|
379
|
-
summary?:
|
|
476
|
+
summary?:
|
|
477
|
+
string;
|
|
380
478
|
}
|
|
381
479
|
interface DocumentationRule {
|
|
382
480
|
/** Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. */
|
|
383
|
-
deprecationDescription?:
|
|
481
|
+
deprecationDescription?:
|
|
482
|
+
string;
|
|
384
483
|
/**
|
|
385
484
|
* Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source
|
|
386
485
|
* definition of the proto element.
|
|
387
486
|
*/
|
|
388
|
-
description?:
|
|
487
|
+
description?:
|
|
488
|
+
string;
|
|
489
|
+
/** String of comma or space separated case-sensitive words for which method/field name replacement will be disabled by go/api-docgen. */
|
|
490
|
+
disableReplacementWords?:
|
|
491
|
+
string;
|
|
389
492
|
/**
|
|
390
493
|
* The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. Each pattern is a qualified name of the element which may end in "*",
|
|
391
494
|
* indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will
|
|
392
495
|
* match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
|
|
393
496
|
*/
|
|
394
|
-
selector?:
|
|
497
|
+
selector?:
|
|
498
|
+
string;
|
|
395
499
|
}
|
|
396
500
|
interface DotnetSettings {
|
|
397
501
|
/** Some settings. */
|
|
398
|
-
common?:
|
|
502
|
+
common?:
|
|
503
|
+
CommonLanguageSettings;
|
|
399
504
|
/** Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision */
|
|
400
|
-
forcedNamespaceAliases?:
|
|
505
|
+
forcedNamespaceAliases?:
|
|
506
|
+
string[];
|
|
401
507
|
/** Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however. */
|
|
402
|
-
handwrittenSignatures?:
|
|
508
|
+
handwrittenSignatures?:
|
|
509
|
+
string[];
|
|
403
510
|
/**
|
|
404
511
|
* List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were
|
|
405
512
|
* actually the common Location resources. Example entry: "documentai.googleapis.com/Location"
|
|
406
513
|
*/
|
|
407
|
-
ignoredResources?:
|
|
514
|
+
ignoredResources?:
|
|
515
|
+
string[];
|
|
408
516
|
/**
|
|
409
517
|
* Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example
|
|
410
518
|
* entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
|
411
519
|
*/
|
|
412
|
-
renamedResources?:
|
|
520
|
+
renamedResources?:
|
|
521
|
+
{ [P in string]: string };
|
|
413
522
|
/**
|
|
414
523
|
* Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example:
|
|
415
524
|
* Subscriber to SubscriberServiceApi.
|
|
416
525
|
*/
|
|
417
|
-
renamedServices?:
|
|
526
|
+
renamedServices?:
|
|
527
|
+
{ [P in string]: string };
|
|
418
528
|
}
|
|
419
529
|
// tslint:disable-next-line:no-empty-interface
|
|
420
530
|
interface Empty {
|
|
421
531
|
}
|
|
422
532
|
interface EnableFailure {
|
|
423
533
|
/** An error message describing why the service could not be enabled. */
|
|
424
|
-
errorMessage?:
|
|
534
|
+
errorMessage?:
|
|
535
|
+
string;
|
|
425
536
|
/** The service id of a service that could not be enabled. */
|
|
426
|
-
serviceId?:
|
|
537
|
+
serviceId?:
|
|
538
|
+
string;
|
|
427
539
|
}
|
|
428
540
|
interface EnableRule {
|
|
429
541
|
/** Client and resource project enable type. */
|
|
430
|
-
enableType?:
|
|
542
|
+
enableType?:
|
|
543
|
+
string;
|
|
431
544
|
/**
|
|
432
545
|
* DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). go/predefined-service-groups.
|
|
433
546
|
* Example: `groups/googleServices`.
|
|
434
547
|
*/
|
|
435
|
-
groups?:
|
|
548
|
+
groups?:
|
|
549
|
+
string[];
|
|
436
550
|
/** DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the services that are enabled. Example: `storage.googleapis.com`. */
|
|
437
|
-
services?:
|
|
551
|
+
services?:
|
|
552
|
+
string[];
|
|
438
553
|
/** The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`. */
|
|
439
|
-
values?:
|
|
554
|
+
values?:
|
|
555
|
+
string[];
|
|
440
556
|
}
|
|
441
557
|
// tslint:disable-next-line:no-empty-interface
|
|
442
558
|
interface EnableServiceRequest {
|
|
443
559
|
}
|
|
444
560
|
interface EnableServiceResponse {
|
|
445
561
|
/** The new state of the service after enabling. */
|
|
446
|
-
service?:
|
|
562
|
+
service?:
|
|
563
|
+
GoogleApiServiceusageV1Service;
|
|
447
564
|
}
|
|
448
565
|
interface Endpoint {
|
|
449
566
|
/**
|
|
450
567
|
* Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases.
|
|
451
568
|
* Additional names that this endpoint will be hosted on.
|
|
452
569
|
*/
|
|
453
|
-
aliases?:
|
|
570
|
+
aliases?:
|
|
571
|
+
string[];
|
|
454
572
|
/**
|
|
455
573
|
* Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to
|
|
456
574
|
* HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.
|
|
457
575
|
*/
|
|
458
|
-
allowCors?:
|
|
576
|
+
allowCors?:
|
|
577
|
+
boolean;
|
|
459
578
|
/** The canonical name of this endpoint. */
|
|
460
|
-
name?:
|
|
579
|
+
name?:
|
|
580
|
+
string;
|
|
461
581
|
/**
|
|
462
582
|
* The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be
|
|
463
583
|
* either a valid IPv4 address or a fully-qualified domain name. For example, "8.8.8.8" or "myservice.appspot.com".
|
|
464
584
|
*/
|
|
465
|
-
target?:
|
|
585
|
+
target?:
|
|
586
|
+
string;
|
|
466
587
|
}
|
|
467
588
|
interface Enum {
|
|
468
589
|
/** The source edition string, only valid when syntax is SYNTAX_EDITIONS. */
|
|
469
|
-
edition?:
|
|
590
|
+
edition?:
|
|
591
|
+
string;
|
|
470
592
|
/** Enum value definitions. */
|
|
471
|
-
enumvalue?:
|
|
593
|
+
enumvalue?:
|
|
594
|
+
EnumValue[];
|
|
472
595
|
/** Enum type name. */
|
|
473
|
-
name?:
|
|
596
|
+
name?:
|
|
597
|
+
string;
|
|
474
598
|
/** Protocol buffer options. */
|
|
475
|
-
options?:
|
|
599
|
+
options?:
|
|
600
|
+
Option[];
|
|
476
601
|
/** The source context. */
|
|
477
|
-
sourceContext?:
|
|
602
|
+
sourceContext?:
|
|
603
|
+
SourceContext;
|
|
478
604
|
/** The source syntax. */
|
|
479
|
-
syntax?:
|
|
605
|
+
syntax?:
|
|
606
|
+
string;
|
|
480
607
|
}
|
|
481
608
|
interface EnumValue {
|
|
482
609
|
/** Enum value name. */
|
|
483
|
-
name?:
|
|
610
|
+
name?:
|
|
611
|
+
string;
|
|
484
612
|
/** Enum value number. */
|
|
485
|
-
number?:
|
|
613
|
+
number?:
|
|
614
|
+
number;
|
|
486
615
|
/** Protocol buffer options. */
|
|
487
|
-
options?:
|
|
616
|
+
options?:
|
|
617
|
+
Option[];
|
|
488
618
|
}
|
|
489
619
|
interface Field {
|
|
490
620
|
/** The field cardinality. */
|
|
491
|
-
cardinality?:
|
|
621
|
+
cardinality?:
|
|
622
|
+
string;
|
|
492
623
|
/** The string value of the default value of this field. Proto2 syntax only. */
|
|
493
|
-
defaultValue?:
|
|
624
|
+
defaultValue?:
|
|
625
|
+
string;
|
|
494
626
|
/** The field JSON name. */
|
|
495
|
-
jsonName?:
|
|
627
|
+
jsonName?:
|
|
628
|
+
string;
|
|
496
629
|
/** The field type. */
|
|
497
|
-
kind?:
|
|
630
|
+
kind?:
|
|
631
|
+
string;
|
|
498
632
|
/** The field name. */
|
|
499
|
-
name?:
|
|
633
|
+
name?:
|
|
634
|
+
string;
|
|
500
635
|
/** The field number. */
|
|
501
|
-
number?:
|
|
636
|
+
number?:
|
|
637
|
+
number;
|
|
502
638
|
/** The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list. */
|
|
503
|
-
oneofIndex?:
|
|
639
|
+
oneofIndex?:
|
|
640
|
+
number;
|
|
504
641
|
/** The protocol buffer options. */
|
|
505
|
-
options?:
|
|
642
|
+
options?:
|
|
643
|
+
Option[];
|
|
506
644
|
/** Whether to use alternative packed wire representation. */
|
|
507
|
-
packed?:
|
|
645
|
+
packed?:
|
|
646
|
+
boolean;
|
|
508
647
|
/** The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. */
|
|
509
|
-
typeUrl?:
|
|
648
|
+
typeUrl?:
|
|
649
|
+
string;
|
|
510
650
|
}
|
|
511
651
|
// tslint:disable-next-line:no-empty-interface
|
|
512
652
|
interface GetServiceIdentityMetadata {
|
|
@@ -516,183 +656,245 @@ declare namespace gapi.client {
|
|
|
516
656
|
* Service identity that service producer can use to access consumer resources. If exists is true, it contains email and unique_id. If exists is false, it contains pre-constructed
|
|
517
657
|
* email and empty unique_id.
|
|
518
658
|
*/
|
|
519
|
-
identity?:
|
|
659
|
+
identity?:
|
|
660
|
+
ServiceIdentity;
|
|
520
661
|
/** Service identity state. */
|
|
521
|
-
state?:
|
|
662
|
+
state?:
|
|
663
|
+
string;
|
|
522
664
|
}
|
|
523
665
|
interface GoogleApiService {
|
|
524
666
|
/**
|
|
525
667
|
* A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be
|
|
526
668
|
* derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.
|
|
527
669
|
*/
|
|
528
|
-
apis?:
|
|
670
|
+
apis?:
|
|
671
|
+
Api[];
|
|
529
672
|
/** Auth configuration. */
|
|
530
|
-
authentication?:
|
|
673
|
+
authentication?:
|
|
674
|
+
Authentication;
|
|
531
675
|
/** API backend configuration. */
|
|
532
|
-
backend?:
|
|
676
|
+
backend?:
|
|
677
|
+
Backend;
|
|
533
678
|
/** Billing configuration. */
|
|
534
|
-
billing?:
|
|
679
|
+
billing?:
|
|
680
|
+
Billing;
|
|
535
681
|
/** Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`. */
|
|
536
|
-
configVersion?:
|
|
682
|
+
configVersion?:
|
|
683
|
+
number;
|
|
537
684
|
/** Context configuration. */
|
|
538
|
-
context?:
|
|
685
|
+
context?:
|
|
686
|
+
Context;
|
|
539
687
|
/** Configuration for the service control plane. */
|
|
540
|
-
control?:
|
|
688
|
+
control?:
|
|
689
|
+
Control;
|
|
541
690
|
/** Custom error configuration. */
|
|
542
|
-
customError?:
|
|
691
|
+
customError?:
|
|
692
|
+
CustomError;
|
|
543
693
|
/** Additional API documentation. */
|
|
544
|
-
documentation?:
|
|
694
|
+
documentation?:
|
|
695
|
+
Documentation;
|
|
545
696
|
/** Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. */
|
|
546
|
-
endpoints?:
|
|
697
|
+
endpoints?:
|
|
698
|
+
Endpoint[];
|
|
547
699
|
/**
|
|
548
700
|
* A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be
|
|
549
701
|
* included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum
|
|
550
702
|
*/
|
|
551
|
-
enums?:
|
|
703
|
+
enums?:
|
|
704
|
+
Enum[];
|
|
552
705
|
/** HTTP configuration. */
|
|
553
|
-
http?:
|
|
706
|
+
http?:
|
|
707
|
+
Http;
|
|
554
708
|
/**
|
|
555
709
|
* A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits,
|
|
556
710
|
* '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.
|
|
557
711
|
*/
|
|
558
|
-
id?:
|
|
712
|
+
id?:
|
|
713
|
+
string;
|
|
559
714
|
/** Logging configuration. */
|
|
560
|
-
logging?:
|
|
715
|
+
logging?:
|
|
716
|
+
Logging;
|
|
561
717
|
/** Defines the logs used by this service. */
|
|
562
|
-
logs?:
|
|
718
|
+
logs?:
|
|
719
|
+
LogDescriptor[];
|
|
563
720
|
/** Defines the metrics used by this service. */
|
|
564
|
-
metrics?:
|
|
721
|
+
metrics?:
|
|
722
|
+
MetricDescriptor[];
|
|
565
723
|
/** Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. */
|
|
566
|
-
monitoredResources?:
|
|
724
|
+
monitoredResources?:
|
|
725
|
+
MonitoredResourceDescriptor[];
|
|
567
726
|
/** Monitoring configuration. */
|
|
568
|
-
monitoring?:
|
|
727
|
+
monitoring?:
|
|
728
|
+
Monitoring;
|
|
569
729
|
/**
|
|
570
730
|
* The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure
|
|
571
731
|
* the owner of the service also owns the DNS name.
|
|
572
732
|
*/
|
|
573
|
-
name?:
|
|
733
|
+
name?:
|
|
734
|
+
string;
|
|
574
735
|
/** The Google project that owns this service. */
|
|
575
|
-
producerProjectId?:
|
|
736
|
+
producerProjectId?:
|
|
737
|
+
string;
|
|
576
738
|
/** Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers. */
|
|
577
|
-
publishing?:
|
|
739
|
+
publishing?:
|
|
740
|
+
Publishing;
|
|
578
741
|
/** Quota configuration. */
|
|
579
|
-
quota?:
|
|
742
|
+
quota?:
|
|
743
|
+
Quota;
|
|
580
744
|
/** Output only. The source information for this configuration if available. */
|
|
581
|
-
sourceInfo?:
|
|
745
|
+
sourceInfo?:
|
|
746
|
+
SourceInfo;
|
|
582
747
|
/** System parameter configuration. */
|
|
583
|
-
systemParameters?:
|
|
748
|
+
systemParameters?:
|
|
749
|
+
SystemParameters;
|
|
584
750
|
/**
|
|
585
751
|
* A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs.
|
|
586
752
|
* Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.
|
|
587
753
|
*/
|
|
588
|
-
systemTypes?:
|
|
754
|
+
systemTypes?:
|
|
755
|
+
Type[];
|
|
589
756
|
/** The product title for this service, it is the name displayed in Google Cloud Console. */
|
|
590
|
-
title?:
|
|
757
|
+
title?:
|
|
758
|
+
string;
|
|
591
759
|
/**
|
|
592
760
|
* A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced
|
|
593
761
|
* but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32
|
|
594
762
|
*/
|
|
595
|
-
types?:
|
|
763
|
+
types?:
|
|
764
|
+
Type[];
|
|
596
765
|
/** Configuration controlling usage of this service. */
|
|
597
|
-
usage?:
|
|
766
|
+
usage?:
|
|
767
|
+
Usage;
|
|
598
768
|
}
|
|
599
769
|
interface GoogleApiServiceusageV1beta1GetServiceIdentityResponse {
|
|
600
770
|
/**
|
|
601
771
|
* Service identity that service producer can use to access consumer resources. If exists is true, it contains email and unique_id. If exists is false, it contains pre-constructed
|
|
602
772
|
* email and empty unique_id.
|
|
603
773
|
*/
|
|
604
|
-
identity?:
|
|
774
|
+
identity?:
|
|
775
|
+
GoogleApiServiceusageV1beta1ServiceIdentity;
|
|
605
776
|
/** Service identity state. */
|
|
606
|
-
state?:
|
|
777
|
+
state?:
|
|
778
|
+
string;
|
|
607
779
|
}
|
|
608
780
|
interface GoogleApiServiceusageV1beta1ServiceIdentity {
|
|
609
781
|
/** The email address of the service account that a service producer would use to access consumer resources. */
|
|
610
|
-
email?:
|
|
782
|
+
email?:
|
|
783
|
+
string;
|
|
611
784
|
/** The unique and stable id of the service account. https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount */
|
|
612
|
-
uniqueId?:
|
|
785
|
+
uniqueId?:
|
|
786
|
+
string;
|
|
613
787
|
}
|
|
614
788
|
interface GoogleApiServiceusageV1OperationMetadata {
|
|
615
789
|
/** The full name of the resources that this operation is directly associated with. */
|
|
616
|
-
resourceNames?:
|
|
790
|
+
resourceNames?:
|
|
791
|
+
string[];
|
|
617
792
|
}
|
|
618
793
|
interface GoogleApiServiceusageV1Service {
|
|
619
794
|
/**
|
|
620
795
|
* The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in
|
|
621
796
|
* responses to the `GetService` method.
|
|
622
797
|
*/
|
|
623
|
-
config?:
|
|
798
|
+
config?:
|
|
799
|
+
GoogleApiServiceusageV1ServiceConfig;
|
|
624
800
|
/** The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com */
|
|
625
|
-
name?:
|
|
801
|
+
name?:
|
|
802
|
+
string;
|
|
626
803
|
/** The resource name of the consumer. A valid name would be: - projects/123 */
|
|
627
|
-
parent?:
|
|
804
|
+
parent?:
|
|
805
|
+
string;
|
|
628
806
|
/** Whether or not the service has been enabled for use by the consumer. */
|
|
629
|
-
state?:
|
|
807
|
+
state?:
|
|
808
|
+
string;
|
|
630
809
|
}
|
|
631
810
|
interface GoogleApiServiceusageV1ServiceConfig {
|
|
632
811
|
/** A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces. */
|
|
633
|
-
apis?:
|
|
812
|
+
apis?:
|
|
813
|
+
Api[];
|
|
634
814
|
/** Auth configuration. Contains only the OAuth rules. */
|
|
635
|
-
authentication?:
|
|
815
|
+
authentication?:
|
|
816
|
+
Authentication;
|
|
636
817
|
/** Additional API documentation. Contains only the summary and the documentation URL. */
|
|
637
|
-
documentation?:
|
|
818
|
+
documentation?:
|
|
819
|
+
Documentation;
|
|
638
820
|
/** Configuration for network endpoints. Contains only the names and aliases of the endpoints. */
|
|
639
|
-
endpoints?:
|
|
821
|
+
endpoints?:
|
|
822
|
+
Endpoint[];
|
|
640
823
|
/** Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. */
|
|
641
|
-
monitoredResources?:
|
|
824
|
+
monitoredResources?:
|
|
825
|
+
MonitoredResourceDescriptor[];
|
|
642
826
|
/** Monitoring configuration. This should not include the 'producer_destinations' field. */
|
|
643
|
-
monitoring?:
|
|
827
|
+
monitoring?:
|
|
828
|
+
Monitoring;
|
|
644
829
|
/** The DNS address at which this service is available. An example DNS address would be: `calendar.googleapis.com`. */
|
|
645
|
-
name?:
|
|
830
|
+
name?:
|
|
831
|
+
string;
|
|
646
832
|
/** Quota configuration. */
|
|
647
|
-
quota?:
|
|
833
|
+
quota?:
|
|
834
|
+
Quota;
|
|
648
835
|
/** The product title for this service. */
|
|
649
|
-
title?:
|
|
836
|
+
title?:
|
|
837
|
+
string;
|
|
650
838
|
/** Configuration controlling usage of this service. */
|
|
651
|
-
usage?:
|
|
839
|
+
usage?:
|
|
840
|
+
Usage;
|
|
652
841
|
}
|
|
653
842
|
interface GoSettings {
|
|
654
843
|
/** Some settings. */
|
|
655
|
-
common?:
|
|
844
|
+
common?:
|
|
845
|
+
CommonLanguageSettings;
|
|
656
846
|
}
|
|
657
847
|
interface Http {
|
|
658
848
|
/**
|
|
659
849
|
* When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default
|
|
660
850
|
* behavior is to not decode RFC 6570 reserved characters in multi segment matches.
|
|
661
851
|
*/
|
|
662
|
-
fullyDecodeReservedExpansion?:
|
|
852
|
+
fullyDecodeReservedExpansion?:
|
|
853
|
+
boolean;
|
|
663
854
|
/** A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. */
|
|
664
|
-
rules?:
|
|
855
|
+
rules?:
|
|
856
|
+
HttpRule[];
|
|
665
857
|
}
|
|
666
858
|
interface HttpRule {
|
|
667
859
|
/** Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep). */
|
|
668
|
-
additionalBindings?:
|
|
860
|
+
additionalBindings?:
|
|
861
|
+
HttpRule[];
|
|
669
862
|
/**
|
|
670
863
|
* The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for
|
|
671
864
|
* not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.
|
|
672
865
|
*/
|
|
673
|
-
body?:
|
|
866
|
+
body?:
|
|
867
|
+
string;
|
|
674
868
|
/**
|
|
675
869
|
* The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or "*" to leave the HTTP method unspecified for this rule. The
|
|
676
870
|
* wild-card rule is useful for services that provide content to Web (HTML) clients.
|
|
677
871
|
*/
|
|
678
|
-
custom?:
|
|
872
|
+
custom?:
|
|
873
|
+
CustomHttpPattern;
|
|
679
874
|
/** Maps to HTTP DELETE. Used for deleting a resource. */
|
|
680
|
-
delete?:
|
|
875
|
+
delete?:
|
|
876
|
+
string;
|
|
681
877
|
/** Maps to HTTP GET. Used for listing and getting information about resources. */
|
|
682
|
-
get?:
|
|
878
|
+
get?:
|
|
879
|
+
string;
|
|
683
880
|
/** Maps to HTTP PATCH. Used for updating a resource. */
|
|
684
|
-
patch?:
|
|
881
|
+
patch?:
|
|
882
|
+
string;
|
|
685
883
|
/** Maps to HTTP POST. Used for creating a resource or performing an action. */
|
|
686
|
-
post?:
|
|
884
|
+
post?:
|
|
885
|
+
string;
|
|
687
886
|
/** Maps to HTTP PUT. Used for replacing a resource. */
|
|
688
|
-
put?:
|
|
887
|
+
put?:
|
|
888
|
+
string;
|
|
689
889
|
/**
|
|
690
890
|
* Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The
|
|
691
891
|
* referred field must be present at the top-level of the response message type.
|
|
692
892
|
*/
|
|
693
|
-
responseBody?:
|
|
893
|
+
responseBody?:
|
|
894
|
+
string;
|
|
694
895
|
/** Selects a method to which this rule applies. Refer to selector for syntax details. */
|
|
695
|
-
selector?:
|
|
896
|
+
selector?:
|
|
897
|
+
string;
|
|
696
898
|
}
|
|
697
899
|
// tslint:disable-next-line:no-empty-interface
|
|
698
900
|
interface ImportAdminOverridesMetadata {
|
|
@@ -702,25 +904,30 @@ declare namespace gapi.client {
|
|
|
702
904
|
* Whether to force the creation of the quota overrides. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all
|
|
703
905
|
* such validations.
|
|
704
906
|
*/
|
|
705
|
-
force?:
|
|
907
|
+
force?:
|
|
908
|
+
boolean;
|
|
706
909
|
/**
|
|
707
910
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
708
911
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
709
912
|
*/
|
|
710
|
-
forceOnly?:
|
|
913
|
+
forceOnly?:
|
|
914
|
+
string[];
|
|
711
915
|
/** The import data is specified in the request message itself */
|
|
712
|
-
inlineSource?:
|
|
916
|
+
inlineSource?:
|
|
917
|
+
OverrideInlineSource;
|
|
713
918
|
}
|
|
714
919
|
interface ImportAdminOverridesResponse {
|
|
715
920
|
/** The overrides that were created from the imported data. */
|
|
716
|
-
overrides?:
|
|
921
|
+
overrides?:
|
|
922
|
+
QuotaOverride[];
|
|
717
923
|
}
|
|
718
924
|
// tslint:disable-next-line:no-empty-interface
|
|
719
925
|
interface ImportAdminQuotaPoliciesMetadata {
|
|
720
926
|
}
|
|
721
927
|
interface ImportAdminQuotaPoliciesResponse {
|
|
722
928
|
/** The policies that were created from the imported data. */
|
|
723
|
-
policies?:
|
|
929
|
+
policies?:
|
|
930
|
+
AdminQuotaPolicy[];
|
|
724
931
|
}
|
|
725
932
|
// tslint:disable-next-line:no-empty-interface
|
|
726
933
|
interface ImportConsumerOverridesMetadata {
|
|
@@ -730,146 +937,189 @@ declare namespace gapi.client {
|
|
|
730
937
|
* Whether to force the creation of the quota overrides. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all
|
|
731
938
|
* such validations.
|
|
732
939
|
*/
|
|
733
|
-
force?:
|
|
940
|
+
force?:
|
|
941
|
+
boolean;
|
|
734
942
|
/**
|
|
735
943
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
736
944
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
737
945
|
*/
|
|
738
|
-
forceOnly?:
|
|
946
|
+
forceOnly?:
|
|
947
|
+
string[];
|
|
739
948
|
/** The import data is specified in the request message itself */
|
|
740
|
-
inlineSource?:
|
|
949
|
+
inlineSource?:
|
|
950
|
+
OverrideInlineSource;
|
|
741
951
|
}
|
|
742
952
|
interface ImportConsumerOverridesResponse {
|
|
743
953
|
/** The overrides that were created from the imported data. */
|
|
744
|
-
overrides?:
|
|
954
|
+
overrides?:
|
|
955
|
+
QuotaOverride[];
|
|
745
956
|
}
|
|
746
957
|
interface JavaSettings {
|
|
747
958
|
/** Some settings. */
|
|
748
|
-
common?:
|
|
959
|
+
common?:
|
|
960
|
+
CommonLanguageSettings;
|
|
749
961
|
/**
|
|
750
962
|
* The package name to use in Java. Clobbers the java_package option set in the protobuf. This should be used **only** by APIs who have already set the
|
|
751
963
|
* language_settings.java.package_name" field in gapic.yaml. API teams should use the protobuf java_package option where possible. Example of a YAML configuration:: publishing:
|
|
752
964
|
* java_settings: library_package: com.google.cloud.pubsub.v1
|
|
753
965
|
*/
|
|
754
|
-
libraryPackage?:
|
|
966
|
+
libraryPackage?:
|
|
967
|
+
string;
|
|
755
968
|
/**
|
|
756
969
|
* Configure the Java class name to use instead of the service's for its corresponding generated GAPIC client. Keys are fully-qualified service names as they appear in the protobuf
|
|
757
970
|
* (including the full the language_settings.java.interface_names" field in gapic.yaml. API teams should otherwise use the service name as it appears in the protobuf. Example of a YAML
|
|
758
971
|
* configuration:: publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher: TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
|
759
972
|
*/
|
|
760
|
-
serviceClassNames?:
|
|
973
|
+
serviceClassNames?:
|
|
974
|
+
{ [P in string]: string };
|
|
761
975
|
}
|
|
762
976
|
interface JwtLocation {
|
|
763
977
|
/** Specifies cookie name to extract JWT token. */
|
|
764
|
-
cookie?:
|
|
978
|
+
cookie?:
|
|
979
|
+
string;
|
|
765
980
|
/** Specifies HTTP header name to extract JWT token. */
|
|
766
|
-
header?:
|
|
981
|
+
header?:
|
|
982
|
+
string;
|
|
767
983
|
/** Specifies URL query parameter name to extract JWT token. */
|
|
768
|
-
query?:
|
|
984
|
+
query?:
|
|
985
|
+
string;
|
|
769
986
|
/**
|
|
770
987
|
* The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case
|
|
771
988
|
* sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}",
|
|
772
989
|
* value_prefix="Bearer " with a space at the end.
|
|
773
990
|
*/
|
|
774
|
-
valuePrefix?:
|
|
991
|
+
valuePrefix?:
|
|
992
|
+
string;
|
|
775
993
|
}
|
|
776
994
|
interface LabelDescriptor {
|
|
777
995
|
/** A human-readable description for the label. */
|
|
778
|
-
description?:
|
|
996
|
+
description?:
|
|
997
|
+
string;
|
|
779
998
|
/** The label key. */
|
|
780
|
-
key?:
|
|
999
|
+
key?:
|
|
1000
|
+
string;
|
|
781
1001
|
/** The type of data that can be assigned to the label. */
|
|
782
|
-
valueType?:
|
|
1002
|
+
valueType?:
|
|
1003
|
+
string;
|
|
783
1004
|
}
|
|
784
1005
|
interface ListAdminOverridesResponse {
|
|
785
1006
|
/** Token identifying which result to start with; returned by a previous list call. */
|
|
786
|
-
nextPageToken?:
|
|
1007
|
+
nextPageToken?:
|
|
1008
|
+
string;
|
|
787
1009
|
/** Admin overrides on this limit. */
|
|
788
|
-
overrides?:
|
|
1010
|
+
overrides?:
|
|
1011
|
+
QuotaOverride[];
|
|
789
1012
|
}
|
|
790
1013
|
interface ListConsumerOverridesResponse {
|
|
791
1014
|
/** Token identifying which result to start with; returned by a previous list call. */
|
|
792
|
-
nextPageToken?:
|
|
1015
|
+
nextPageToken?:
|
|
1016
|
+
string;
|
|
793
1017
|
/** Consumer overrides on this limit. */
|
|
794
|
-
overrides?:
|
|
1018
|
+
overrides?:
|
|
1019
|
+
QuotaOverride[];
|
|
795
1020
|
}
|
|
796
1021
|
interface ListConsumerQuotaMetricsResponse {
|
|
797
1022
|
/** Quota settings for the consumer, organized by quota metric. */
|
|
798
|
-
metrics?:
|
|
1023
|
+
metrics?:
|
|
1024
|
+
ConsumerQuotaMetric[];
|
|
799
1025
|
/** Token identifying which result to start with; returned by a previous list call. */
|
|
800
|
-
nextPageToken?:
|
|
1026
|
+
nextPageToken?:
|
|
1027
|
+
string;
|
|
801
1028
|
}
|
|
802
1029
|
interface ListOperationsResponse {
|
|
803
1030
|
/** The standard List next-page token. */
|
|
804
|
-
nextPageToken?:
|
|
1031
|
+
nextPageToken?:
|
|
1032
|
+
string;
|
|
805
1033
|
/** A list of operations that matches the specified filter in the request. */
|
|
806
|
-
operations?:
|
|
1034
|
+
operations?:
|
|
1035
|
+
Operation[];
|
|
807
1036
|
}
|
|
808
1037
|
interface ListServicesResponse {
|
|
809
1038
|
/** Token that can be passed to `ListServices` to resume a paginated query. */
|
|
810
|
-
nextPageToken?:
|
|
1039
|
+
nextPageToken?:
|
|
1040
|
+
string;
|
|
811
1041
|
/** The available services for the requested project. */
|
|
812
|
-
services?:
|
|
1042
|
+
services?:
|
|
1043
|
+
Service[];
|
|
813
1044
|
}
|
|
814
1045
|
interface LogDescriptor {
|
|
815
1046
|
/** A human-readable description of this log. This information appears in the documentation and can contain details. */
|
|
816
|
-
description?:
|
|
1047
|
+
description?:
|
|
1048
|
+
string;
|
|
817
1049
|
/** The human-readable name for this log. This information appears on the user interface and should be concise. */
|
|
818
|
-
displayName?:
|
|
1050
|
+
displayName?:
|
|
1051
|
+
string;
|
|
819
1052
|
/** The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid. */
|
|
820
|
-
labels?:
|
|
1053
|
+
labels?:
|
|
1054
|
+
LabelDescriptor[];
|
|
821
1055
|
/**
|
|
822
1056
|
* The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation
|
|
823
1057
|
* characters including slash, underscore, hyphen, period [/_-.].
|
|
824
1058
|
*/
|
|
825
|
-
name?:
|
|
1059
|
+
name?:
|
|
1060
|
+
string;
|
|
826
1061
|
}
|
|
827
1062
|
interface Logging {
|
|
828
1063
|
/**
|
|
829
1064
|
* Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be
|
|
830
1065
|
* used in at most one consumer destination.
|
|
831
1066
|
*/
|
|
832
|
-
consumerDestinations?:
|
|
1067
|
+
consumerDestinations?:
|
|
1068
|
+
LoggingDestination[];
|
|
833
1069
|
/**
|
|
834
1070
|
* Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be
|
|
835
1071
|
* used in at most one producer destination.
|
|
836
1072
|
*/
|
|
837
|
-
producerDestinations?:
|
|
1073
|
+
producerDestinations?:
|
|
1074
|
+
LoggingDestination[];
|
|
838
1075
|
}
|
|
839
1076
|
interface LoggingDestination {
|
|
840
1077
|
/**
|
|
841
1078
|
* Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically
|
|
842
1079
|
* prefixed with the service name followed by "/".
|
|
843
1080
|
*/
|
|
844
|
-
logs?:
|
|
1081
|
+
logs?:
|
|
1082
|
+
string[];
|
|
845
1083
|
/** The monitored resource type. The type must be defined in the Service.monitored_resources section. */
|
|
846
|
-
monitoredResource?:
|
|
1084
|
+
monitoredResource?:
|
|
1085
|
+
string;
|
|
847
1086
|
}
|
|
848
1087
|
interface LongRunning {
|
|
849
1088
|
/** Initial delay after which the first poll request will be made. Default value: 5 seconds. */
|
|
850
|
-
initialPollDelay?:
|
|
1089
|
+
initialPollDelay?:
|
|
1090
|
+
string;
|
|
851
1091
|
/** Maximum time between two subsequent poll requests. Default value: 45 seconds. */
|
|
852
|
-
maxPollDelay?:
|
|
1092
|
+
maxPollDelay?:
|
|
1093
|
+
string;
|
|
853
1094
|
/** Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5. */
|
|
854
|
-
pollDelayMultiplier?:
|
|
1095
|
+
pollDelayMultiplier?:
|
|
1096
|
+
number;
|
|
855
1097
|
/** Total polling timeout. Default value: 5 minutes. */
|
|
856
|
-
totalPollTimeout?:
|
|
1098
|
+
totalPollTimeout?:
|
|
1099
|
+
string;
|
|
857
1100
|
}
|
|
858
1101
|
interface Method {
|
|
859
1102
|
/** The simple name of this method. */
|
|
860
|
-
name?:
|
|
1103
|
+
name?:
|
|
1104
|
+
string;
|
|
861
1105
|
/** Any metadata attached to the method. */
|
|
862
|
-
options?:
|
|
1106
|
+
options?:
|
|
1107
|
+
Option[];
|
|
863
1108
|
/** If true, the request is streamed. */
|
|
864
|
-
requestStreaming?:
|
|
1109
|
+
requestStreaming?:
|
|
1110
|
+
boolean;
|
|
865
1111
|
/** A URL of the input message type. */
|
|
866
|
-
requestTypeUrl?:
|
|
1112
|
+
requestTypeUrl?:
|
|
1113
|
+
string;
|
|
867
1114
|
/** If true, the response is streamed. */
|
|
868
|
-
responseStreaming?:
|
|
1115
|
+
responseStreaming?:
|
|
1116
|
+
boolean;
|
|
869
1117
|
/** The URL of the output message type. */
|
|
870
|
-
responseTypeUrl?:
|
|
1118
|
+
responseTypeUrl?:
|
|
1119
|
+
string;
|
|
871
1120
|
/** The source syntax of this method. */
|
|
872
|
-
syntax?:
|
|
1121
|
+
syntax?:
|
|
1122
|
+
string;
|
|
873
1123
|
}
|
|
874
1124
|
interface MethodSettings {
|
|
875
1125
|
/**
|
|
@@ -877,42 +1127,53 @@ declare namespace gapi.client {
|
|
|
877
1127
|
* of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: seconds: 60 # 1 minute
|
|
878
1128
|
* poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes
|
|
879
1129
|
*/
|
|
880
|
-
longRunning?:
|
|
1130
|
+
longRunning?:
|
|
1131
|
+
LongRunning;
|
|
881
1132
|
/** The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. */
|
|
882
|
-
selector?:
|
|
1133
|
+
selector?:
|
|
1134
|
+
string;
|
|
883
1135
|
}
|
|
884
1136
|
interface MetricDescriptor {
|
|
885
1137
|
/** A detailed description of the metric, which can be used in documentation. */
|
|
886
|
-
description?:
|
|
1138
|
+
description?:
|
|
1139
|
+
string;
|
|
887
1140
|
/**
|
|
888
1141
|
* A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is
|
|
889
1142
|
* recommended to be set for any metrics associated with user-visible concepts, such as Quota.
|
|
890
1143
|
*/
|
|
891
|
-
displayName?:
|
|
1144
|
+
displayName?:
|
|
1145
|
+
string;
|
|
892
1146
|
/**
|
|
893
1147
|
* The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a
|
|
894
1148
|
* label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed.
|
|
895
1149
|
*/
|
|
896
|
-
labels?:
|
|
1150
|
+
labels?:
|
|
1151
|
+
LabelDescriptor[];
|
|
897
1152
|
/** Optional. The launch stage of the metric definition. */
|
|
898
|
-
launchStage?:
|
|
1153
|
+
launchStage?:
|
|
1154
|
+
string;
|
|
899
1155
|
/** Optional. Metadata which can be used to guide usage of the metric. */
|
|
900
|
-
metadata?:
|
|
1156
|
+
metadata?:
|
|
1157
|
+
MetricDescriptorMetadata;
|
|
901
1158
|
/** Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported. */
|
|
902
|
-
metricKind?:
|
|
1159
|
+
metricKind?:
|
|
1160
|
+
string;
|
|
903
1161
|
/**
|
|
904
1162
|
* Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be
|
|
905
1163
|
* associated with one of the monitored resource types listed here.
|
|
906
1164
|
*/
|
|
907
|
-
monitoredResourceTypes?:
|
|
1165
|
+
monitoredResourceTypes?:
|
|
1166
|
+
string[];
|
|
908
1167
|
/** The resource name of the metric descriptor. */
|
|
909
|
-
name?:
|
|
1168
|
+
name?:
|
|
1169
|
+
string;
|
|
910
1170
|
/**
|
|
911
1171
|
* The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`.
|
|
912
1172
|
* Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up"
|
|
913
1173
|
* "appengine.googleapis.com/http/server/response_latencies"
|
|
914
1174
|
*/
|
|
915
|
-
type?:
|
|
1175
|
+
type?:
|
|
1176
|
+
string;
|
|
916
1177
|
/**
|
|
917
1178
|
* The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the
|
|
918
1179
|
* stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_
|
|
@@ -935,62 +1196,77 @@ declare namespace gapi.client {
|
|
|
935
1196
|
* giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means "3 percent"). * `10^2.%` indicates a metric contains a ratio, typically
|
|
936
1197
|
* in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means "3 percent").
|
|
937
1198
|
*/
|
|
938
|
-
unit?:
|
|
1199
|
+
unit?:
|
|
1200
|
+
string;
|
|
939
1201
|
/** Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported. */
|
|
940
|
-
valueType?:
|
|
1202
|
+
valueType?:
|
|
1203
|
+
string;
|
|
941
1204
|
}
|
|
942
1205
|
interface MetricDescriptorMetadata {
|
|
943
1206
|
/** The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. */
|
|
944
|
-
ingestDelay?:
|
|
1207
|
+
ingestDelay?:
|
|
1208
|
+
string;
|
|
945
1209
|
/** Deprecated. Must use the MetricDescriptor.launch_stage instead. */
|
|
946
|
-
launchStage?:
|
|
1210
|
+
launchStage?:
|
|
1211
|
+
string;
|
|
947
1212
|
/**
|
|
948
1213
|
* The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors.
|
|
949
1214
|
* Metrics with a higher granularity have a smaller sampling period.
|
|
950
1215
|
*/
|
|
951
|
-
samplePeriod?:
|
|
1216
|
+
samplePeriod?:
|
|
1217
|
+
string;
|
|
952
1218
|
}
|
|
953
1219
|
interface MetricRule {
|
|
954
1220
|
/**
|
|
955
1221
|
* 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
|
|
956
1222
|
* increased for the metric against which the quota limits are defined. The value must not be negative.
|
|
957
1223
|
*/
|
|
958
|
-
metricCosts?:
|
|
1224
|
+
metricCosts?:
|
|
1225
|
+
{ [P in string]: string };
|
|
959
1226
|
/** Selects the methods to which this rule applies. Refer to selector for syntax details. */
|
|
960
|
-
selector?:
|
|
1227
|
+
selector?:
|
|
1228
|
+
string;
|
|
961
1229
|
}
|
|
962
1230
|
interface Mixin {
|
|
963
1231
|
/** The fully qualified name of the interface which is included. */
|
|
964
|
-
name?:
|
|
1232
|
+
name?:
|
|
1233
|
+
string;
|
|
965
1234
|
/** If non-empty specifies a path under which inherited HTTP paths are rooted. */
|
|
966
|
-
root?:
|
|
1235
|
+
root?:
|
|
1236
|
+
string;
|
|
967
1237
|
}
|
|
968
1238
|
interface MonitoredResourceDescriptor {
|
|
969
1239
|
/** Optional. A detailed description of the monitored resource type that might be used in documentation. */
|
|
970
|
-
description?:
|
|
1240
|
+
description?:
|
|
1241
|
+
string;
|
|
971
1242
|
/**
|
|
972
1243
|
* Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other
|
|
973
1244
|
* determiners. For example, `"Google Cloud SQL Database"`.
|
|
974
1245
|
*/
|
|
975
|
-
displayName?:
|
|
1246
|
+
displayName?:
|
|
1247
|
+
string;
|
|
976
1248
|
/**
|
|
977
1249
|
* Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels
|
|
978
1250
|
* `"database_id"` and `"zone"`.
|
|
979
1251
|
*/
|
|
980
|
-
labels?:
|
|
1252
|
+
labels?:
|
|
1253
|
+
LabelDescriptor[];
|
|
981
1254
|
/** Optional. The launch stage of the monitored resource definition. */
|
|
982
|
-
launchStage?:
|
|
1255
|
+
launchStage?:
|
|
1256
|
+
string;
|
|
983
1257
|
/**
|
|
984
1258
|
* Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this
|
|
985
1259
|
* object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format
|
|
986
1260
|
* `"monitoredResourceDescriptors/{type}"`.
|
|
987
1261
|
*/
|
|
988
|
-
name?:
|
|
1262
|
+
name?:
|
|
1263
|
+
string;
|
|
989
1264
|
/**
|
|
990
1265
|
* Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource
|
|
991
1266
|
* types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).
|
|
992
1267
|
*/
|
|
993
|
-
type?:
|
|
1268
|
+
type?:
|
|
1269
|
+
string;
|
|
994
1270
|
}
|
|
995
1271
|
interface Monitoring {
|
|
996
1272
|
/**
|
|
@@ -998,147 +1274,185 @@ declare namespace gapi.client {
|
|
|
998
1274
|
* destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used
|
|
999
1275
|
* once in the Monitoring configuration.
|
|
1000
1276
|
*/
|
|
1001
|
-
consumerDestinations?:
|
|
1277
|
+
consumerDestinations?:
|
|
1278
|
+
MonitoringDestination[];
|
|
1002
1279
|
/**
|
|
1003
1280
|
* Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring
|
|
1004
1281
|
* destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used
|
|
1005
1282
|
* once in the Monitoring configuration.
|
|
1006
1283
|
*/
|
|
1007
|
-
producerDestinations?:
|
|
1284
|
+
producerDestinations?:
|
|
1285
|
+
MonitoringDestination[];
|
|
1008
1286
|
}
|
|
1009
1287
|
interface MonitoringDestination {
|
|
1010
1288
|
/** Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section. */
|
|
1011
|
-
metrics?:
|
|
1289
|
+
metrics?:
|
|
1290
|
+
string[];
|
|
1012
1291
|
/** The monitored resource type. The type must be defined in Service.monitored_resources section. */
|
|
1013
|
-
monitoredResource?:
|
|
1292
|
+
monitoredResource?:
|
|
1293
|
+
string;
|
|
1014
1294
|
}
|
|
1015
1295
|
interface NodeSettings {
|
|
1016
1296
|
/** Some settings. */
|
|
1017
|
-
common?:
|
|
1297
|
+
common?:
|
|
1298
|
+
CommonLanguageSettings;
|
|
1018
1299
|
}
|
|
1019
1300
|
interface OAuthRequirements {
|
|
1020
1301
|
/**
|
|
1021
1302
|
* The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes:
|
|
1022
1303
|
* https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read
|
|
1023
1304
|
*/
|
|
1024
|
-
canonicalScopes?:
|
|
1305
|
+
canonicalScopes?:
|
|
1306
|
+
string;
|
|
1025
1307
|
}
|
|
1026
1308
|
interface Operation {
|
|
1027
1309
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
1028
|
-
done?:
|
|
1310
|
+
done?:
|
|
1311
|
+
boolean;
|
|
1029
1312
|
/** The error result of the operation in case of failure or cancellation. */
|
|
1030
|
-
error?:
|
|
1313
|
+
error?:
|
|
1314
|
+
Status;
|
|
1031
1315
|
/**
|
|
1032
1316
|
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
|
|
1033
1317
|
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
1034
1318
|
*/
|
|
1035
|
-
metadata?:
|
|
1319
|
+
metadata?:
|
|
1320
|
+
{ [P in string]: any };
|
|
1036
1321
|
/**
|
|
1037
1322
|
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
|
|
1038
1323
|
* with `operations/{unique_id}`.
|
|
1039
1324
|
*/
|
|
1040
|
-
name?:
|
|
1325
|
+
name?:
|
|
1326
|
+
string;
|
|
1041
1327
|
/**
|
|
1042
1328
|
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
|
|
1043
1329
|
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
|
|
1044
1330
|
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
1045
1331
|
*/
|
|
1046
|
-
response?:
|
|
1332
|
+
response?:
|
|
1333
|
+
{ [P in string]: any };
|
|
1047
1334
|
}
|
|
1048
1335
|
interface OperationMetadata {
|
|
1049
1336
|
/** The full name of the resources that this operation is directly associated with. */
|
|
1050
|
-
resourceNames?:
|
|
1337
|
+
resourceNames?:
|
|
1338
|
+
string[];
|
|
1051
1339
|
}
|
|
1052
1340
|
interface Option {
|
|
1053
1341
|
/**
|
|
1054
1342
|
* The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the
|
|
1055
1343
|
* fully-qualified name. For example, `"google.api.http"`.
|
|
1056
1344
|
*/
|
|
1057
|
-
name?:
|
|
1345
|
+
name?:
|
|
1346
|
+
string;
|
|
1058
1347
|
/**
|
|
1059
1348
|
* The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an
|
|
1060
1349
|
* enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.
|
|
1061
1350
|
*/
|
|
1062
|
-
value?:
|
|
1351
|
+
value?:
|
|
1352
|
+
{ [P in string]: any };
|
|
1063
1353
|
}
|
|
1064
1354
|
interface OverrideInlineSource {
|
|
1065
1355
|
/**
|
|
1066
1356
|
* The overrides to create. Each override must have a value for 'metric' and 'unit', to specify which metric and which limit the override should be applied to. The 'name' field of the
|
|
1067
1357
|
* override does not need to be set; it is ignored.
|
|
1068
1358
|
*/
|
|
1069
|
-
overrides?:
|
|
1359
|
+
overrides?:
|
|
1360
|
+
QuotaOverride[];
|
|
1070
1361
|
}
|
|
1071
1362
|
interface Page {
|
|
1072
1363
|
/**
|
|
1073
1364
|
* The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file. The content can be used to produce the documentation page such as HTML
|
|
1074
1365
|
* format page.
|
|
1075
1366
|
*/
|
|
1076
|
-
content?:
|
|
1367
|
+
content?:
|
|
1368
|
+
string;
|
|
1077
1369
|
/**
|
|
1078
1370
|
* The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the
|
|
1079
1371
|
* root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md
|
|
1080
1372
|
* ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`.
|
|
1081
1373
|
*/
|
|
1082
|
-
name?:
|
|
1374
|
+
name?:
|
|
1375
|
+
string;
|
|
1083
1376
|
/** Subpages of this page. The order of subpages specified here will be honored in the generated docset. */
|
|
1084
|
-
subpages?:
|
|
1377
|
+
subpages?:
|
|
1378
|
+
Page[];
|
|
1085
1379
|
}
|
|
1086
1380
|
interface PhpSettings {
|
|
1087
1381
|
/** Some settings. */
|
|
1088
|
-
common?:
|
|
1382
|
+
common?:
|
|
1383
|
+
CommonLanguageSettings;
|
|
1089
1384
|
}
|
|
1090
1385
|
interface Publishing {
|
|
1091
1386
|
/** Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: "speech". */
|
|
1092
|
-
apiShortName?:
|
|
1387
|
+
apiShortName?:
|
|
1388
|
+
string;
|
|
1093
1389
|
/** GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API. */
|
|
1094
|
-
codeownerGithubTeams?:
|
|
1390
|
+
codeownerGithubTeams?:
|
|
1391
|
+
string[];
|
|
1095
1392
|
/** A prefix used in sample code when demarking regions to be included in documentation. */
|
|
1096
|
-
docTagPrefix?:
|
|
1393
|
+
docTagPrefix?:
|
|
1394
|
+
string;
|
|
1097
1395
|
/** Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview */
|
|
1098
|
-
documentationUri?:
|
|
1396
|
+
documentationUri?:
|
|
1397
|
+
string;
|
|
1099
1398
|
/** GitHub label to apply to issues and pull requests opened for this API. */
|
|
1100
|
-
githubLabel?:
|
|
1399
|
+
githubLabel?:
|
|
1400
|
+
string;
|
|
1101
1401
|
/**
|
|
1102
1402
|
* Client library settings. If the same version string appears multiple times in this list, then the last one wins. Settings from earlier settings with the same version string are
|
|
1103
1403
|
* discarded.
|
|
1104
1404
|
*/
|
|
1105
|
-
librarySettings?:
|
|
1405
|
+
librarySettings?:
|
|
1406
|
+
ClientLibrarySettings[];
|
|
1106
1407
|
/** A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern. */
|
|
1107
|
-
methodSettings?:
|
|
1408
|
+
methodSettings?:
|
|
1409
|
+
MethodSettings[];
|
|
1108
1410
|
/** Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103 */
|
|
1109
|
-
newIssueUri?:
|
|
1411
|
+
newIssueUri?:
|
|
1412
|
+
string;
|
|
1110
1413
|
/** For whom the client library is being published. */
|
|
1111
|
-
organization?:
|
|
1414
|
+
organization?:
|
|
1415
|
+
string;
|
|
1112
1416
|
/** Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc */
|
|
1113
|
-
protoReferenceDocumentationUri?:
|
|
1417
|
+
protoReferenceDocumentationUri?:
|
|
1418
|
+
string;
|
|
1114
1419
|
}
|
|
1115
1420
|
interface PythonSettings {
|
|
1116
1421
|
/** Some settings. */
|
|
1117
|
-
common?:
|
|
1422
|
+
common?:
|
|
1423
|
+
CommonLanguageSettings;
|
|
1118
1424
|
}
|
|
1119
1425
|
interface Quota {
|
|
1120
1426
|
/** List of QuotaLimit definitions for the service. */
|
|
1121
|
-
limits?:
|
|
1427
|
+
limits?:
|
|
1428
|
+
QuotaLimit[];
|
|
1122
1429
|
/** List of MetricRule definitions, each one mapping a selected method to one or more metrics. */
|
|
1123
|
-
metricRules?:
|
|
1430
|
+
metricRules?:
|
|
1431
|
+
MetricRule[];
|
|
1124
1432
|
}
|
|
1125
1433
|
interface QuotaBucket {
|
|
1126
1434
|
/** Admin override on this quota bucket. */
|
|
1127
|
-
adminOverride?:
|
|
1435
|
+
adminOverride?:
|
|
1436
|
+
QuotaOverride;
|
|
1128
1437
|
/** Consumer override on this quota bucket. */
|
|
1129
|
-
consumerOverride?:
|
|
1438
|
+
consumerOverride?:
|
|
1439
|
+
QuotaOverride;
|
|
1130
1440
|
/** The default limit of this quota bucket, as specified by the service configuration. */
|
|
1131
|
-
defaultLimit?:
|
|
1441
|
+
defaultLimit?:
|
|
1442
|
+
string;
|
|
1132
1443
|
/**
|
|
1133
1444
|
* The dimensions of this quota bucket. If this map is empty, this is the global bucket, which is the default quota value applied to all requests that do not have a more specific
|
|
1134
1445
|
* override. If this map is nonempty, the default limit, effective limit, and quota overrides apply only to requests that have the dimensions given in the map. For example, if the map
|
|
1135
1446
|
* has key `region` and value `us-east-1`, then the specified effective limit is only effective in that region, and the specified overrides apply only in that region.
|
|
1136
1447
|
*/
|
|
1137
|
-
dimensions?:
|
|
1448
|
+
dimensions?:
|
|
1449
|
+
{ [P in string]: string };
|
|
1138
1450
|
/** The effective limit of this quota bucket. Equal to default_limit if there are no overrides. */
|
|
1139
|
-
effectiveLimit?:
|
|
1451
|
+
effectiveLimit?:
|
|
1452
|
+
string;
|
|
1140
1453
|
/** Producer override on this quota bucket. */
|
|
1141
|
-
producerOverride?:
|
|
1454
|
+
producerOverride?:
|
|
1455
|
+
QuotaOverride;
|
|
1142
1456
|
}
|
|
1143
1457
|
interface QuotaLimit {
|
|
1144
1458
|
/**
|
|
@@ -1146,55 +1460,66 @@ declare namespace gapi.client {
|
|
|
1146
1460
|
* his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1
|
|
1147
1461
|
* will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only.
|
|
1148
1462
|
*/
|
|
1149
|
-
defaultLimit?:
|
|
1463
|
+
defaultLimit?:
|
|
1464
|
+
string;
|
|
1150
1465
|
/**
|
|
1151
1466
|
* Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name
|
|
1152
1467
|
* (see: `display_name`).
|
|
1153
1468
|
*/
|
|
1154
|
-
description?:
|
|
1469
|
+
description?:
|
|
1470
|
+
string;
|
|
1155
1471
|
/**
|
|
1156
1472
|
* User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the
|
|
1157
1473
|
* default display name generated from the configuration.
|
|
1158
1474
|
*/
|
|
1159
|
-
displayName?:
|
|
1475
|
+
displayName?:
|
|
1476
|
+
string;
|
|
1160
1477
|
/** Duration of this limit in textual notation. Must be "100s" or "1d". Used by group-based quotas only. */
|
|
1161
|
-
duration?:
|
|
1478
|
+
duration?:
|
|
1479
|
+
string;
|
|
1162
1480
|
/**
|
|
1163
1481
|
* Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled.
|
|
1164
1482
|
* This field can only be set on a limit with duration "1d", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is
|
|
1165
1483
|
* no free tier for this service. Used by group-based quotas only.
|
|
1166
1484
|
*/
|
|
1167
|
-
freeTier?:
|
|
1485
|
+
freeTier?:
|
|
1486
|
+
string;
|
|
1168
1487
|
/**
|
|
1169
1488
|
* Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this
|
|
1170
1489
|
* value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to
|
|
1171
1490
|
* -1, indicating unlimited maximum quota. Used by group-based quotas only.
|
|
1172
1491
|
*/
|
|
1173
|
-
maxLimit?:
|
|
1492
|
+
maxLimit?:
|
|
1493
|
+
string;
|
|
1174
1494
|
/**
|
|
1175
1495
|
* The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service
|
|
1176
1496
|
* config.
|
|
1177
1497
|
*/
|
|
1178
|
-
metric?:
|
|
1498
|
+
metric?:
|
|
1499
|
+
string;
|
|
1179
1500
|
/**
|
|
1180
1501
|
* Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of
|
|
1181
1502
|
* the limit name is 64 characters.
|
|
1182
1503
|
*/
|
|
1183
|
-
name?:
|
|
1504
|
+
name?:
|
|
1505
|
+
string;
|
|
1184
1506
|
/**
|
|
1185
1507
|
* Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: *
|
|
1186
1508
|
* "1/min/{project}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax.
|
|
1187
1509
|
*/
|
|
1188
|
-
unit?:
|
|
1510
|
+
unit?:
|
|
1511
|
+
string;
|
|
1189
1512
|
/**
|
|
1190
1513
|
* Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD
|
|
1191
1514
|
* is supported.
|
|
1192
1515
|
*/
|
|
1193
|
-
values?:
|
|
1516
|
+
values?:
|
|
1517
|
+
{ [P in string]: string };
|
|
1194
1518
|
}
|
|
1195
1519
|
interface QuotaOverride {
|
|
1196
1520
|
/** The resource name of the ancestor that requested the override. For example: `organizations/12345` or `folders/67890`. Used by admin overrides only. */
|
|
1197
|
-
adminOverrideAncestor?:
|
|
1521
|
+
adminOverrideAncestor?:
|
|
1522
|
+
string;
|
|
1198
1523
|
/**
|
|
1199
1524
|
* If this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit. For example, an override on a limit with the unit
|
|
1200
1525
|
* `1/{project}/{region}` could contain an entry with the key `region` and the value `us-east-1`; the override is only applied to quota consumed in that region. This map has the
|
|
@@ -1203,104 +1528,136 @@ declare namespace gapi.client {
|
|
|
1203
1528
|
* apply only to a specific user. * If `region` appears as a key, its value must be a valid Cloud region. * If `zone` appears as a key, its value must be a valid Cloud zone. * If any
|
|
1204
1529
|
* valid key other than `region` or `zone` appears in the map, then all valid keys other than `region` or `zone` must also appear in the map.
|
|
1205
1530
|
*/
|
|
1206
|
-
dimensions?:
|
|
1531
|
+
dimensions?:
|
|
1532
|
+
{ [P in string]: string };
|
|
1207
1533
|
/** The name of the metric to which this override applies. An example name would be: `compute.googleapis.com/cpus` */
|
|
1208
|
-
metric?:
|
|
1534
|
+
metric?:
|
|
1535
|
+
string;
|
|
1209
1536
|
/**
|
|
1210
1537
|
* The resource name of the override. This name is generated by the server when the override is created. Example names would be:
|
|
1211
1538
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
|
|
1212
1539
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` The resource name is intended
|
|
1213
1540
|
* to be opaque and should not be parsed for its component strings, since its representation could change in the future.
|
|
1214
1541
|
*/
|
|
1215
|
-
name?:
|
|
1542
|
+
name?:
|
|
1543
|
+
string;
|
|
1216
1544
|
/** The overriding quota limit value. Can be any nonnegative integer, or -1 (unlimited quota). */
|
|
1217
|
-
overrideValue?:
|
|
1545
|
+
overrideValue?:
|
|
1546
|
+
string;
|
|
1218
1547
|
/**
|
|
1219
1548
|
* The limit unit of the limit to which this override applies. An example unit would be: `1/{project}/{region}` Note that `{project}` and `{region}` are not placeholders in this
|
|
1220
1549
|
* example; the literal characters `{` and `}` occur in the string.
|
|
1221
1550
|
*/
|
|
1222
|
-
unit?:
|
|
1551
|
+
unit?:
|
|
1552
|
+
string;
|
|
1223
1553
|
}
|
|
1224
1554
|
interface RubySettings {
|
|
1225
1555
|
/** Some settings. */
|
|
1226
|
-
common?:
|
|
1556
|
+
common?:
|
|
1557
|
+
CommonLanguageSettings;
|
|
1227
1558
|
}
|
|
1228
1559
|
interface Service {
|
|
1229
1560
|
/**
|
|
1230
1561
|
* The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in
|
|
1231
1562
|
* responses to the `GetService` method.
|
|
1232
1563
|
*/
|
|
1233
|
-
config?:
|
|
1564
|
+
config?:
|
|
1565
|
+
ServiceConfig;
|
|
1234
1566
|
/** The resource name of the consumer and service. A valid name would be: - `projects/123/services/serviceusage.googleapis.com` */
|
|
1235
|
-
name?:
|
|
1567
|
+
name?:
|
|
1568
|
+
string;
|
|
1236
1569
|
/** The resource name of the consumer. A valid name would be: - `projects/123` */
|
|
1237
|
-
parent?:
|
|
1570
|
+
parent?:
|
|
1571
|
+
string;
|
|
1238
1572
|
/** Whether or not the service has been enabled for use by the consumer. */
|
|
1239
|
-
state?:
|
|
1573
|
+
state?:
|
|
1574
|
+
string;
|
|
1240
1575
|
}
|
|
1241
1576
|
interface ServiceConfig {
|
|
1242
1577
|
/** A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces. */
|
|
1243
|
-
apis?:
|
|
1578
|
+
apis?:
|
|
1579
|
+
Api[];
|
|
1244
1580
|
/** Auth configuration. Contains only the OAuth rules. */
|
|
1245
|
-
authentication?:
|
|
1581
|
+
authentication?:
|
|
1582
|
+
Authentication;
|
|
1246
1583
|
/** Additional API documentation. Contains only the summary and the documentation URL. */
|
|
1247
|
-
documentation?:
|
|
1584
|
+
documentation?:
|
|
1585
|
+
Documentation;
|
|
1248
1586
|
/** Configuration for network endpoints. Contains only the names and aliases of the endpoints. */
|
|
1249
|
-
endpoints?:
|
|
1587
|
+
endpoints?:
|
|
1588
|
+
Endpoint[];
|
|
1250
1589
|
/** Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. */
|
|
1251
|
-
monitoredResources?:
|
|
1590
|
+
monitoredResources?:
|
|
1591
|
+
MonitoredResourceDescriptor[];
|
|
1252
1592
|
/** Monitoring configuration. This should not include the 'producer_destinations' field. */
|
|
1253
|
-
monitoring?:
|
|
1593
|
+
monitoring?:
|
|
1594
|
+
Monitoring;
|
|
1254
1595
|
/** The DNS address at which this service is available. An example DNS address would be: `calendar.googleapis.com`. */
|
|
1255
|
-
name?:
|
|
1596
|
+
name?:
|
|
1597
|
+
string;
|
|
1256
1598
|
/** Quota configuration. */
|
|
1257
|
-
quota?:
|
|
1599
|
+
quota?:
|
|
1600
|
+
Quota;
|
|
1258
1601
|
/** The product title for this service. */
|
|
1259
|
-
title?:
|
|
1602
|
+
title?:
|
|
1603
|
+
string;
|
|
1260
1604
|
/** Configuration controlling usage of this service. */
|
|
1261
|
-
usage?:
|
|
1605
|
+
usage?:
|
|
1606
|
+
Usage;
|
|
1262
1607
|
}
|
|
1263
1608
|
interface ServiceIdentity {
|
|
1264
1609
|
/** The email address of the service account that a service producer would use to access consumer resources. */
|
|
1265
|
-
email?:
|
|
1610
|
+
email?:
|
|
1611
|
+
string;
|
|
1266
1612
|
/** The unique and stable id of the service account. https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount */
|
|
1267
|
-
uniqueId?:
|
|
1613
|
+
uniqueId?:
|
|
1614
|
+
string;
|
|
1268
1615
|
}
|
|
1269
1616
|
interface SourceContext {
|
|
1270
1617
|
/** The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. */
|
|
1271
|
-
fileName?:
|
|
1618
|
+
fileName?:
|
|
1619
|
+
string;
|
|
1272
1620
|
}
|
|
1273
1621
|
interface SourceInfo {
|
|
1274
1622
|
/** All files used during config generation. */
|
|
1275
|
-
sourceFiles?:
|
|
1623
|
+
sourceFiles?:
|
|
1624
|
+
Array<{ [P in string]: any }>;
|
|
1276
1625
|
}
|
|
1277
1626
|
interface Status {
|
|
1278
1627
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
1279
|
-
code?:
|
|
1628
|
+
code?:
|
|
1629
|
+
number;
|
|
1280
1630
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
1281
|
-
details?:
|
|
1631
|
+
details?:
|
|
1632
|
+
Array<{ [P in string]: any }>;
|
|
1282
1633
|
/**
|
|
1283
1634
|
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
|
|
1284
1635
|
* client.
|
|
1285
1636
|
*/
|
|
1286
|
-
message?:
|
|
1637
|
+
message?:
|
|
1638
|
+
string;
|
|
1287
1639
|
}
|
|
1288
1640
|
interface SystemParameter {
|
|
1289
1641
|
/** Define the HTTP header name to use for the parameter. It is case insensitive. */
|
|
1290
|
-
httpHeader?:
|
|
1642
|
+
httpHeader?:
|
|
1643
|
+
string;
|
|
1291
1644
|
/** Define the name of the parameter, such as "api_key" . It is case sensitive. */
|
|
1292
|
-
name?:
|
|
1645
|
+
name?:
|
|
1646
|
+
string;
|
|
1293
1647
|
/** Define the URL query parameter name to use for the parameter. It is case sensitive. */
|
|
1294
|
-
urlQueryParameter?:
|
|
1648
|
+
urlQueryParameter?:
|
|
1649
|
+
string;
|
|
1295
1650
|
}
|
|
1296
1651
|
interface SystemParameterRule {
|
|
1297
1652
|
/**
|
|
1298
1653
|
* Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is
|
|
1299
1654
|
* implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.
|
|
1300
1655
|
*/
|
|
1301
|
-
parameters?:
|
|
1656
|
+
parameters?:
|
|
1657
|
+
SystemParameter[];
|
|
1302
1658
|
/** Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. */
|
|
1303
|
-
selector?:
|
|
1659
|
+
selector?:
|
|
1660
|
+
string;
|
|
1304
1661
|
}
|
|
1305
1662
|
interface SystemParameters {
|
|
1306
1663
|
/**
|
|
@@ -1309,23 +1666,31 @@ declare namespace gapi.client {
|
|
|
1309
1666
|
* parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: -
|
|
1310
1667
|
* name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order.
|
|
1311
1668
|
*/
|
|
1312
|
-
rules?:
|
|
1669
|
+
rules?:
|
|
1670
|
+
SystemParameterRule[];
|
|
1313
1671
|
}
|
|
1314
1672
|
interface Type {
|
|
1315
1673
|
/** The source edition string, only valid when syntax is SYNTAX_EDITIONS. */
|
|
1316
|
-
edition?:
|
|
1674
|
+
edition?:
|
|
1675
|
+
string;
|
|
1317
1676
|
/** The list of fields. */
|
|
1318
|
-
fields?:
|
|
1677
|
+
fields?:
|
|
1678
|
+
Field[];
|
|
1319
1679
|
/** The fully qualified message name. */
|
|
1320
|
-
name?:
|
|
1680
|
+
name?:
|
|
1681
|
+
string;
|
|
1321
1682
|
/** The list of types appearing in `oneof` definitions in this type. */
|
|
1322
|
-
oneofs?:
|
|
1683
|
+
oneofs?:
|
|
1684
|
+
string[];
|
|
1323
1685
|
/** The protocol buffer options. */
|
|
1324
|
-
options?:
|
|
1686
|
+
options?:
|
|
1687
|
+
Option[];
|
|
1325
1688
|
/** The source context. */
|
|
1326
|
-
sourceContext?:
|
|
1689
|
+
sourceContext?:
|
|
1690
|
+
SourceContext;
|
|
1327
1691
|
/** The source syntax. */
|
|
1328
|
-
syntax?:
|
|
1692
|
+
syntax?:
|
|
1693
|
+
string;
|
|
1329
1694
|
}
|
|
1330
1695
|
// tslint:disable-next-line:no-empty-interface
|
|
1331
1696
|
interface UpdateAdminQuotaPolicyMetadata {
|
|
@@ -1339,87 +1704,120 @@ declare namespace gapi.client {
|
|
|
1339
1704
|
* Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud
|
|
1340
1705
|
* Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.
|
|
1341
1706
|
*/
|
|
1342
|
-
producerNotificationChannel?:
|
|
1707
|
+
producerNotificationChannel?:
|
|
1708
|
+
string;
|
|
1343
1709
|
/**
|
|
1344
1710
|
* Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For
|
|
1345
1711
|
* Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include
|
|
1346
1712
|
* "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs.
|
|
1347
1713
|
*/
|
|
1348
|
-
requirements?:
|
|
1714
|
+
requirements?:
|
|
1715
|
+
string[];
|
|
1349
1716
|
/** A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. */
|
|
1350
|
-
rules?:
|
|
1717
|
+
rules?:
|
|
1718
|
+
UsageRule[];
|
|
1351
1719
|
}
|
|
1352
1720
|
interface UsageRule {
|
|
1353
1721
|
/** If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application. */
|
|
1354
|
-
allowUnregisteredCalls?:
|
|
1722
|
+
allowUnregisteredCalls?:
|
|
1723
|
+
boolean;
|
|
1355
1724
|
/** Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. */
|
|
1356
|
-
selector?:
|
|
1725
|
+
selector?:
|
|
1726
|
+
string;
|
|
1357
1727
|
/**
|
|
1358
1728
|
* If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud
|
|
1359
1729
|
* Endpoints to bypass checks for internal methods, such as service health check methods.
|
|
1360
1730
|
*/
|
|
1361
|
-
skipServiceControl?:
|
|
1731
|
+
skipServiceControl?:
|
|
1732
|
+
boolean;
|
|
1362
1733
|
}
|
|
1363
1734
|
interface OperationsResource {
|
|
1364
1735
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1365
1736
|
get(request?: {
|
|
1366
1737
|
/** V1 error format. */
|
|
1367
|
-
"$.xgafv"?:
|
|
1738
|
+
"$.xgafv"?:
|
|
1739
|
+
string;
|
|
1368
1740
|
/** OAuth access token. */
|
|
1369
|
-
access_token?:
|
|
1741
|
+
access_token?:
|
|
1742
|
+
string;
|
|
1370
1743
|
/** Data format for response. */
|
|
1371
|
-
alt?:
|
|
1744
|
+
alt?:
|
|
1745
|
+
string;
|
|
1372
1746
|
/** JSONP */
|
|
1373
|
-
callback?:
|
|
1747
|
+
callback?:
|
|
1748
|
+
string;
|
|
1374
1749
|
/** Selector specifying which fields to include in a partial response. */
|
|
1375
|
-
fields?:
|
|
1750
|
+
fields?:
|
|
1751
|
+
string;
|
|
1376
1752
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1377
|
-
key?:
|
|
1753
|
+
key?:
|
|
1754
|
+
string;
|
|
1378
1755
|
/** The name of the operation resource. */
|
|
1379
|
-
name:
|
|
1756
|
+
name:
|
|
1757
|
+
string;
|
|
1380
1758
|
/** OAuth 2.0 token for the current user. */
|
|
1381
|
-
oauth_token?:
|
|
1759
|
+
oauth_token?:
|
|
1760
|
+
string;
|
|
1382
1761
|
/** Returns response with indentations and line breaks. */
|
|
1383
|
-
prettyPrint?:
|
|
1762
|
+
prettyPrint?:
|
|
1763
|
+
boolean;
|
|
1384
1764
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1385
|
-
quotaUser?:
|
|
1765
|
+
quotaUser?:
|
|
1766
|
+
string;
|
|
1386
1767
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1387
|
-
upload_protocol?:
|
|
1768
|
+
upload_protocol?:
|
|
1769
|
+
string;
|
|
1388
1770
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1389
|
-
uploadType?:
|
|
1771
|
+
uploadType?:
|
|
1772
|
+
string;
|
|
1390
1773
|
}): Request<Operation>;
|
|
1391
1774
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1392
1775
|
list(request?: {
|
|
1393
1776
|
/** V1 error format. */
|
|
1394
|
-
"$.xgafv"?:
|
|
1777
|
+
"$.xgafv"?:
|
|
1778
|
+
string;
|
|
1395
1779
|
/** OAuth access token. */
|
|
1396
|
-
access_token?:
|
|
1780
|
+
access_token?:
|
|
1781
|
+
string;
|
|
1397
1782
|
/** Data format for response. */
|
|
1398
|
-
alt?:
|
|
1783
|
+
alt?:
|
|
1784
|
+
string;
|
|
1399
1785
|
/** JSONP */
|
|
1400
|
-
callback?:
|
|
1786
|
+
callback?:
|
|
1787
|
+
string;
|
|
1401
1788
|
/** Selector specifying which fields to include in a partial response. */
|
|
1402
|
-
fields?:
|
|
1789
|
+
fields?:
|
|
1790
|
+
string;
|
|
1403
1791
|
/** The standard list filter. */
|
|
1404
|
-
filter?:
|
|
1792
|
+
filter?:
|
|
1793
|
+
string;
|
|
1405
1794
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1406
|
-
key?:
|
|
1795
|
+
key?:
|
|
1796
|
+
string;
|
|
1407
1797
|
/** The name of the operation's parent resource. */
|
|
1408
|
-
name?:
|
|
1798
|
+
name?:
|
|
1799
|
+
string;
|
|
1409
1800
|
/** OAuth 2.0 token for the current user. */
|
|
1410
|
-
oauth_token?:
|
|
1801
|
+
oauth_token?:
|
|
1802
|
+
string;
|
|
1411
1803
|
/** The standard list page size. */
|
|
1412
|
-
pageSize?:
|
|
1804
|
+
pageSize?:
|
|
1805
|
+
number;
|
|
1413
1806
|
/** The standard list page token. */
|
|
1414
|
-
pageToken?:
|
|
1807
|
+
pageToken?:
|
|
1808
|
+
string;
|
|
1415
1809
|
/** Returns response with indentations and line breaks. */
|
|
1416
|
-
prettyPrint?:
|
|
1810
|
+
prettyPrint?:
|
|
1811
|
+
boolean;
|
|
1417
1812
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1418
|
-
quotaUser?:
|
|
1813
|
+
quotaUser?:
|
|
1814
|
+
string;
|
|
1419
1815
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1420
|
-
upload_protocol?:
|
|
1816
|
+
upload_protocol?:
|
|
1817
|
+
string;
|
|
1421
1818
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1422
|
-
uploadType?:
|
|
1819
|
+
uploadType?:
|
|
1820
|
+
string;
|
|
1423
1821
|
}): Request<ListOperationsResponse>;
|
|
1424
1822
|
}
|
|
1425
1823
|
interface AdminOverridesResource {
|
|
@@ -1429,243 +1827,331 @@ declare namespace gapi.client {
|
|
|
1429
1827
|
*/
|
|
1430
1828
|
create(request: {
|
|
1431
1829
|
/** V1 error format. */
|
|
1432
|
-
"$.xgafv"?:
|
|
1830
|
+
"$.xgafv"?:
|
|
1831
|
+
string;
|
|
1433
1832
|
/** OAuth access token. */
|
|
1434
|
-
access_token?:
|
|
1833
|
+
access_token?:
|
|
1834
|
+
string;
|
|
1435
1835
|
/** Data format for response. */
|
|
1436
|
-
alt?:
|
|
1836
|
+
alt?:
|
|
1837
|
+
string;
|
|
1437
1838
|
/** JSONP */
|
|
1438
|
-
callback?:
|
|
1839
|
+
callback?:
|
|
1840
|
+
string;
|
|
1439
1841
|
/** Selector specifying which fields to include in a partial response. */
|
|
1440
|
-
fields?:
|
|
1842
|
+
fields?:
|
|
1843
|
+
string;
|
|
1441
1844
|
/**
|
|
1442
1845
|
* Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists
|
|
1443
1846
|
* all such validations.
|
|
1444
1847
|
*/
|
|
1445
|
-
force?:
|
|
1848
|
+
force?:
|
|
1849
|
+
boolean;
|
|
1446
1850
|
/**
|
|
1447
1851
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1448
1852
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1449
1853
|
*/
|
|
1450
|
-
forceOnly?:
|
|
1854
|
+
forceOnly?:
|
|
1855
|
+
string | string[];
|
|
1451
1856
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1452
|
-
key?:
|
|
1857
|
+
key?:
|
|
1858
|
+
string;
|
|
1453
1859
|
/** OAuth 2.0 token for the current user. */
|
|
1454
|
-
oauth_token?:
|
|
1860
|
+
oauth_token?:
|
|
1861
|
+
string;
|
|
1455
1862
|
/**
|
|
1456
1863
|
* The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be:
|
|
1457
1864
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
|
1458
1865
|
*/
|
|
1459
|
-
parent:
|
|
1866
|
+
parent:
|
|
1867
|
+
string;
|
|
1460
1868
|
/** Returns response with indentations and line breaks. */
|
|
1461
|
-
prettyPrint?:
|
|
1869
|
+
prettyPrint?:
|
|
1870
|
+
boolean;
|
|
1462
1871
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1463
|
-
quotaUser?:
|
|
1872
|
+
quotaUser?:
|
|
1873
|
+
string;
|
|
1464
1874
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1465
|
-
upload_protocol?:
|
|
1875
|
+
upload_protocol?:
|
|
1876
|
+
string;
|
|
1466
1877
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1467
|
-
uploadType?:
|
|
1878
|
+
uploadType?:
|
|
1879
|
+
string;
|
|
1468
1880
|
/** Request body */
|
|
1469
|
-
resource:
|
|
1881
|
+
resource:
|
|
1882
|
+
QuotaOverride;
|
|
1470
1883
|
}): Request<Operation>;
|
|
1471
1884
|
create(request: {
|
|
1472
1885
|
/** V1 error format. */
|
|
1473
|
-
"$.xgafv"?:
|
|
1886
|
+
"$.xgafv"?:
|
|
1887
|
+
string;
|
|
1474
1888
|
/** OAuth access token. */
|
|
1475
|
-
access_token?:
|
|
1889
|
+
access_token?:
|
|
1890
|
+
string;
|
|
1476
1891
|
/** Data format for response. */
|
|
1477
|
-
alt?:
|
|
1892
|
+
alt?:
|
|
1893
|
+
string;
|
|
1478
1894
|
/** JSONP */
|
|
1479
|
-
callback?:
|
|
1895
|
+
callback?:
|
|
1896
|
+
string;
|
|
1480
1897
|
/** Selector specifying which fields to include in a partial response. */
|
|
1481
|
-
fields?:
|
|
1898
|
+
fields?:
|
|
1899
|
+
string;
|
|
1482
1900
|
/**
|
|
1483
1901
|
* Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists
|
|
1484
1902
|
* all such validations.
|
|
1485
1903
|
*/
|
|
1486
|
-
force?:
|
|
1904
|
+
force?:
|
|
1905
|
+
boolean;
|
|
1487
1906
|
/**
|
|
1488
1907
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1489
1908
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1490
1909
|
*/
|
|
1491
|
-
forceOnly?:
|
|
1910
|
+
forceOnly?:
|
|
1911
|
+
string | string[];
|
|
1492
1912
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1493
|
-
key?:
|
|
1913
|
+
key?:
|
|
1914
|
+
string;
|
|
1494
1915
|
/** OAuth 2.0 token for the current user. */
|
|
1495
|
-
oauth_token?:
|
|
1916
|
+
oauth_token?:
|
|
1917
|
+
string;
|
|
1496
1918
|
/**
|
|
1497
1919
|
* The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be:
|
|
1498
1920
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
|
1499
1921
|
*/
|
|
1500
|
-
parent:
|
|
1922
|
+
parent:
|
|
1923
|
+
string;
|
|
1501
1924
|
/** Returns response with indentations and line breaks. */
|
|
1502
|
-
prettyPrint?:
|
|
1925
|
+
prettyPrint?:
|
|
1926
|
+
boolean;
|
|
1503
1927
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1504
|
-
quotaUser?:
|
|
1928
|
+
quotaUser?:
|
|
1929
|
+
string;
|
|
1505
1930
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1506
|
-
upload_protocol?:
|
|
1931
|
+
upload_protocol?:
|
|
1932
|
+
string;
|
|
1507
1933
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1508
|
-
uploadType?:
|
|
1934
|
+
uploadType?:
|
|
1935
|
+
string;
|
|
1509
1936
|
},
|
|
1510
1937
|
body: QuotaOverride): Request<Operation>;
|
|
1511
1938
|
/** Deletes an admin override. */
|
|
1512
1939
|
delete(request?: {
|
|
1513
1940
|
/** V1 error format. */
|
|
1514
|
-
"$.xgafv"?:
|
|
1941
|
+
"$.xgafv"?:
|
|
1942
|
+
string;
|
|
1515
1943
|
/** OAuth access token. */
|
|
1516
|
-
access_token?:
|
|
1944
|
+
access_token?:
|
|
1945
|
+
string;
|
|
1517
1946
|
/** Data format for response. */
|
|
1518
|
-
alt?:
|
|
1947
|
+
alt?:
|
|
1948
|
+
string;
|
|
1519
1949
|
/** JSONP */
|
|
1520
|
-
callback?:
|
|
1950
|
+
callback?:
|
|
1951
|
+
string;
|
|
1521
1952
|
/** Selector specifying which fields to include in a partial response. */
|
|
1522
|
-
fields?:
|
|
1953
|
+
fields?:
|
|
1954
|
+
string;
|
|
1523
1955
|
/**
|
|
1524
1956
|
* Whether to force the deletion of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists
|
|
1525
1957
|
* all such validations.
|
|
1526
1958
|
*/
|
|
1527
|
-
force?:
|
|
1959
|
+
force?:
|
|
1960
|
+
boolean;
|
|
1528
1961
|
/**
|
|
1529
1962
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1530
1963
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1531
1964
|
*/
|
|
1532
|
-
forceOnly?:
|
|
1965
|
+
forceOnly?:
|
|
1966
|
+
string | string[];
|
|
1533
1967
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1534
|
-
key?:
|
|
1968
|
+
key?:
|
|
1969
|
+
string;
|
|
1535
1970
|
/**
|
|
1536
1971
|
* The resource name of the override to delete. An example name would be:
|
|
1537
1972
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
|
|
1538
1973
|
*/
|
|
1539
|
-
name:
|
|
1974
|
+
name:
|
|
1975
|
+
string;
|
|
1540
1976
|
/** OAuth 2.0 token for the current user. */
|
|
1541
|
-
oauth_token?:
|
|
1977
|
+
oauth_token?:
|
|
1978
|
+
string;
|
|
1542
1979
|
/** Returns response with indentations and line breaks. */
|
|
1543
|
-
prettyPrint?:
|
|
1980
|
+
prettyPrint?:
|
|
1981
|
+
boolean;
|
|
1544
1982
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1545
|
-
quotaUser?:
|
|
1983
|
+
quotaUser?:
|
|
1984
|
+
string;
|
|
1546
1985
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1547
|
-
upload_protocol?:
|
|
1986
|
+
upload_protocol?:
|
|
1987
|
+
string;
|
|
1548
1988
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1549
|
-
uploadType?:
|
|
1989
|
+
uploadType?:
|
|
1990
|
+
string;
|
|
1550
1991
|
}): Request<Operation>;
|
|
1551
1992
|
/** Lists all admin overrides on this limit. */
|
|
1552
1993
|
list(request?: {
|
|
1553
1994
|
/** V1 error format. */
|
|
1554
|
-
"$.xgafv"?:
|
|
1995
|
+
"$.xgafv"?:
|
|
1996
|
+
string;
|
|
1555
1997
|
/** OAuth access token. */
|
|
1556
|
-
access_token?:
|
|
1998
|
+
access_token?:
|
|
1999
|
+
string;
|
|
1557
2000
|
/** Data format for response. */
|
|
1558
|
-
alt?:
|
|
2001
|
+
alt?:
|
|
2002
|
+
string;
|
|
1559
2003
|
/** JSONP */
|
|
1560
|
-
callback?:
|
|
2004
|
+
callback?:
|
|
2005
|
+
string;
|
|
1561
2006
|
/** Selector specifying which fields to include in a partial response. */
|
|
1562
|
-
fields?:
|
|
2007
|
+
fields?:
|
|
2008
|
+
string;
|
|
1563
2009
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1564
|
-
key?:
|
|
2010
|
+
key?:
|
|
2011
|
+
string;
|
|
1565
2012
|
/** OAuth 2.0 token for the current user. */
|
|
1566
|
-
oauth_token?:
|
|
2013
|
+
oauth_token?:
|
|
2014
|
+
string;
|
|
1567
2015
|
/** Requested size of the next page of data. */
|
|
1568
|
-
pageSize?:
|
|
2016
|
+
pageSize?:
|
|
2017
|
+
number;
|
|
1569
2018
|
/** Token identifying which result to start with; returned by a previous list call. */
|
|
1570
|
-
pageToken?:
|
|
2019
|
+
pageToken?:
|
|
2020
|
+
string;
|
|
1571
2021
|
/**
|
|
1572
2022
|
* The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be:
|
|
1573
2023
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
|
1574
2024
|
*/
|
|
1575
|
-
parent:
|
|
2025
|
+
parent:
|
|
2026
|
+
string;
|
|
1576
2027
|
/** Returns response with indentations and line breaks. */
|
|
1577
|
-
prettyPrint?:
|
|
2028
|
+
prettyPrint?:
|
|
2029
|
+
boolean;
|
|
1578
2030
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1579
|
-
quotaUser?:
|
|
2031
|
+
quotaUser?:
|
|
2032
|
+
string;
|
|
1580
2033
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1581
|
-
upload_protocol?:
|
|
2034
|
+
upload_protocol?:
|
|
2035
|
+
string;
|
|
1582
2036
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1583
|
-
uploadType?:
|
|
2037
|
+
uploadType?:
|
|
2038
|
+
string;
|
|
1584
2039
|
}): Request<ListAdminOverridesResponse>;
|
|
1585
2040
|
/** Updates an admin override. */
|
|
1586
2041
|
patch(request: {
|
|
1587
2042
|
/** V1 error format. */
|
|
1588
|
-
"$.xgafv"?:
|
|
2043
|
+
"$.xgafv"?:
|
|
2044
|
+
string;
|
|
1589
2045
|
/** OAuth access token. */
|
|
1590
|
-
access_token?:
|
|
2046
|
+
access_token?:
|
|
2047
|
+
string;
|
|
1591
2048
|
/** Data format for response. */
|
|
1592
|
-
alt?:
|
|
2049
|
+
alt?:
|
|
2050
|
+
string;
|
|
1593
2051
|
/** JSONP */
|
|
1594
|
-
callback?:
|
|
2052
|
+
callback?:
|
|
2053
|
+
string;
|
|
1595
2054
|
/** Selector specifying which fields to include in a partial response. */
|
|
1596
|
-
fields?:
|
|
2055
|
+
fields?:
|
|
2056
|
+
string;
|
|
1597
2057
|
/**
|
|
1598
2058
|
* Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all
|
|
1599
2059
|
* such validations.
|
|
1600
2060
|
*/
|
|
1601
|
-
force?:
|
|
2061
|
+
force?:
|
|
2062
|
+
boolean;
|
|
1602
2063
|
/**
|
|
1603
2064
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1604
2065
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1605
2066
|
*/
|
|
1606
|
-
forceOnly?:
|
|
2067
|
+
forceOnly?:
|
|
2068
|
+
string | string[];
|
|
1607
2069
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1608
|
-
key?:
|
|
2070
|
+
key?:
|
|
2071
|
+
string;
|
|
1609
2072
|
/**
|
|
1610
2073
|
* The resource name of the override to update. An example name would be:
|
|
1611
2074
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
|
|
1612
2075
|
*/
|
|
1613
|
-
name:
|
|
2076
|
+
name:
|
|
2077
|
+
string;
|
|
1614
2078
|
/** OAuth 2.0 token for the current user. */
|
|
1615
|
-
oauth_token?:
|
|
2079
|
+
oauth_token?:
|
|
2080
|
+
string;
|
|
1616
2081
|
/** Returns response with indentations and line breaks. */
|
|
1617
|
-
prettyPrint?:
|
|
2082
|
+
prettyPrint?:
|
|
2083
|
+
boolean;
|
|
1618
2084
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1619
|
-
quotaUser?:
|
|
2085
|
+
quotaUser?:
|
|
2086
|
+
string;
|
|
1620
2087
|
/** Update only the specified fields of the override. If unset, all fields will be updated. */
|
|
1621
|
-
updateMask?:
|
|
2088
|
+
updateMask?:
|
|
2089
|
+
string;
|
|
1622
2090
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1623
|
-
upload_protocol?:
|
|
2091
|
+
upload_protocol?:
|
|
2092
|
+
string;
|
|
1624
2093
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1625
|
-
uploadType?:
|
|
2094
|
+
uploadType?:
|
|
2095
|
+
string;
|
|
1626
2096
|
/** Request body */
|
|
1627
|
-
resource:
|
|
2097
|
+
resource:
|
|
2098
|
+
QuotaOverride;
|
|
1628
2099
|
}): Request<Operation>;
|
|
1629
2100
|
patch(request: {
|
|
1630
2101
|
/** V1 error format. */
|
|
1631
|
-
"$.xgafv"?:
|
|
2102
|
+
"$.xgafv"?:
|
|
2103
|
+
string;
|
|
1632
2104
|
/** OAuth access token. */
|
|
1633
|
-
access_token?:
|
|
2105
|
+
access_token?:
|
|
2106
|
+
string;
|
|
1634
2107
|
/** Data format for response. */
|
|
1635
|
-
alt?:
|
|
2108
|
+
alt?:
|
|
2109
|
+
string;
|
|
1636
2110
|
/** JSONP */
|
|
1637
|
-
callback?:
|
|
2111
|
+
callback?:
|
|
2112
|
+
string;
|
|
1638
2113
|
/** Selector specifying which fields to include in a partial response. */
|
|
1639
|
-
fields?:
|
|
2114
|
+
fields?:
|
|
2115
|
+
string;
|
|
1640
2116
|
/**
|
|
1641
2117
|
* Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all
|
|
1642
2118
|
* such validations.
|
|
1643
2119
|
*/
|
|
1644
|
-
force?:
|
|
2120
|
+
force?:
|
|
2121
|
+
boolean;
|
|
1645
2122
|
/**
|
|
1646
2123
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1647
2124
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1648
2125
|
*/
|
|
1649
|
-
forceOnly?:
|
|
2126
|
+
forceOnly?:
|
|
2127
|
+
string | string[];
|
|
1650
2128
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1651
|
-
key?:
|
|
2129
|
+
key?:
|
|
2130
|
+
string;
|
|
1652
2131
|
/**
|
|
1653
2132
|
* The resource name of the override to update. An example name would be:
|
|
1654
2133
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
|
|
1655
2134
|
*/
|
|
1656
|
-
name:
|
|
2135
|
+
name:
|
|
2136
|
+
string;
|
|
1657
2137
|
/** OAuth 2.0 token for the current user. */
|
|
1658
|
-
oauth_token?:
|
|
2138
|
+
oauth_token?:
|
|
2139
|
+
string;
|
|
1659
2140
|
/** Returns response with indentations and line breaks. */
|
|
1660
|
-
prettyPrint?:
|
|
2141
|
+
prettyPrint?:
|
|
2142
|
+
boolean;
|
|
1661
2143
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1662
|
-
quotaUser?:
|
|
2144
|
+
quotaUser?:
|
|
2145
|
+
string;
|
|
1663
2146
|
/** Update only the specified fields of the override. If unset, all fields will be updated. */
|
|
1664
|
-
updateMask?:
|
|
2147
|
+
updateMask?:
|
|
2148
|
+
string;
|
|
1665
2149
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1666
|
-
upload_protocol?:
|
|
2150
|
+
upload_protocol?:
|
|
2151
|
+
string;
|
|
1667
2152
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1668
|
-
uploadType?:
|
|
2153
|
+
uploadType?:
|
|
2154
|
+
string;
|
|
1669
2155
|
},
|
|
1670
2156
|
body: QuotaOverride): Request<Operation>;
|
|
1671
2157
|
}
|
|
@@ -1676,243 +2162,331 @@ declare namespace gapi.client {
|
|
|
1676
2162
|
*/
|
|
1677
2163
|
create(request: {
|
|
1678
2164
|
/** V1 error format. */
|
|
1679
|
-
"$.xgafv"?:
|
|
2165
|
+
"$.xgafv"?:
|
|
2166
|
+
string;
|
|
1680
2167
|
/** OAuth access token. */
|
|
1681
|
-
access_token?:
|
|
2168
|
+
access_token?:
|
|
2169
|
+
string;
|
|
1682
2170
|
/** Data format for response. */
|
|
1683
|
-
alt?:
|
|
2171
|
+
alt?:
|
|
2172
|
+
string;
|
|
1684
2173
|
/** JSONP */
|
|
1685
|
-
callback?:
|
|
2174
|
+
callback?:
|
|
2175
|
+
string;
|
|
1686
2176
|
/** Selector specifying which fields to include in a partial response. */
|
|
1687
|
-
fields?:
|
|
2177
|
+
fields?:
|
|
2178
|
+
string;
|
|
1688
2179
|
/**
|
|
1689
2180
|
* Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists
|
|
1690
2181
|
* all such validations.
|
|
1691
2182
|
*/
|
|
1692
|
-
force?:
|
|
2183
|
+
force?:
|
|
2184
|
+
boolean;
|
|
1693
2185
|
/**
|
|
1694
2186
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1695
2187
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1696
2188
|
*/
|
|
1697
|
-
forceOnly?:
|
|
2189
|
+
forceOnly?:
|
|
2190
|
+
string | string[];
|
|
1698
2191
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1699
|
-
key?:
|
|
2192
|
+
key?:
|
|
2193
|
+
string;
|
|
1700
2194
|
/** OAuth 2.0 token for the current user. */
|
|
1701
|
-
oauth_token?:
|
|
2195
|
+
oauth_token?:
|
|
2196
|
+
string;
|
|
1702
2197
|
/**
|
|
1703
2198
|
* The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be:
|
|
1704
2199
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
|
1705
2200
|
*/
|
|
1706
|
-
parent:
|
|
2201
|
+
parent:
|
|
2202
|
+
string;
|
|
1707
2203
|
/** Returns response with indentations and line breaks. */
|
|
1708
|
-
prettyPrint?:
|
|
2204
|
+
prettyPrint?:
|
|
2205
|
+
boolean;
|
|
1709
2206
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1710
|
-
quotaUser?:
|
|
2207
|
+
quotaUser?:
|
|
2208
|
+
string;
|
|
1711
2209
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1712
|
-
upload_protocol?:
|
|
2210
|
+
upload_protocol?:
|
|
2211
|
+
string;
|
|
1713
2212
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1714
|
-
uploadType?:
|
|
2213
|
+
uploadType?:
|
|
2214
|
+
string;
|
|
1715
2215
|
/** Request body */
|
|
1716
|
-
resource:
|
|
2216
|
+
resource:
|
|
2217
|
+
QuotaOverride;
|
|
1717
2218
|
}): Request<Operation>;
|
|
1718
2219
|
create(request: {
|
|
1719
2220
|
/** V1 error format. */
|
|
1720
|
-
"$.xgafv"?:
|
|
2221
|
+
"$.xgafv"?:
|
|
2222
|
+
string;
|
|
1721
2223
|
/** OAuth access token. */
|
|
1722
|
-
access_token?:
|
|
2224
|
+
access_token?:
|
|
2225
|
+
string;
|
|
1723
2226
|
/** Data format for response. */
|
|
1724
|
-
alt?:
|
|
2227
|
+
alt?:
|
|
2228
|
+
string;
|
|
1725
2229
|
/** JSONP */
|
|
1726
|
-
callback?:
|
|
2230
|
+
callback?:
|
|
2231
|
+
string;
|
|
1727
2232
|
/** Selector specifying which fields to include in a partial response. */
|
|
1728
|
-
fields?:
|
|
2233
|
+
fields?:
|
|
2234
|
+
string;
|
|
1729
2235
|
/**
|
|
1730
2236
|
* Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists
|
|
1731
2237
|
* all such validations.
|
|
1732
2238
|
*/
|
|
1733
|
-
force?:
|
|
2239
|
+
force?:
|
|
2240
|
+
boolean;
|
|
1734
2241
|
/**
|
|
1735
2242
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1736
2243
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1737
2244
|
*/
|
|
1738
|
-
forceOnly?:
|
|
2245
|
+
forceOnly?:
|
|
2246
|
+
string | string[];
|
|
1739
2247
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1740
|
-
key?:
|
|
2248
|
+
key?:
|
|
2249
|
+
string;
|
|
1741
2250
|
/** OAuth 2.0 token for the current user. */
|
|
1742
|
-
oauth_token?:
|
|
2251
|
+
oauth_token?:
|
|
2252
|
+
string;
|
|
1743
2253
|
/**
|
|
1744
2254
|
* The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be:
|
|
1745
2255
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
|
1746
2256
|
*/
|
|
1747
|
-
parent:
|
|
2257
|
+
parent:
|
|
2258
|
+
string;
|
|
1748
2259
|
/** Returns response with indentations and line breaks. */
|
|
1749
|
-
prettyPrint?:
|
|
2260
|
+
prettyPrint?:
|
|
2261
|
+
boolean;
|
|
1750
2262
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1751
|
-
quotaUser?:
|
|
2263
|
+
quotaUser?:
|
|
2264
|
+
string;
|
|
1752
2265
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1753
|
-
upload_protocol?:
|
|
2266
|
+
upload_protocol?:
|
|
2267
|
+
string;
|
|
1754
2268
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1755
|
-
uploadType?:
|
|
2269
|
+
uploadType?:
|
|
2270
|
+
string;
|
|
1756
2271
|
},
|
|
1757
2272
|
body: QuotaOverride): Request<Operation>;
|
|
1758
2273
|
/** Deletes a consumer override. */
|
|
1759
2274
|
delete(request?: {
|
|
1760
2275
|
/** V1 error format. */
|
|
1761
|
-
"$.xgafv"?:
|
|
2276
|
+
"$.xgafv"?:
|
|
2277
|
+
string;
|
|
1762
2278
|
/** OAuth access token. */
|
|
1763
|
-
access_token?:
|
|
2279
|
+
access_token?:
|
|
2280
|
+
string;
|
|
1764
2281
|
/** Data format for response. */
|
|
1765
|
-
alt?:
|
|
2282
|
+
alt?:
|
|
2283
|
+
string;
|
|
1766
2284
|
/** JSONP */
|
|
1767
|
-
callback?:
|
|
2285
|
+
callback?:
|
|
2286
|
+
string;
|
|
1768
2287
|
/** Selector specifying which fields to include in a partial response. */
|
|
1769
|
-
fields?:
|
|
2288
|
+
fields?:
|
|
2289
|
+
string;
|
|
1770
2290
|
/**
|
|
1771
2291
|
* Whether to force the deletion of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists
|
|
1772
2292
|
* all such validations.
|
|
1773
2293
|
*/
|
|
1774
|
-
force?:
|
|
2294
|
+
force?:
|
|
2295
|
+
boolean;
|
|
1775
2296
|
/**
|
|
1776
2297
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1777
2298
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1778
2299
|
*/
|
|
1779
|
-
forceOnly?:
|
|
2300
|
+
forceOnly?:
|
|
2301
|
+
string | string[];
|
|
1780
2302
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1781
|
-
key?:
|
|
2303
|
+
key?:
|
|
2304
|
+
string;
|
|
1782
2305
|
/**
|
|
1783
2306
|
* The resource name of the override to delete. An example name would be:
|
|
1784
2307
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
|
|
1785
2308
|
*/
|
|
1786
|
-
name:
|
|
2309
|
+
name:
|
|
2310
|
+
string;
|
|
1787
2311
|
/** OAuth 2.0 token for the current user. */
|
|
1788
|
-
oauth_token?:
|
|
2312
|
+
oauth_token?:
|
|
2313
|
+
string;
|
|
1789
2314
|
/** Returns response with indentations and line breaks. */
|
|
1790
|
-
prettyPrint?:
|
|
2315
|
+
prettyPrint?:
|
|
2316
|
+
boolean;
|
|
1791
2317
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1792
|
-
quotaUser?:
|
|
2318
|
+
quotaUser?:
|
|
2319
|
+
string;
|
|
1793
2320
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1794
|
-
upload_protocol?:
|
|
2321
|
+
upload_protocol?:
|
|
2322
|
+
string;
|
|
1795
2323
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1796
|
-
uploadType?:
|
|
2324
|
+
uploadType?:
|
|
2325
|
+
string;
|
|
1797
2326
|
}): Request<Operation>;
|
|
1798
2327
|
/** Lists all consumer overrides on this limit. */
|
|
1799
2328
|
list(request?: {
|
|
1800
2329
|
/** V1 error format. */
|
|
1801
|
-
"$.xgafv"?:
|
|
2330
|
+
"$.xgafv"?:
|
|
2331
|
+
string;
|
|
1802
2332
|
/** OAuth access token. */
|
|
1803
|
-
access_token?:
|
|
2333
|
+
access_token?:
|
|
2334
|
+
string;
|
|
1804
2335
|
/** Data format for response. */
|
|
1805
|
-
alt?:
|
|
2336
|
+
alt?:
|
|
2337
|
+
string;
|
|
1806
2338
|
/** JSONP */
|
|
1807
|
-
callback?:
|
|
2339
|
+
callback?:
|
|
2340
|
+
string;
|
|
1808
2341
|
/** Selector specifying which fields to include in a partial response. */
|
|
1809
|
-
fields?:
|
|
2342
|
+
fields?:
|
|
2343
|
+
string;
|
|
1810
2344
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1811
|
-
key?:
|
|
2345
|
+
key?:
|
|
2346
|
+
string;
|
|
1812
2347
|
/** OAuth 2.0 token for the current user. */
|
|
1813
|
-
oauth_token?:
|
|
2348
|
+
oauth_token?:
|
|
2349
|
+
string;
|
|
1814
2350
|
/** Requested size of the next page of data. */
|
|
1815
|
-
pageSize?:
|
|
2351
|
+
pageSize?:
|
|
2352
|
+
number;
|
|
1816
2353
|
/** Token identifying which result to start with; returned by a previous list call. */
|
|
1817
|
-
pageToken?:
|
|
2354
|
+
pageToken?:
|
|
2355
|
+
string;
|
|
1818
2356
|
/**
|
|
1819
2357
|
* The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be:
|
|
1820
2358
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
|
1821
2359
|
*/
|
|
1822
|
-
parent:
|
|
2360
|
+
parent:
|
|
2361
|
+
string;
|
|
1823
2362
|
/** Returns response with indentations and line breaks. */
|
|
1824
|
-
prettyPrint?:
|
|
2363
|
+
prettyPrint?:
|
|
2364
|
+
boolean;
|
|
1825
2365
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1826
|
-
quotaUser?:
|
|
2366
|
+
quotaUser?:
|
|
2367
|
+
string;
|
|
1827
2368
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1828
|
-
upload_protocol?:
|
|
2369
|
+
upload_protocol?:
|
|
2370
|
+
string;
|
|
1829
2371
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1830
|
-
uploadType?:
|
|
2372
|
+
uploadType?:
|
|
2373
|
+
string;
|
|
1831
2374
|
}): Request<ListConsumerOverridesResponse>;
|
|
1832
2375
|
/** Updates a consumer override. */
|
|
1833
2376
|
patch(request: {
|
|
1834
2377
|
/** V1 error format. */
|
|
1835
|
-
"$.xgafv"?:
|
|
2378
|
+
"$.xgafv"?:
|
|
2379
|
+
string;
|
|
1836
2380
|
/** OAuth access token. */
|
|
1837
|
-
access_token?:
|
|
2381
|
+
access_token?:
|
|
2382
|
+
string;
|
|
1838
2383
|
/** Data format for response. */
|
|
1839
|
-
alt?:
|
|
2384
|
+
alt?:
|
|
2385
|
+
string;
|
|
1840
2386
|
/** JSONP */
|
|
1841
|
-
callback?:
|
|
2387
|
+
callback?:
|
|
2388
|
+
string;
|
|
1842
2389
|
/** Selector specifying which fields to include in a partial response. */
|
|
1843
|
-
fields?:
|
|
2390
|
+
fields?:
|
|
2391
|
+
string;
|
|
1844
2392
|
/**
|
|
1845
2393
|
* Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all
|
|
1846
2394
|
* such validations.
|
|
1847
2395
|
*/
|
|
1848
|
-
force?:
|
|
2396
|
+
force?:
|
|
2397
|
+
boolean;
|
|
1849
2398
|
/**
|
|
1850
2399
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1851
2400
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1852
2401
|
*/
|
|
1853
|
-
forceOnly?:
|
|
2402
|
+
forceOnly?:
|
|
2403
|
+
string | string[];
|
|
1854
2404
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1855
|
-
key?:
|
|
2405
|
+
key?:
|
|
2406
|
+
string;
|
|
1856
2407
|
/**
|
|
1857
2408
|
* The resource name of the override to update. An example name would be:
|
|
1858
2409
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
|
|
1859
2410
|
*/
|
|
1860
|
-
name:
|
|
2411
|
+
name:
|
|
2412
|
+
string;
|
|
1861
2413
|
/** OAuth 2.0 token for the current user. */
|
|
1862
|
-
oauth_token?:
|
|
2414
|
+
oauth_token?:
|
|
2415
|
+
string;
|
|
1863
2416
|
/** Returns response with indentations and line breaks. */
|
|
1864
|
-
prettyPrint?:
|
|
2417
|
+
prettyPrint?:
|
|
2418
|
+
boolean;
|
|
1865
2419
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1866
|
-
quotaUser?:
|
|
2420
|
+
quotaUser?:
|
|
2421
|
+
string;
|
|
1867
2422
|
/** Update only the specified fields of the override. If unset, all fields will be updated. */
|
|
1868
|
-
updateMask?:
|
|
2423
|
+
updateMask?:
|
|
2424
|
+
string;
|
|
1869
2425
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1870
|
-
upload_protocol?:
|
|
2426
|
+
upload_protocol?:
|
|
2427
|
+
string;
|
|
1871
2428
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1872
|
-
uploadType?:
|
|
2429
|
+
uploadType?:
|
|
2430
|
+
string;
|
|
1873
2431
|
/** Request body */
|
|
1874
|
-
resource:
|
|
2432
|
+
resource:
|
|
2433
|
+
QuotaOverride;
|
|
1875
2434
|
}): Request<Operation>;
|
|
1876
2435
|
patch(request: {
|
|
1877
2436
|
/** V1 error format. */
|
|
1878
|
-
"$.xgafv"?:
|
|
2437
|
+
"$.xgafv"?:
|
|
2438
|
+
string;
|
|
1879
2439
|
/** OAuth access token. */
|
|
1880
|
-
access_token?:
|
|
2440
|
+
access_token?:
|
|
2441
|
+
string;
|
|
1881
2442
|
/** Data format for response. */
|
|
1882
|
-
alt?:
|
|
2443
|
+
alt?:
|
|
2444
|
+
string;
|
|
1883
2445
|
/** JSONP */
|
|
1884
|
-
callback?:
|
|
2446
|
+
callback?:
|
|
2447
|
+
string;
|
|
1885
2448
|
/** Selector specifying which fields to include in a partial response. */
|
|
1886
|
-
fields?:
|
|
2449
|
+
fields?:
|
|
2450
|
+
string;
|
|
1887
2451
|
/**
|
|
1888
2452
|
* Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all
|
|
1889
2453
|
* such validations.
|
|
1890
2454
|
*/
|
|
1891
|
-
force?:
|
|
2455
|
+
force?:
|
|
2456
|
+
boolean;
|
|
1892
2457
|
/**
|
|
1893
2458
|
* The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the
|
|
1894
2459
|
* specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
|
|
1895
2460
|
*/
|
|
1896
|
-
forceOnly?:
|
|
2461
|
+
forceOnly?:
|
|
2462
|
+
string | string[];
|
|
1897
2463
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1898
|
-
key?:
|
|
2464
|
+
key?:
|
|
2465
|
+
string;
|
|
1899
2466
|
/**
|
|
1900
2467
|
* The resource name of the override to update. An example name would be:
|
|
1901
2468
|
* `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
|
|
1902
2469
|
*/
|
|
1903
|
-
name:
|
|
2470
|
+
name:
|
|
2471
|
+
string;
|
|
1904
2472
|
/** OAuth 2.0 token for the current user. */
|
|
1905
|
-
oauth_token?:
|
|
2473
|
+
oauth_token?:
|
|
2474
|
+
string;
|
|
1906
2475
|
/** Returns response with indentations and line breaks. */
|
|
1907
|
-
prettyPrint?:
|
|
2476
|
+
prettyPrint?:
|
|
2477
|
+
boolean;
|
|
1908
2478
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1909
|
-
quotaUser?:
|
|
2479
|
+
quotaUser?:
|
|
2480
|
+
string;
|
|
1910
2481
|
/** Update only the specified fields of the override. If unset, all fields will be updated. */
|
|
1911
|
-
updateMask?:
|
|
2482
|
+
updateMask?:
|
|
2483
|
+
string;
|
|
1912
2484
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1913
|
-
upload_protocol?:
|
|
2485
|
+
upload_protocol?:
|
|
2486
|
+
string;
|
|
1914
2487
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1915
|
-
uploadType?:
|
|
2488
|
+
uploadType?:
|
|
2489
|
+
string;
|
|
1916
2490
|
},
|
|
1917
2491
|
body: QuotaOverride): Request<Operation>;
|
|
1918
2492
|
}
|
|
@@ -1920,64 +2494,92 @@ declare namespace gapi.client {
|
|
|
1920
2494
|
/** Retrieves a summary of quota information for a specific quota limit. */
|
|
1921
2495
|
get(request?: {
|
|
1922
2496
|
/** V1 error format. */
|
|
1923
|
-
"$.xgafv"?:
|
|
2497
|
+
"$.xgafv"?:
|
|
2498
|
+
string;
|
|
1924
2499
|
/** OAuth access token. */
|
|
1925
|
-
access_token?:
|
|
2500
|
+
access_token?:
|
|
2501
|
+
string;
|
|
1926
2502
|
/** Data format for response. */
|
|
1927
|
-
alt?:
|
|
2503
|
+
alt?:
|
|
2504
|
+
string;
|
|
1928
2505
|
/** JSONP */
|
|
1929
|
-
callback?:
|
|
2506
|
+
callback?:
|
|
2507
|
+
string;
|
|
1930
2508
|
/** Selector specifying which fields to include in a partial response. */
|
|
1931
|
-
fields?:
|
|
2509
|
+
fields?:
|
|
2510
|
+
string;
|
|
1932
2511
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1933
|
-
key?:
|
|
2512
|
+
key?:
|
|
2513
|
+
string;
|
|
1934
2514
|
/** The resource name of the quota limit. Use the quota limit resource name returned by previous ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls. */
|
|
1935
|
-
name:
|
|
2515
|
+
name:
|
|
2516
|
+
string;
|
|
1936
2517
|
/** OAuth 2.0 token for the current user. */
|
|
1937
|
-
oauth_token?:
|
|
2518
|
+
oauth_token?:
|
|
2519
|
+
string;
|
|
1938
2520
|
/** Returns response with indentations and line breaks. */
|
|
1939
|
-
prettyPrint?:
|
|
2521
|
+
prettyPrint?:
|
|
2522
|
+
boolean;
|
|
1940
2523
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1941
|
-
quotaUser?:
|
|
2524
|
+
quotaUser?:
|
|
2525
|
+
string;
|
|
1942
2526
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1943
|
-
upload_protocol?:
|
|
2527
|
+
upload_protocol?:
|
|
2528
|
+
string;
|
|
1944
2529
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1945
|
-
uploadType?:
|
|
2530
|
+
uploadType?:
|
|
2531
|
+
string;
|
|
1946
2532
|
/** Specifies the level of detail for quota information in the response. */
|
|
1947
|
-
view?:
|
|
2533
|
+
view?:
|
|
2534
|
+
string;
|
|
1948
2535
|
}): Request<ConsumerQuotaLimit>;
|
|
1949
|
-
adminOverrides:
|
|
1950
|
-
|
|
2536
|
+
adminOverrides:
|
|
2537
|
+
AdminOverridesResource;
|
|
2538
|
+
consumerOverrides:
|
|
2539
|
+
ConsumerOverridesResource;
|
|
1951
2540
|
}
|
|
1952
2541
|
interface ConsumerQuotaMetricsResource {
|
|
1953
2542
|
/** Retrieves a summary of quota information for a specific quota metric */
|
|
1954
2543
|
get(request?: {
|
|
1955
2544
|
/** V1 error format. */
|
|
1956
|
-
"$.xgafv"?:
|
|
2545
|
+
"$.xgafv"?:
|
|
2546
|
+
string;
|
|
1957
2547
|
/** OAuth access token. */
|
|
1958
|
-
access_token?:
|
|
2548
|
+
access_token?:
|
|
2549
|
+
string;
|
|
1959
2550
|
/** Data format for response. */
|
|
1960
|
-
alt?:
|
|
2551
|
+
alt?:
|
|
2552
|
+
string;
|
|
1961
2553
|
/** JSONP */
|
|
1962
|
-
callback?:
|
|
2554
|
+
callback?:
|
|
2555
|
+
string;
|
|
1963
2556
|
/** Selector specifying which fields to include in a partial response. */
|
|
1964
|
-
fields?:
|
|
2557
|
+
fields?:
|
|
2558
|
+
string;
|
|
1965
2559
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1966
|
-
key?:
|
|
2560
|
+
key?:
|
|
2561
|
+
string;
|
|
1967
2562
|
/** The resource name of the quota limit. An example name would be: `projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests` */
|
|
1968
|
-
name:
|
|
2563
|
+
name:
|
|
2564
|
+
string;
|
|
1969
2565
|
/** OAuth 2.0 token for the current user. */
|
|
1970
|
-
oauth_token?:
|
|
2566
|
+
oauth_token?:
|
|
2567
|
+
string;
|
|
1971
2568
|
/** Returns response with indentations and line breaks. */
|
|
1972
|
-
prettyPrint?:
|
|
2569
|
+
prettyPrint?:
|
|
2570
|
+
boolean;
|
|
1973
2571
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1974
|
-
quotaUser?:
|
|
2572
|
+
quotaUser?:
|
|
2573
|
+
string;
|
|
1975
2574
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1976
|
-
upload_protocol?:
|
|
2575
|
+
upload_protocol?:
|
|
2576
|
+
string;
|
|
1977
2577
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1978
|
-
uploadType?:
|
|
2578
|
+
uploadType?:
|
|
2579
|
+
string;
|
|
1979
2580
|
/** Specifies the level of detail for quota information in the response. */
|
|
1980
|
-
view?:
|
|
2581
|
+
view?:
|
|
2582
|
+
string;
|
|
1981
2583
|
}): Request<ConsumerQuotaMetric>;
|
|
1982
2584
|
/**
|
|
1983
2585
|
* Creates or updates multiple admin overrides atomically, all on the same consumer, but on many different metrics or limits. The name field in the quota override message should not be
|
|
@@ -1985,57 +2587,82 @@ declare namespace gapi.client {
|
|
|
1985
2587
|
*/
|
|
1986
2588
|
importAdminOverrides(request: {
|
|
1987
2589
|
/** V1 error format. */
|
|
1988
|
-
"$.xgafv"?:
|
|
2590
|
+
"$.xgafv"?:
|
|
2591
|
+
string;
|
|
1989
2592
|
/** OAuth access token. */
|
|
1990
|
-
access_token?:
|
|
2593
|
+
access_token?:
|
|
2594
|
+
string;
|
|
1991
2595
|
/** Data format for response. */
|
|
1992
|
-
alt?:
|
|
2596
|
+
alt?:
|
|
2597
|
+
string;
|
|
1993
2598
|
/** JSONP */
|
|
1994
|
-
callback?:
|
|
2599
|
+
callback?:
|
|
2600
|
+
string;
|
|
1995
2601
|
/** Selector specifying which fields to include in a partial response. */
|
|
1996
|
-
fields?:
|
|
2602
|
+
fields?:
|
|
2603
|
+
string;
|
|
1997
2604
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1998
|
-
key?:
|
|
2605
|
+
key?:
|
|
2606
|
+
string;
|
|
1999
2607
|
/** OAuth 2.0 token for the current user. */
|
|
2000
|
-
oauth_token?:
|
|
2608
|
+
oauth_token?:
|
|
2609
|
+
string;
|
|
2001
2610
|
/** The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com` */
|
|
2002
|
-
parent:
|
|
2611
|
+
parent:
|
|
2612
|
+
string;
|
|
2003
2613
|
/** Returns response with indentations and line breaks. */
|
|
2004
|
-
prettyPrint?:
|
|
2614
|
+
prettyPrint?:
|
|
2615
|
+
boolean;
|
|
2005
2616
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2006
|
-
quotaUser?:
|
|
2617
|
+
quotaUser?:
|
|
2618
|
+
string;
|
|
2007
2619
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2008
|
-
upload_protocol?:
|
|
2620
|
+
upload_protocol?:
|
|
2621
|
+
string;
|
|
2009
2622
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2010
|
-
uploadType?:
|
|
2623
|
+
uploadType?:
|
|
2624
|
+
string;
|
|
2011
2625
|
/** Request body */
|
|
2012
|
-
resource:
|
|
2626
|
+
resource:
|
|
2627
|
+
ImportAdminOverridesRequest;
|
|
2013
2628
|
}): Request<Operation>;
|
|
2014
2629
|
importAdminOverrides(request: {
|
|
2015
2630
|
/** V1 error format. */
|
|
2016
|
-
"$.xgafv"?:
|
|
2631
|
+
"$.xgafv"?:
|
|
2632
|
+
string;
|
|
2017
2633
|
/** OAuth access token. */
|
|
2018
|
-
access_token?:
|
|
2634
|
+
access_token?:
|
|
2635
|
+
string;
|
|
2019
2636
|
/** Data format for response. */
|
|
2020
|
-
alt?:
|
|
2637
|
+
alt?:
|
|
2638
|
+
string;
|
|
2021
2639
|
/** JSONP */
|
|
2022
|
-
callback?:
|
|
2640
|
+
callback?:
|
|
2641
|
+
string;
|
|
2023
2642
|
/** Selector specifying which fields to include in a partial response. */
|
|
2024
|
-
fields?:
|
|
2643
|
+
fields?:
|
|
2644
|
+
string;
|
|
2025
2645
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2026
|
-
key?:
|
|
2646
|
+
key?:
|
|
2647
|
+
string;
|
|
2027
2648
|
/** OAuth 2.0 token for the current user. */
|
|
2028
|
-
oauth_token?:
|
|
2649
|
+
oauth_token?:
|
|
2650
|
+
string;
|
|
2029
2651
|
/** The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com` */
|
|
2030
|
-
parent:
|
|
2652
|
+
parent:
|
|
2653
|
+
string;
|
|
2031
2654
|
/** Returns response with indentations and line breaks. */
|
|
2032
|
-
prettyPrint?:
|
|
2655
|
+
prettyPrint?:
|
|
2656
|
+
boolean;
|
|
2033
2657
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2034
|
-
quotaUser?:
|
|
2658
|
+
quotaUser?:
|
|
2659
|
+
string;
|
|
2035
2660
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2036
|
-
upload_protocol?:
|
|
2661
|
+
upload_protocol?:
|
|
2662
|
+
string;
|
|
2037
2663
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2038
|
-
uploadType?:
|
|
2664
|
+
uploadType?:
|
|
2665
|
+
string;
|
|
2039
2666
|
},
|
|
2040
2667
|
body: ImportAdminOverridesRequest): Request<Operation>;
|
|
2041
2668
|
/**
|
|
@@ -2044,57 +2671,82 @@ declare namespace gapi.client {
|
|
|
2044
2671
|
*/
|
|
2045
2672
|
importConsumerOverrides(request: {
|
|
2046
2673
|
/** V1 error format. */
|
|
2047
|
-
"$.xgafv"?:
|
|
2674
|
+
"$.xgafv"?:
|
|
2675
|
+
string;
|
|
2048
2676
|
/** OAuth access token. */
|
|
2049
|
-
access_token?:
|
|
2677
|
+
access_token?:
|
|
2678
|
+
string;
|
|
2050
2679
|
/** Data format for response. */
|
|
2051
|
-
alt?:
|
|
2680
|
+
alt?:
|
|
2681
|
+
string;
|
|
2052
2682
|
/** JSONP */
|
|
2053
|
-
callback?:
|
|
2683
|
+
callback?:
|
|
2684
|
+
string;
|
|
2054
2685
|
/** Selector specifying which fields to include in a partial response. */
|
|
2055
|
-
fields?:
|
|
2686
|
+
fields?:
|
|
2687
|
+
string;
|
|
2056
2688
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2057
|
-
key?:
|
|
2689
|
+
key?:
|
|
2690
|
+
string;
|
|
2058
2691
|
/** OAuth 2.0 token for the current user. */
|
|
2059
|
-
oauth_token?:
|
|
2692
|
+
oauth_token?:
|
|
2693
|
+
string;
|
|
2060
2694
|
/** The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com` */
|
|
2061
|
-
parent:
|
|
2695
|
+
parent:
|
|
2696
|
+
string;
|
|
2062
2697
|
/** Returns response with indentations and line breaks. */
|
|
2063
|
-
prettyPrint?:
|
|
2698
|
+
prettyPrint?:
|
|
2699
|
+
boolean;
|
|
2064
2700
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2065
|
-
quotaUser?:
|
|
2701
|
+
quotaUser?:
|
|
2702
|
+
string;
|
|
2066
2703
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2067
|
-
upload_protocol?:
|
|
2704
|
+
upload_protocol?:
|
|
2705
|
+
string;
|
|
2068
2706
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2069
|
-
uploadType?:
|
|
2707
|
+
uploadType?:
|
|
2708
|
+
string;
|
|
2070
2709
|
/** Request body */
|
|
2071
|
-
resource:
|
|
2710
|
+
resource:
|
|
2711
|
+
ImportConsumerOverridesRequest;
|
|
2072
2712
|
}): Request<Operation>;
|
|
2073
2713
|
importConsumerOverrides(request: {
|
|
2074
2714
|
/** V1 error format. */
|
|
2075
|
-
"$.xgafv"?:
|
|
2715
|
+
"$.xgafv"?:
|
|
2716
|
+
string;
|
|
2076
2717
|
/** OAuth access token. */
|
|
2077
|
-
access_token?:
|
|
2718
|
+
access_token?:
|
|
2719
|
+
string;
|
|
2078
2720
|
/** Data format for response. */
|
|
2079
|
-
alt?:
|
|
2721
|
+
alt?:
|
|
2722
|
+
string;
|
|
2080
2723
|
/** JSONP */
|
|
2081
|
-
callback?:
|
|
2724
|
+
callback?:
|
|
2725
|
+
string;
|
|
2082
2726
|
/** Selector specifying which fields to include in a partial response. */
|
|
2083
|
-
fields?:
|
|
2727
|
+
fields?:
|
|
2728
|
+
string;
|
|
2084
2729
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2085
|
-
key?:
|
|
2730
|
+
key?:
|
|
2731
|
+
string;
|
|
2086
2732
|
/** OAuth 2.0 token for the current user. */
|
|
2087
|
-
oauth_token?:
|
|
2733
|
+
oauth_token?:
|
|
2734
|
+
string;
|
|
2088
2735
|
/** The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com` */
|
|
2089
|
-
parent:
|
|
2736
|
+
parent:
|
|
2737
|
+
string;
|
|
2090
2738
|
/** Returns response with indentations and line breaks. */
|
|
2091
|
-
prettyPrint?:
|
|
2739
|
+
prettyPrint?:
|
|
2740
|
+
boolean;
|
|
2092
2741
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2093
|
-
quotaUser?:
|
|
2742
|
+
quotaUser?:
|
|
2743
|
+
string;
|
|
2094
2744
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2095
|
-
upload_protocol?:
|
|
2745
|
+
upload_protocol?:
|
|
2746
|
+
string;
|
|
2096
2747
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2097
|
-
uploadType?:
|
|
2748
|
+
uploadType?:
|
|
2749
|
+
string;
|
|
2098
2750
|
},
|
|
2099
2751
|
body: ImportConsumerOverridesRequest): Request<Operation>;
|
|
2100
2752
|
/**
|
|
@@ -2103,40 +2755,56 @@ declare namespace gapi.client {
|
|
|
2103
2755
|
*/
|
|
2104
2756
|
list(request?: {
|
|
2105
2757
|
/** V1 error format. */
|
|
2106
|
-
"$.xgafv"?:
|
|
2758
|
+
"$.xgafv"?:
|
|
2759
|
+
string;
|
|
2107
2760
|
/** OAuth access token. */
|
|
2108
|
-
access_token?:
|
|
2761
|
+
access_token?:
|
|
2762
|
+
string;
|
|
2109
2763
|
/** Data format for response. */
|
|
2110
|
-
alt?:
|
|
2764
|
+
alt?:
|
|
2765
|
+
string;
|
|
2111
2766
|
/** JSONP */
|
|
2112
|
-
callback?:
|
|
2767
|
+
callback?:
|
|
2768
|
+
string;
|
|
2113
2769
|
/** Selector specifying which fields to include in a partial response. */
|
|
2114
|
-
fields?:
|
|
2770
|
+
fields?:
|
|
2771
|
+
string;
|
|
2115
2772
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2116
|
-
key?:
|
|
2773
|
+
key?:
|
|
2774
|
+
string;
|
|
2117
2775
|
/** OAuth 2.0 token for the current user. */
|
|
2118
|
-
oauth_token?:
|
|
2776
|
+
oauth_token?:
|
|
2777
|
+
string;
|
|
2119
2778
|
/** Requested size of the next page of data. */
|
|
2120
|
-
pageSize?:
|
|
2779
|
+
pageSize?:
|
|
2780
|
+
number;
|
|
2121
2781
|
/** Token identifying which result to start with; returned by a previous list call. */
|
|
2122
|
-
pageToken?:
|
|
2782
|
+
pageToken?:
|
|
2783
|
+
string;
|
|
2123
2784
|
/**
|
|
2124
2785
|
* Parent of the quotas resource. Some example names would be: `projects/123/services/serviceconsumermanagement.googleapis.com`
|
|
2125
2786
|
* `folders/345/services/serviceconsumermanagement.googleapis.com` `organizations/456/services/serviceconsumermanagement.googleapis.com`
|
|
2126
2787
|
*/
|
|
2127
|
-
parent:
|
|
2788
|
+
parent:
|
|
2789
|
+
string;
|
|
2128
2790
|
/** Returns response with indentations and line breaks. */
|
|
2129
|
-
prettyPrint?:
|
|
2791
|
+
prettyPrint?:
|
|
2792
|
+
boolean;
|
|
2130
2793
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2131
|
-
quotaUser?:
|
|
2794
|
+
quotaUser?:
|
|
2795
|
+
string;
|
|
2132
2796
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2133
|
-
upload_protocol?:
|
|
2797
|
+
upload_protocol?:
|
|
2798
|
+
string;
|
|
2134
2799
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2135
|
-
uploadType?:
|
|
2800
|
+
uploadType?:
|
|
2801
|
+
string;
|
|
2136
2802
|
/** Specifies the level of detail for quota information in the response. */
|
|
2137
|
-
view?:
|
|
2803
|
+
view?:
|
|
2804
|
+
string;
|
|
2138
2805
|
}): Request<ListConsumerQuotaMetricsResponse>;
|
|
2139
|
-
limits:
|
|
2806
|
+
limits:
|
|
2807
|
+
LimitsResource;
|
|
2140
2808
|
}
|
|
2141
2809
|
interface ServicesResource {
|
|
2142
2810
|
/**
|
|
@@ -2145,63 +2813,88 @@ declare namespace gapi.client {
|
|
|
2145
2813
|
*/
|
|
2146
2814
|
batchEnable(request: {
|
|
2147
2815
|
/** V1 error format. */
|
|
2148
|
-
"$.xgafv"?:
|
|
2816
|
+
"$.xgafv"?:
|
|
2817
|
+
string;
|
|
2149
2818
|
/** OAuth access token. */
|
|
2150
|
-
access_token?:
|
|
2819
|
+
access_token?:
|
|
2820
|
+
string;
|
|
2151
2821
|
/** Data format for response. */
|
|
2152
|
-
alt?:
|
|
2822
|
+
alt?:
|
|
2823
|
+
string;
|
|
2153
2824
|
/** JSONP */
|
|
2154
|
-
callback?:
|
|
2825
|
+
callback?:
|
|
2826
|
+
string;
|
|
2155
2827
|
/** Selector specifying which fields to include in a partial response. */
|
|
2156
|
-
fields?:
|
|
2828
|
+
fields?:
|
|
2829
|
+
string;
|
|
2157
2830
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2158
|
-
key?:
|
|
2831
|
+
key?:
|
|
2832
|
+
string;
|
|
2159
2833
|
/** OAuth 2.0 token for the current user. */
|
|
2160
|
-
oauth_token?:
|
|
2834
|
+
oauth_token?:
|
|
2835
|
+
string;
|
|
2161
2836
|
/**
|
|
2162
2837
|
* Parent to enable services on. An example name would be: `projects/123` where `123` is the project number (not project ID). The `BatchEnableServices` method currently only
|
|
2163
2838
|
* supports projects.
|
|
2164
2839
|
*/
|
|
2165
|
-
parent:
|
|
2840
|
+
parent:
|
|
2841
|
+
string;
|
|
2166
2842
|
/** Returns response with indentations and line breaks. */
|
|
2167
|
-
prettyPrint?:
|
|
2843
|
+
prettyPrint?:
|
|
2844
|
+
boolean;
|
|
2168
2845
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2169
|
-
quotaUser?:
|
|
2846
|
+
quotaUser?:
|
|
2847
|
+
string;
|
|
2170
2848
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2171
|
-
upload_protocol?:
|
|
2849
|
+
upload_protocol?:
|
|
2850
|
+
string;
|
|
2172
2851
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2173
|
-
uploadType?:
|
|
2852
|
+
uploadType?:
|
|
2853
|
+
string;
|
|
2174
2854
|
/** Request body */
|
|
2175
|
-
resource:
|
|
2855
|
+
resource:
|
|
2856
|
+
BatchEnableServicesRequest;
|
|
2176
2857
|
}): Request<Operation>;
|
|
2177
2858
|
batchEnable(request: {
|
|
2178
2859
|
/** V1 error format. */
|
|
2179
|
-
"$.xgafv"?:
|
|
2860
|
+
"$.xgafv"?:
|
|
2861
|
+
string;
|
|
2180
2862
|
/** OAuth access token. */
|
|
2181
|
-
access_token?:
|
|
2863
|
+
access_token?:
|
|
2864
|
+
string;
|
|
2182
2865
|
/** Data format for response. */
|
|
2183
|
-
alt?:
|
|
2866
|
+
alt?:
|
|
2867
|
+
string;
|
|
2184
2868
|
/** JSONP */
|
|
2185
|
-
callback?:
|
|
2869
|
+
callback?:
|
|
2870
|
+
string;
|
|
2186
2871
|
/** Selector specifying which fields to include in a partial response. */
|
|
2187
|
-
fields?:
|
|
2872
|
+
fields?:
|
|
2873
|
+
string;
|
|
2188
2874
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2189
|
-
key?:
|
|
2875
|
+
key?:
|
|
2876
|
+
string;
|
|
2190
2877
|
/** OAuth 2.0 token for the current user. */
|
|
2191
|
-
oauth_token?:
|
|
2878
|
+
oauth_token?:
|
|
2879
|
+
string;
|
|
2192
2880
|
/**
|
|
2193
2881
|
* Parent to enable services on. An example name would be: `projects/123` where `123` is the project number (not project ID). The `BatchEnableServices` method currently only
|
|
2194
2882
|
* supports projects.
|
|
2195
2883
|
*/
|
|
2196
|
-
parent:
|
|
2884
|
+
parent:
|
|
2885
|
+
string;
|
|
2197
2886
|
/** Returns response with indentations and line breaks. */
|
|
2198
|
-
prettyPrint?:
|
|
2887
|
+
prettyPrint?:
|
|
2888
|
+
boolean;
|
|
2199
2889
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2200
|
-
quotaUser?:
|
|
2890
|
+
quotaUser?:
|
|
2891
|
+
string;
|
|
2201
2892
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2202
|
-
upload_protocol?:
|
|
2893
|
+
upload_protocol?:
|
|
2894
|
+
string;
|
|
2203
2895
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2204
|
-
uploadType?:
|
|
2896
|
+
uploadType?:
|
|
2897
|
+
string;
|
|
2205
2898
|
},
|
|
2206
2899
|
body: BatchEnableServicesRequest): Request<Operation>;
|
|
2207
2900
|
/**
|
|
@@ -2211,188 +2904,262 @@ declare namespace gapi.client {
|
|
|
2211
2904
|
*/
|
|
2212
2905
|
disable(request: {
|
|
2213
2906
|
/** V1 error format. */
|
|
2214
|
-
"$.xgafv"?:
|
|
2907
|
+
"$.xgafv"?:
|
|
2908
|
+
string;
|
|
2215
2909
|
/** OAuth access token. */
|
|
2216
|
-
access_token?:
|
|
2910
|
+
access_token?:
|
|
2911
|
+
string;
|
|
2217
2912
|
/** Data format for response. */
|
|
2218
|
-
alt?:
|
|
2913
|
+
alt?:
|
|
2914
|
+
string;
|
|
2219
2915
|
/** JSONP */
|
|
2220
|
-
callback?:
|
|
2916
|
+
callback?:
|
|
2917
|
+
string;
|
|
2221
2918
|
/** Selector specifying which fields to include in a partial response. */
|
|
2222
|
-
fields?:
|
|
2919
|
+
fields?:
|
|
2920
|
+
string;
|
|
2223
2921
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2224
|
-
key?:
|
|
2922
|
+
key?:
|
|
2923
|
+
string;
|
|
2225
2924
|
/**
|
|
2226
2925
|
* Name of the consumer and service to disable the service on. The enable and disable methods currently only support projects. An example name would be:
|
|
2227
2926
|
* `projects/123/services/serviceusage.googleapis.com` where `123` is the project number (not project ID).
|
|
2228
2927
|
*/
|
|
2229
|
-
name:
|
|
2928
|
+
name:
|
|
2929
|
+
string;
|
|
2230
2930
|
/** OAuth 2.0 token for the current user. */
|
|
2231
|
-
oauth_token?:
|
|
2931
|
+
oauth_token?:
|
|
2932
|
+
string;
|
|
2232
2933
|
/** Returns response with indentations and line breaks. */
|
|
2233
|
-
prettyPrint?:
|
|
2934
|
+
prettyPrint?:
|
|
2935
|
+
boolean;
|
|
2234
2936
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2235
|
-
quotaUser?:
|
|
2937
|
+
quotaUser?:
|
|
2938
|
+
string;
|
|
2236
2939
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2237
|
-
upload_protocol?:
|
|
2940
|
+
upload_protocol?:
|
|
2941
|
+
string;
|
|
2238
2942
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2239
|
-
uploadType?:
|
|
2943
|
+
uploadType?:
|
|
2944
|
+
string;
|
|
2240
2945
|
/** Request body */
|
|
2241
|
-
resource:
|
|
2946
|
+
resource:
|
|
2947
|
+
DisableServiceRequest;
|
|
2242
2948
|
}): Request<Operation>;
|
|
2243
2949
|
disable(request: {
|
|
2244
2950
|
/** V1 error format. */
|
|
2245
|
-
"$.xgafv"?:
|
|
2951
|
+
"$.xgafv"?:
|
|
2952
|
+
string;
|
|
2246
2953
|
/** OAuth access token. */
|
|
2247
|
-
access_token?:
|
|
2954
|
+
access_token?:
|
|
2955
|
+
string;
|
|
2248
2956
|
/** Data format for response. */
|
|
2249
|
-
alt?:
|
|
2957
|
+
alt?:
|
|
2958
|
+
string;
|
|
2250
2959
|
/** JSONP */
|
|
2251
|
-
callback?:
|
|
2960
|
+
callback?:
|
|
2961
|
+
string;
|
|
2252
2962
|
/** Selector specifying which fields to include in a partial response. */
|
|
2253
|
-
fields?:
|
|
2963
|
+
fields?:
|
|
2964
|
+
string;
|
|
2254
2965
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2255
|
-
key?:
|
|
2966
|
+
key?:
|
|
2967
|
+
string;
|
|
2256
2968
|
/**
|
|
2257
2969
|
* Name of the consumer and service to disable the service on. The enable and disable methods currently only support projects. An example name would be:
|
|
2258
2970
|
* `projects/123/services/serviceusage.googleapis.com` where `123` is the project number (not project ID).
|
|
2259
2971
|
*/
|
|
2260
|
-
name:
|
|
2972
|
+
name:
|
|
2973
|
+
string;
|
|
2261
2974
|
/** OAuth 2.0 token for the current user. */
|
|
2262
|
-
oauth_token?:
|
|
2975
|
+
oauth_token?:
|
|
2976
|
+
string;
|
|
2263
2977
|
/** Returns response with indentations and line breaks. */
|
|
2264
|
-
prettyPrint?:
|
|
2978
|
+
prettyPrint?:
|
|
2979
|
+
boolean;
|
|
2265
2980
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2266
|
-
quotaUser?:
|
|
2981
|
+
quotaUser?:
|
|
2982
|
+
string;
|
|
2267
2983
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2268
|
-
upload_protocol?:
|
|
2984
|
+
upload_protocol?:
|
|
2985
|
+
string;
|
|
2269
2986
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2270
|
-
uploadType?:
|
|
2987
|
+
uploadType?:
|
|
2988
|
+
string;
|
|
2271
2989
|
},
|
|
2272
2990
|
body: DisableServiceRequest): Request<Operation>;
|
|
2273
2991
|
/** Enables a service so that it can be used with a project. Operation response type: `google.protobuf.Empty` */
|
|
2274
2992
|
enable(request: {
|
|
2275
2993
|
/** V1 error format. */
|
|
2276
|
-
"$.xgafv"?:
|
|
2994
|
+
"$.xgafv"?:
|
|
2995
|
+
string;
|
|
2277
2996
|
/** OAuth access token. */
|
|
2278
|
-
access_token?:
|
|
2997
|
+
access_token?:
|
|
2998
|
+
string;
|
|
2279
2999
|
/** Data format for response. */
|
|
2280
|
-
alt?:
|
|
3000
|
+
alt?:
|
|
3001
|
+
string;
|
|
2281
3002
|
/** JSONP */
|
|
2282
|
-
callback?:
|
|
3003
|
+
callback?:
|
|
3004
|
+
string;
|
|
2283
3005
|
/** Selector specifying which fields to include in a partial response. */
|
|
2284
|
-
fields?:
|
|
3006
|
+
fields?:
|
|
3007
|
+
string;
|
|
2285
3008
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2286
|
-
key?:
|
|
3009
|
+
key?:
|
|
3010
|
+
string;
|
|
2287
3011
|
/**
|
|
2288
3012
|
* Name of the consumer and service to enable the service on. The `EnableService` and `DisableService` methods currently only support projects. Enabling a service requires that the
|
|
2289
3013
|
* service is public or is shared with the user enabling the service. An example name would be: `projects/123/services/serviceusage.googleapis.com` where `123` is the project
|
|
2290
3014
|
* number (not project ID).
|
|
2291
3015
|
*/
|
|
2292
|
-
name:
|
|
3016
|
+
name:
|
|
3017
|
+
string;
|
|
2293
3018
|
/** OAuth 2.0 token for the current user. */
|
|
2294
|
-
oauth_token?:
|
|
3019
|
+
oauth_token?:
|
|
3020
|
+
string;
|
|
2295
3021
|
/** Returns response with indentations and line breaks. */
|
|
2296
|
-
prettyPrint?:
|
|
3022
|
+
prettyPrint?:
|
|
3023
|
+
boolean;
|
|
2297
3024
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2298
|
-
quotaUser?:
|
|
3025
|
+
quotaUser?:
|
|
3026
|
+
string;
|
|
2299
3027
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2300
|
-
upload_protocol?:
|
|
3028
|
+
upload_protocol?:
|
|
3029
|
+
string;
|
|
2301
3030
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2302
|
-
uploadType?:
|
|
3031
|
+
uploadType?:
|
|
3032
|
+
string;
|
|
2303
3033
|
/** Request body */
|
|
2304
|
-
resource:
|
|
3034
|
+
resource:
|
|
3035
|
+
EnableServiceRequest;
|
|
2305
3036
|
}): Request<Operation>;
|
|
2306
3037
|
enable(request: {
|
|
2307
3038
|
/** V1 error format. */
|
|
2308
|
-
"$.xgafv"?:
|
|
3039
|
+
"$.xgafv"?:
|
|
3040
|
+
string;
|
|
2309
3041
|
/** OAuth access token. */
|
|
2310
|
-
access_token?:
|
|
3042
|
+
access_token?:
|
|
3043
|
+
string;
|
|
2311
3044
|
/** Data format for response. */
|
|
2312
|
-
alt?:
|
|
3045
|
+
alt?:
|
|
3046
|
+
string;
|
|
2313
3047
|
/** JSONP */
|
|
2314
|
-
callback?:
|
|
3048
|
+
callback?:
|
|
3049
|
+
string;
|
|
2315
3050
|
/** Selector specifying which fields to include in a partial response. */
|
|
2316
|
-
fields?:
|
|
3051
|
+
fields?:
|
|
3052
|
+
string;
|
|
2317
3053
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2318
|
-
key?:
|
|
3054
|
+
key?:
|
|
3055
|
+
string;
|
|
2319
3056
|
/**
|
|
2320
3057
|
* Name of the consumer and service to enable the service on. The `EnableService` and `DisableService` methods currently only support projects. Enabling a service requires that the
|
|
2321
3058
|
* service is public or is shared with the user enabling the service. An example name would be: `projects/123/services/serviceusage.googleapis.com` where `123` is the project
|
|
2322
3059
|
* number (not project ID).
|
|
2323
3060
|
*/
|
|
2324
|
-
name:
|
|
3061
|
+
name:
|
|
3062
|
+
string;
|
|
2325
3063
|
/** OAuth 2.0 token for the current user. */
|
|
2326
|
-
oauth_token?:
|
|
3064
|
+
oauth_token?:
|
|
3065
|
+
string;
|
|
2327
3066
|
/** Returns response with indentations and line breaks. */
|
|
2328
|
-
prettyPrint?:
|
|
3067
|
+
prettyPrint?:
|
|
3068
|
+
boolean;
|
|
2329
3069
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2330
|
-
quotaUser?:
|
|
3070
|
+
quotaUser?:
|
|
3071
|
+
string;
|
|
2331
3072
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2332
|
-
upload_protocol?:
|
|
3073
|
+
upload_protocol?:
|
|
3074
|
+
string;
|
|
2333
3075
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2334
|
-
uploadType?:
|
|
3076
|
+
uploadType?:
|
|
3077
|
+
string;
|
|
2335
3078
|
},
|
|
2336
3079
|
body: EnableServiceRequest): Request<Operation>;
|
|
2337
3080
|
/** Generates service identity for service. */
|
|
2338
3081
|
generateServiceIdentity(request?: {
|
|
2339
3082
|
/** V1 error format. */
|
|
2340
|
-
"$.xgafv"?:
|
|
3083
|
+
"$.xgafv"?:
|
|
3084
|
+
string;
|
|
2341
3085
|
/** OAuth access token. */
|
|
2342
|
-
access_token?:
|
|
3086
|
+
access_token?:
|
|
3087
|
+
string;
|
|
2343
3088
|
/** Data format for response. */
|
|
2344
|
-
alt?:
|
|
3089
|
+
alt?:
|
|
3090
|
+
string;
|
|
2345
3091
|
/** JSONP */
|
|
2346
|
-
callback?:
|
|
3092
|
+
callback?:
|
|
3093
|
+
string;
|
|
2347
3094
|
/** Selector specifying which fields to include in a partial response. */
|
|
2348
|
-
fields?:
|
|
3095
|
+
fields?:
|
|
3096
|
+
string;
|
|
2349
3097
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2350
|
-
key?:
|
|
3098
|
+
key?:
|
|
3099
|
+
string;
|
|
2351
3100
|
/** OAuth 2.0 token for the current user. */
|
|
2352
|
-
oauth_token?:
|
|
3101
|
+
oauth_token?:
|
|
3102
|
+
string;
|
|
2353
3103
|
/**
|
|
2354
3104
|
* Name of the consumer and service to generate an identity for. The `GenerateServiceIdentity` methods currently only support projects. An example name would be:
|
|
2355
3105
|
* `projects/123/services/example.googleapis.com` where `123` is the project number.
|
|
2356
3106
|
*/
|
|
2357
|
-
parent:
|
|
3107
|
+
parent:
|
|
3108
|
+
string;
|
|
2358
3109
|
/** Returns response with indentations and line breaks. */
|
|
2359
|
-
prettyPrint?:
|
|
3110
|
+
prettyPrint?:
|
|
3111
|
+
boolean;
|
|
2360
3112
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2361
|
-
quotaUser?:
|
|
3113
|
+
quotaUser?:
|
|
3114
|
+
string;
|
|
2362
3115
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2363
|
-
upload_protocol?:
|
|
3116
|
+
upload_protocol?:
|
|
3117
|
+
string;
|
|
2364
3118
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2365
|
-
uploadType?:
|
|
3119
|
+
uploadType?:
|
|
3120
|
+
string;
|
|
2366
3121
|
}): Request<Operation>;
|
|
2367
3122
|
/** Returns the service configuration and enabled state for a given service. */
|
|
2368
3123
|
get(request?: {
|
|
2369
3124
|
/** V1 error format. */
|
|
2370
|
-
"$.xgafv"?:
|
|
3125
|
+
"$.xgafv"?:
|
|
3126
|
+
string;
|
|
2371
3127
|
/** OAuth access token. */
|
|
2372
|
-
access_token?:
|
|
3128
|
+
access_token?:
|
|
3129
|
+
string;
|
|
2373
3130
|
/** Data format for response. */
|
|
2374
|
-
alt?:
|
|
3131
|
+
alt?:
|
|
3132
|
+
string;
|
|
2375
3133
|
/** JSONP */
|
|
2376
|
-
callback?:
|
|
3134
|
+
callback?:
|
|
3135
|
+
string;
|
|
2377
3136
|
/** Selector specifying which fields to include in a partial response. */
|
|
2378
|
-
fields?:
|
|
3137
|
+
fields?:
|
|
3138
|
+
string;
|
|
2379
3139
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2380
|
-
key?:
|
|
3140
|
+
key?:
|
|
3141
|
+
string;
|
|
2381
3142
|
/**
|
|
2382
3143
|
* Name of the consumer and service to get the `ConsumerState` for. An example name would be: `projects/123/services/serviceusage.googleapis.com` where `123` is the project number
|
|
2383
3144
|
* (not project ID).
|
|
2384
3145
|
*/
|
|
2385
|
-
name:
|
|
3146
|
+
name:
|
|
3147
|
+
string;
|
|
2386
3148
|
/** OAuth 2.0 token for the current user. */
|
|
2387
|
-
oauth_token?:
|
|
3149
|
+
oauth_token?:
|
|
3150
|
+
string;
|
|
2388
3151
|
/** Returns response with indentations and line breaks. */
|
|
2389
|
-
prettyPrint?:
|
|
3152
|
+
prettyPrint?:
|
|
3153
|
+
boolean;
|
|
2390
3154
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2391
|
-
quotaUser?:
|
|
3155
|
+
quotaUser?:
|
|
3156
|
+
string;
|
|
2392
3157
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2393
|
-
upload_protocol?:
|
|
3158
|
+
upload_protocol?:
|
|
3159
|
+
string;
|
|
2394
3160
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2395
|
-
uploadType?:
|
|
3161
|
+
uploadType?:
|
|
3162
|
+
string;
|
|
2396
3163
|
}): Request<Service>;
|
|
2397
3164
|
/**
|
|
2398
3165
|
* Lists all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for
|
|
@@ -2401,37 +3168,53 @@ declare namespace gapi.client {
|
|
|
2401
3168
|
*/
|
|
2402
3169
|
list(request?: {
|
|
2403
3170
|
/** V1 error format. */
|
|
2404
|
-
"$.xgafv"?:
|
|
3171
|
+
"$.xgafv"?:
|
|
3172
|
+
string;
|
|
2405
3173
|
/** OAuth access token. */
|
|
2406
|
-
access_token?:
|
|
3174
|
+
access_token?:
|
|
3175
|
+
string;
|
|
2407
3176
|
/** Data format for response. */
|
|
2408
|
-
alt?:
|
|
3177
|
+
alt?:
|
|
3178
|
+
string;
|
|
2409
3179
|
/** JSONP */
|
|
2410
|
-
callback?:
|
|
3180
|
+
callback?:
|
|
3181
|
+
string;
|
|
2411
3182
|
/** Selector specifying which fields to include in a partial response. */
|
|
2412
|
-
fields?:
|
|
3183
|
+
fields?:
|
|
3184
|
+
string;
|
|
2413
3185
|
/** Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`. */
|
|
2414
|
-
filter?:
|
|
3186
|
+
filter?:
|
|
3187
|
+
string;
|
|
2415
3188
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2416
|
-
key?:
|
|
3189
|
+
key?:
|
|
3190
|
+
string;
|
|
2417
3191
|
/** OAuth 2.0 token for the current user. */
|
|
2418
|
-
oauth_token?:
|
|
3192
|
+
oauth_token?:
|
|
3193
|
+
string;
|
|
2419
3194
|
/** Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50. */
|
|
2420
|
-
pageSize?:
|
|
3195
|
+
pageSize?:
|
|
3196
|
+
number;
|
|
2421
3197
|
/** Token identifying which result to start with, which is returned by a previous list call. */
|
|
2422
|
-
pageToken?:
|
|
3198
|
+
pageToken?:
|
|
3199
|
+
string;
|
|
2423
3200
|
/** Parent to search for services on. An example name would be: `projects/123` where `123` is the project number (not project ID). */
|
|
2424
|
-
parent:
|
|
3201
|
+
parent:
|
|
3202
|
+
string;
|
|
2425
3203
|
/** Returns response with indentations and line breaks. */
|
|
2426
|
-
prettyPrint?:
|
|
3204
|
+
prettyPrint?:
|
|
3205
|
+
boolean;
|
|
2427
3206
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2428
|
-
quotaUser?:
|
|
3207
|
+
quotaUser?:
|
|
3208
|
+
string;
|
|
2429
3209
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2430
|
-
upload_protocol?:
|
|
3210
|
+
upload_protocol?:
|
|
3211
|
+
string;
|
|
2431
3212
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2432
|
-
uploadType?:
|
|
3213
|
+
uploadType?:
|
|
3214
|
+
string;
|
|
2433
3215
|
}): Request<ListServicesResponse>;
|
|
2434
|
-
consumerQuotaMetrics:
|
|
3216
|
+
consumerQuotaMetrics:
|
|
3217
|
+
ConsumerQuotaMetricsResource;
|
|
2435
3218
|
}
|
|
2436
3219
|
|
|
2437
3220
|
const operations: OperationsResource;
|