@maxim_mazurok/gapi.client.servicecontrol-v1 0.0.20230421 → 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.
Files changed (3) hide show
  1. package/index.d.ts +693 -347
  2. package/package.json +1 -1
  3. 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://servicecontrol.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230421
12
+ // Revision: 20230428
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -27,97 +27,125 @@ declare namespace gapi.client {
27
27
  * A list of label keys that were unused by the server in processing the request. Thus, for similar requests repeated in a certain future time window, the caller can choose to ignore
28
28
  * these labels in the requests to achieve better client-side cache hits and quota aggregation for rate quota. This field is not populated for allocation quota checks.
29
29
  */
30
- unusedArguments?: string[];
30
+ unusedArguments?:
31
+ string[];
31
32
  }
32
33
  interface AllocateQuotaRequest {
33
34
  /** Operation that describes the quota allocation. */
34
- allocateOperation?: QuotaOperation;
35
+ allocateOperation?:
36
+ QuotaOperation;
35
37
  /** Specifies which version of service configuration should be used to process the request. If unspecified or no matching version can be found, the latest one will be used. */
36
- serviceConfigId?: string;
38
+ serviceConfigId?:
39
+ string;
37
40
  }
38
41
  interface AllocateQuotaResponse {
39
42
  /** Indicates the decision of the allocate. */
40
- allocateErrors?: QuotaError[];
43
+ allocateErrors?:
44
+ QuotaError[];
41
45
  /** WARNING: DO NOT use this field until this warning message is removed. */
42
- allocateInfo?: AllocateInfo;
46
+ allocateInfo?:
47
+ AllocateInfo;
43
48
  /** The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes. */
44
- operationId?: string;
49
+ operationId?:
50
+ string;
45
51
  /**
46
52
  * Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. Per quota group or per quota metric
47
53
  * incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count" 2. The quota limit reached condition will be
48
54
  * specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
49
55
  */
50
- quotaMetrics?: MetricValueSet[];
56
+ quotaMetrics?:
57
+ MetricValueSet[];
51
58
  /** ID of the actual config used to process the request. */
52
- serviceConfigId?: string;
59
+ serviceConfigId?:
60
+ string;
53
61
  }
54
62
  interface Attributes {
55
63
  /**
56
64
  * The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and
57
65
  * `false`. For example: "/instance_id": "my-instance" "/http/user_agent": "" "/http/request_bytes": 300 "abc.com/myattribute": true
58
66
  */
59
- attributeMap?: { [P in string]: AttributeValue };
67
+ attributeMap?:
68
+ { [P in string]: AttributeValue };
60
69
  /**
61
70
  * The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0 then all
62
71
  * attributes are valid.
63
72
  */
64
- droppedAttributesCount?: number;
73
+ droppedAttributesCount?:
74
+ number;
65
75
  }
66
76
  interface AttributeValue {
67
77
  /** A Boolean value represented by `true` or `false`. */
68
- boolValue?: boolean;
78
+ boolValue?:
79
+ boolean;
69
80
  /** A 64-bit signed integer. */
70
- intValue?: string;
81
+ intValue?:
82
+ string;
71
83
  /** A string up to 256 bytes long. */
72
- stringValue?: TruncatableString;
84
+ stringValue?:
85
+ TruncatableString;
73
86
  }
74
87
  interface AuditLog {
75
88
  /** Authentication information. */
76
- authenticationInfo?: AuthenticationInfo;
89
+ authenticationInfo?:
90
+ AuthenticationInfo;
77
91
  /** Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple. */
78
- authorizationInfo?: AuthorizationInfo[];
92
+ authorizationInfo?:
93
+ AuthorizationInfo[];
79
94
  /** Other service-specific data about the request, response, and other information associated with the current audited event. */
80
- metadata?: { [P in string]: any };
95
+ metadata?:
96
+ { [P in string]: any };
81
97
  /**
82
98
  * The name of the service method or operation. For API calls, this should be the name of the API method. For example, "google.cloud.bigquery.v2.TableService.InsertTable"
83
99
  * "google.logging.v2.ConfigServiceV2.CreateSink"
84
100
  */
85
- methodName?: string;
101
+ methodName?:
102
+ string;
86
103
  /** The number of items returned from a List or Query API method, if applicable. */
87
- numResponseItems?: string;
104
+ numResponseItems?:
105
+ string;
88
106
  /** Indicates the policy violations for this request. If the request is denied by the policy, violation information will be logged here. */
89
- policyViolationInfo?: PolicyViolationInfo;
107
+ policyViolationInfo?:
108
+ PolicyViolationInfo;
90
109
  /**
91
110
  * The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never
92
111
  * include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@‍type` property.
93
112
  */
94
- request?: { [P in string]: any };
113
+ request?:
114
+ { [P in string]: any };
95
115
  /** Metadata about the operation. */
96
- requestMetadata?: RequestMetadata;
116
+ requestMetadata?:
117
+ RequestMetadata;
97
118
  /** The resource location information. */
98
- resourceLocation?: ResourceLocation;
119
+ resourceLocation?:
120
+ ResourceLocation;
99
121
  /**
100
122
  * The resource or collection that is the target of the operation. The name is a scheme-less URI, not including the API service name. For example:
101
123
  * "projects/PROJECT_ID/zones/us-central1-a/instances" "projects/PROJECT_ID/datasets/DATASET_ID"
102
124
  */
103
- resourceName?: string;
125
+ resourceName?:
126
+ string;
104
127
  /**
105
128
  * The resource's original state before mutation. Present only for operations which have successfully modified the targeted resource(s). In general, this field should contain all
106
129
  * changed fields, except those that are already been included in `request`, `response`, `metadata` or `service_data` fields. When the JSON object represented here has a proto
107
130
  * equivalent, the proto name will be indicated in the `@‍type` property.
108
131
  */
109
- resourceOriginalState?: { [P in string]: any };
132
+ resourceOriginalState?:
133
+ { [P in string]: any };
110
134
  /**
111
135
  * The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never
112
136
  * include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@‍type` property.
113
137
  */
114
- response?: { [P in string]: any };
138
+ response?:
139
+ { [P in string]: any };
115
140
  /** Deprecated. Use the `metadata` field instead. Other service-specific data about the request, response, and other activities. */
116
- serviceData?: { [P in string]: any };
141
+ serviceData?:
142
+ { [P in string]: any };
117
143
  /** The name of the API service performing the operation. For example, `"compute.googleapis.com"`. */
118
- serviceName?: string;
144
+ serviceName?:
145
+ string;
119
146
  /** The status of the overall operation. */
120
- status?: Status;
147
+ status?:
148
+ Status;
121
149
  }
122
150
  interface Auth {
123
151
  /**
@@ -125,131 +153,165 @@ declare namespace gapi.client {
125
153
  * string has the format: "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" Example:
126
154
  * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL"
127
155
  */
128
- accessLevels?: string[];
156
+ accessLevels?:
157
+ string[];
129
158
  /**
130
159
  * The intended audience(s) for this authentication information. Reflects the audience (`aud`) claim within a JWT. The audience value(s) depends on the `issuer`, but typically include
131
160
  * one or more of the following pieces of information: * The services intended to receive the credential. For example, ["https://pubsub.googleapis.com/",
132
161
  * "https://storage.googleapis.com/"]. * A set of service-based scopes. For example, ["https://www.googleapis.com/auth/cloud-platform"]. * The client id of an app, such as the Firebase
133
162
  * project id for JWTs from Firebase Auth. Consult the documentation for the credential issuer to determine the information provided.
134
163
  */
135
- audiences?: string[];
164
+ audiences?:
165
+ string[];
136
166
  /**
137
167
  * Structured claims presented with the credential. JWTs include `{key: value}` pairs for standard and private claims. The following is a subset of the standard required and optional
138
168
  * claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'],
139
169
  * 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions are similarly specified, but with an identity
140
170
  * provider dependent structure.
141
171
  */
142
- claims?: { [P in string]: any };
172
+ claims?:
173
+ { [P in string]: any };
143
174
  /**
144
175
  * The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client
145
176
  * id looks as follows: "123456789012.apps.googleusercontent.com".
146
177
  */
147
- presenter?: string;
178
+ presenter?:
179
+ string;
148
180
  /**
149
181
  * The authenticated principal. Reflects the issuer (`iss`) and subject (`sub`) claims within a JWT. The issuer and subject should be `/` delimited, with `/` percent-encoded within the
150
182
  * subject fragment. For Google accounts, the principal format is: "https://accounts.google.com/{id}"
151
183
  */
152
- principal?: string;
184
+ principal?:
185
+ string;
153
186
  }
154
187
  interface AuthenticationInfo {
155
188
  /** The authority selector specified by the requestor, if any. It is not guaranteed that the principal was allowed to use this authority. */
156
- authoritySelector?: string;
189
+ authoritySelector?:
190
+ string;
157
191
  /**
158
192
  * The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the `principal_subject`
159
193
  * field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit
160
194
  * logs](https://cloud.google.com/logging/docs/audit#user-id).
161
195
  */
162
- principalEmail?: string;
196
+ principalEmail?:
197
+ string;
163
198
  /** String representation of identity of requesting party. Populated for both first and third party identities. */
164
- principalSubject?: string;
199
+ principalSubject?:
200
+ string;
165
201
  /**
166
202
  * Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by
167
203
  * delegating on a service account. When multiple authorities present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
168
204
  */
169
- serviceAccountDelegationInfo?: ServiceAccountDelegationInfo[];
205
+ serviceAccountDelegationInfo?:
206
+ ServiceAccountDelegationInfo[];
170
207
  /**
171
208
  * The name of the service account key used to create or exchange credentials for authenticating the service account making the request. This is a scheme-less URI full resource name.
172
209
  * For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
173
210
  */
174
- serviceAccountKeyName?: string;
211
+ serviceAccountKeyName?:
212
+ string;
175
213
  /**
176
214
  * The third party identification (if any) of the authenticated user making the request. When the JSON object represented here has a proto equivalent, the proto name will be indicated
177
215
  * in the `@‍type` property.
178
216
  */
179
- thirdPartyPrincipal?: { [P in string]: any };
217
+ thirdPartyPrincipal?:
218
+ { [P in string]: any };
180
219
  }
181
220
  interface AuthorizationInfo {
182
221
  /** Whether or not authorization for `resource` and `permission` was granted. */
183
- granted?: boolean;
222
+ granted?:
223
+ boolean;
184
224
  /** The required IAM permission. */
185
- permission?: string;
225
+ permission?:
226
+ string;
186
227
  /**
187
228
  * The resource being accessed, as a REST-style or cloud resource string. For example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or
188
229
  * projects/PROJECTID/datasets/DATASETID
189
230
  */
190
- resource?: string;
231
+ resource?:
232
+ string;
191
233
  /**
192
234
  * Resource attributes used in IAM condition evaluation. This field contains resource attributes like resource type and resource name. To get the whole view of the attributes used in
193
235
  * IAM condition evaluation, the user must also look into `AuditLog.request_metadata.request_attributes`.
194
236
  */
195
- resourceAttributes?: Resource;
237
+ resourceAttributes?:
238
+ Resource;
196
239
  }
197
240
  interface CheckError {
198
241
  /** The error code. */
199
- code?: string;
242
+ code?:
243
+ string;
200
244
  /** Free-form text providing details on the error cause of the error. */
201
- detail?: string;
245
+ detail?:
246
+ string;
202
247
  /** Contains public information about the check error. If available, `status.code` will be non zero and client can propagate it out as public error. */
203
- status?: Status;
248
+ status?:
249
+ Status;
204
250
  /** Subject to whom this error applies. See the specific code enum for more details on this field. For example: - "project:" - "folder:" - "organization:" */
205
- subject?: string;
251
+ subject?:
252
+ string;
206
253
  }
207
254
  interface CheckInfo {
208
255
  /** Consumer info of this check. */
209
- consumerInfo?: ConsumerInfo;
256
+ consumerInfo?:
257
+ ConsumerInfo;
210
258
  /** A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation. */
211
- unusedArguments?: string[];
259
+ unusedArguments?:
260
+ string[];
212
261
  }
213
262
  interface CheckRequest {
214
263
  /** The operation to be checked. */
215
- operation?: Operation;
264
+ operation?:
265
+ Operation;
216
266
  /** Requests the project settings to be returned as part of the check response. */
217
- requestProjectSettings?: boolean;
267
+ requestProjectSettings?:
268
+ boolean;
218
269
  /** Specifies which version of service configuration should be used to process the request. If unspecified or no matching version can be found, the latest one will be used. */
219
- serviceConfigId?: string;
270
+ serviceConfigId?:
271
+ string;
220
272
  /**
221
273
  * Indicates if service activation check should be skipped for this request. Default behavior is to perform the check and apply relevant quota. WARNING: Setting this flag to "true"
222
274
  * will disable quota enforcement.
223
275
  */
224
- skipActivationCheck?: boolean;
276
+ skipActivationCheck?:
277
+ boolean;
225
278
  }
226
279
  interface CheckResponse {
227
280
  /**
228
281
  * Indicate the decision of the check. If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the
229
282
  * appropriate action.
230
283
  */
231
- checkErrors?: CheckError[];
284
+ checkErrors?:
285
+ CheckError[];
232
286
  /** Feedback data returned from the server during processing a Check request. */
233
- checkInfo?: CheckInfo;
287
+ checkInfo?:
288
+ CheckInfo;
234
289
  /** The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes. */
235
- operationId?: string;
290
+ operationId?:
291
+ string;
236
292
  /** Quota information for the check request associated with this response. */
237
- quotaInfo?: QuotaInfo;
293
+ quotaInfo?:
294
+ QuotaInfo;
238
295
  /** The actual config id used to process the request. */
239
- serviceConfigId?: string;
296
+ serviceConfigId?:
297
+ string;
240
298
  /** The current service rollout id used to process the request. */
241
- serviceRolloutId?: string;
299
+ serviceRolloutId?:
300
+ string;
242
301
  }
243
302
  interface ConsumerInfo {
244
303
  /** The consumer identity number, can be Google cloud project number, folder number or organization number e.g. 1234567890. A value of 0 indicates no consumer number is found. */
245
- consumerNumber?: string;
304
+ consumerNumber?:
305
+ string;
246
306
  /**
247
307
  * The Google cloud project number, e.g. 1234567890. A value of 0 indicates no project number is found. NOTE: This field is deprecated after Chemist support flexible consumer id. New
248
308
  * code should not depend on this field anymore.
249
309
  */
250
- projectNumber?: string;
310
+ projectNumber?:
311
+ string;
251
312
  /** The type of the consumer which should have been defined in [Google Resource Manager](https://cloud.google.com/resource-manager/). */
252
- type?: string;
313
+ type?:
314
+ string;
253
315
  }
254
316
  interface Distribution {
255
317
  /**
@@ -258,28 +320,38 @@ declare namespace gapi.client {
258
320
  * buckets. And `bucket_counts[N] is the number of samples in the overflow bucket. See the comments of `bucket_option` below for more details. Any suffix of trailing zeros may be
259
321
  * omitted.
260
322
  */
261
- bucketCounts?: string[];
323
+ bucketCounts?:
324
+ string[];
262
325
  /** The total number of samples in the distribution. Must be >= 0. */
263
- count?: string;
326
+ count?:
327
+ string;
264
328
  /** Example points. Must be in increasing order of `value` field. */
265
- exemplars?: Exemplar[];
329
+ exemplars?:
330
+ Exemplar[];
266
331
  /** Buckets with arbitrary user-provided width. */
267
- explicitBuckets?: ExplicitBuckets;
332
+ explicitBuckets?:
333
+ ExplicitBuckets;
268
334
  /** Buckets with exponentially growing width. */
269
- exponentialBuckets?: ExponentialBuckets;
335
+ exponentialBuckets?:
336
+ ExponentialBuckets;
270
337
  /** Buckets with constant width. */
271
- linearBuckets?: LinearBuckets;
338
+ linearBuckets?:
339
+ LinearBuckets;
272
340
  /** The maximum of the population of values. Ignored if `count` is zero. */
273
- maximum?: number;
341
+ maximum?:
342
+ number;
274
343
  /** The arithmetic mean of the samples in the distribution. If `count` is zero then this field must be zero. */
275
- mean?: number;
344
+ mean?:
345
+ number;
276
346
  /** The minimum of the population of values. Ignored if `count` is zero. */
277
- minimum?: number;
347
+ minimum?:
348
+ number;
278
349
  /**
279
350
  * The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2) where each x_i is a sample values. If `count` is zero then this field must be zero, otherwise validation
280
351
  * of the request fails.
281
352
  */
282
- sumOfSquaredDeviation?: number;
353
+ sumOfSquaredDeviation?:
354
+ number;
283
355
  }
284
356
  interface Exemplar {
285
357
  /**
@@ -287,11 +359,14 @@ declare namespace gapi.client {
287
359
  * type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of
288
360
  * any given message type in a single exemplar, and this is enforced by the system.
289
361
  */
290
- attachments?: Array<{ [P in string]: any }>;
362
+ attachments?:
363
+ Array<{ [P in string]: any }>;
291
364
  /** The observation (sampling) time of the above value. */
292
- timestamp?: string;
365
+ timestamp?:
366
+ string;
293
367
  /** Value of the exemplar point. This value determines to which bucket the exemplar belongs. */
294
- value?: number;
368
+ value?:
369
+ number;
295
370
  }
296
371
  interface ExplicitBuckets {
297
372
  /**
@@ -300,162 +375,219 @@ declare namespace gapi.client {
300
375
  * contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0
301
376
  * (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf
302
377
  */
303
- bounds?: number[];
378
+ bounds?:
379
+ number[];
304
380
  }
305
381
  interface ExponentialBuckets {
306
382
  /**
307
383
  * The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than
308
384
  * 1.0.
309
385
  */
310
- growthFactor?: number;
386
+ growthFactor?:
387
+ number;
311
388
  /** The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details. */
312
- numFiniteBuckets?: number;
389
+ numFiniteBuckets?:
390
+ number;
313
391
  /** The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0. */
314
- scale?: number;
392
+ scale?:
393
+ number;
315
394
  }
316
395
  interface FirstPartyPrincipal {
317
396
  /** The email address of a Google account. . */
318
- principalEmail?: string;
397
+ principalEmail?:
398
+ string;
319
399
  /** Metadata about the service that uses the service account. . */
320
- serviceMetadata?: { [P in string]: any };
400
+ serviceMetadata?:
401
+ { [P in string]: any };
321
402
  }
322
403
  interface HttpRequest {
323
404
  /** The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted. */
324
- cacheFillBytes?: string;
405
+ cacheFillBytes?:
406
+ string;
325
407
  /** Whether or not an entity was served from cache (with or without validation). */
326
- cacheHit?: boolean;
408
+ cacheHit?:
409
+ boolean;
327
410
  /** Whether or not a cache lookup was attempted. */
328
- cacheLookup?: boolean;
411
+ cacheLookup?:
412
+ boolean;
329
413
  /** Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True. */
330
- cacheValidatedWithOriginServer?: boolean;
414
+ cacheValidatedWithOriginServer?:
415
+ boolean;
331
416
  /** The request processing latency on the server, from the time the request was received until the response was sent. */
332
- latency?: string;
417
+ latency?:
418
+ string;
333
419
  /** Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" */
334
- protocol?: string;
420
+ protocol?:
421
+ string;
335
422
  /** The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). */
336
- referer?: string;
423
+ referer?:
424
+ string;
337
425
  /** The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. */
338
- remoteIp?: string;
426
+ remoteIp?:
427
+ string;
339
428
  /** The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. */
340
- requestMethod?: string;
429
+ requestMethod?:
430
+ string;
341
431
  /** The size of the HTTP request message in bytes, including the request headers and the request body. */
342
- requestSize?: string;
432
+ requestSize?:
433
+ string;
343
434
  /** The scheme (http, https), the host name, the path, and the query portion of the URL that was requested. Example: `"http://example.com/some/info?color=red"`. */
344
- requestUrl?: string;
435
+ requestUrl?:
436
+ string;
345
437
  /** The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body. */
346
- responseSize?: string;
438
+ responseSize?:
439
+ string;
347
440
  /** The IP address (IPv4 or IPv6) of the origin server that the request was sent to. */
348
- serverIp?: string;
441
+ serverIp?:
442
+ string;
349
443
  /** The response code indicating the status of the response. Examples: 200, 404. */
350
- status?: number;
444
+ status?:
445
+ number;
351
446
  /** The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`. */
352
- userAgent?: string;
447
+ userAgent?:
448
+ string;
353
449
  }
354
450
  interface LinearBuckets {
355
451
  /** The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details. */
356
- numFiniteBuckets?: number;
452
+ numFiniteBuckets?:
453
+ number;
357
454
  /** The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. */
358
- offset?: number;
455
+ offset?:
456
+ number;
359
457
  /** The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive. */
360
- width?: number;
458
+ width?:
459
+ number;
361
460
  }
362
461
  interface LogEntry {
363
462
  /** Optional. Information about the HTTP request associated with this log entry, if applicable. */
364
- httpRequest?: HttpRequest;
463
+ httpRequest?:
464
+ HttpRequest;
365
465
  /** A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id. */
366
- insertId?: string;
466
+ insertId?:
467
+ string;
367
468
  /** A set of user-defined (key, value) data that provides additional information about the log entry. */
368
- labels?: { [P in string]: string };
469
+ labels?:
470
+ { [P in string]: string };
369
471
  /** Required. The log to which this log entry belongs. Examples: `"syslog"`, `"book_log"`. */
370
- name?: string;
472
+ name?:
473
+ string;
371
474
  /** Optional. Information about an operation associated with the log entry, if applicable. */
372
- operation?: LogEntryOperation;
475
+ operation?:
476
+ LogEntryOperation;
373
477
  /** The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is AuditLog. */
374
- protoPayload?: { [P in string]: any };
478
+ protoPayload?:
479
+ { [P in string]: any };
375
480
  /** The severity of the log entry. The default value is `LogSeverity.DEFAULT`. */
376
- severity?: string;
481
+ severity?:
482
+ string;
377
483
  /** Optional. Source code location information associated with the log entry, if any. */
378
- sourceLocation?: LogEntrySourceLocation;
484
+ sourceLocation?:
485
+ LogEntrySourceLocation;
379
486
  /** The log entry payload, represented as a structure that is expressed as a JSON object. */
380
- structPayload?: { [P in string]: any };
487
+ structPayload?:
488
+ { [P in string]: any };
381
489
  /** The log entry payload, represented as a Unicode string (UTF-8). */
382
- textPayload?: string;
490
+ textPayload?:
491
+ string;
383
492
  /** The time the event described by the log entry occurred. If omitted, defaults to operation start time. */
384
- timestamp?: string;
493
+ timestamp?:
494
+ string;
385
495
  /**
386
496
  * Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to
387
497
  * `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
388
498
  */
389
- trace?: string;
499
+ trace?:
500
+ string;
390
501
  }
391
502
  interface LogEntryOperation {
392
503
  /** Optional. Set this to True if this is the first log entry in the operation. */
393
- first?: boolean;
504
+ first?:
505
+ boolean;
394
506
  /** Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation. */
395
- id?: string;
507
+ id?:
508
+ string;
396
509
  /** Optional. Set this to True if this is the last log entry in the operation. */
397
- last?: boolean;
510
+ last?:
511
+ boolean;
398
512
  /**
399
513
  * Optional. An arbitrary producer identifier. The combination of `id` and `producer` must be globally unique. Examples for `producer`: `"MyDivision.MyBigCompany.com"`,
400
514
  * `"github.com/MyProject/MyApplication"`.
401
515
  */
402
- producer?: string;
516
+ producer?:
517
+ string;
403
518
  }
404
519
  interface LogEntrySourceLocation {
405
520
  /** Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name. */
406
- file?: string;
521
+ file?:
522
+ string;
407
523
  /**
408
524
  * Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the
409
525
  * logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
410
526
  * (Python).
411
527
  */
412
- function?: string;
528
+ function?:
529
+ string;
413
530
  /** Optional. Line within the source file. 1-based; 0 indicates no line number available. */
414
- line?: string;
531
+ line?:
532
+ string;
415
533
  }
416
534
  interface MetricValue {
417
535
  /** A boolean value. */
418
- boolValue?: boolean;
536
+ boolValue?:
537
+ boolean;
419
538
  /** A distribution value. */
420
- distributionValue?: Distribution;
539
+ distributionValue?:
540
+ Distribution;
421
541
  /** A double precision floating point value. */
422
- doubleValue?: number;
542
+ doubleValue?:
543
+ number;
423
544
  /** The end of the time period over which this metric value's measurement applies. If not specified, google.api.servicecontrol.v1.Operation.end_time will be used. */
424
- endTime?: string;
545
+ endTime?:
546
+ string;
425
547
  /** A signed 64-bit integer value. */
426
- int64Value?: string;
548
+ int64Value?:
549
+ string;
427
550
  /**
428
551
  * The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored
429
552
  * resource labels.
430
553
  */
431
- labels?: { [P in string]: string };
554
+ labels?:
555
+ { [P in string]: string };
432
556
  /** A money value. */
433
- moneyValue?: Money;
557
+ moneyValue?:
558
+ Money;
434
559
  /**
435
560
  * The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge).
436
561
  * See the metric definition documentation in the service configuration for details. If not specified, google.api.servicecontrol.v1.Operation.start_time will be used.
437
562
  */
438
- startTime?: string;
563
+ startTime?:
564
+ string;
439
565
  /** A text string value. */
440
- stringValue?: string;
566
+ stringValue?:
567
+ string;
441
568
  }
442
569
  interface MetricValueSet {
443
570
  /** The metric name defined in the service configuration. */
444
- metricName?: string;
571
+ metricName?:
572
+ string;
445
573
  /** The values in this metric. */
446
- metricValues?: MetricValue[];
574
+ metricValues?:
575
+ MetricValue[];
447
576
  }
448
577
  interface Money {
449
578
  /** The three-letter currency code defined in ISO 4217. */
450
- currencyCode?: string;
579
+ currencyCode?:
580
+ string;
451
581
  /**
452
582
  * Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units`
453
583
  * is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and
454
584
  * `nanos`=-750,000,000.
455
585
  */
456
- nanos?: number;
586
+ nanos?:
587
+ number;
457
588
  /** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
458
- units?: string;
589
+ units?:
590
+ string;
459
591
  }
460
592
  interface Operation {
461
593
  /**
@@ -463,11 +595,14 @@ declare namespace gapi.client {
463
595
  * related to a specific consumer. - This can be in one of the following formats: - project:PROJECT_ID, - project`_`number:PROJECT_NUMBER, - projects/PROJECT_ID or PROJECT_NUMBER, -
464
596
  * folders/FOLDER_NUMBER, - organizations/ORGANIZATION_NUMBER, - api`_`key:API_KEY.
465
597
  */
466
- consumerId?: string;
598
+ consumerId?:
599
+ string;
467
600
  /** End time of the operation. Required when the operation is used in ServiceController.Report, but optional when the operation is used in ServiceController.Check. */
468
- endTime?: string;
601
+ endTime?:
602
+ string;
469
603
  /** DO NOT USE. This is an experimental field. */
470
- importance?: string;
604
+ importance?:
605
+ string;
471
606
  /**
472
607
  * Labels describing the operation. Only the following labels are allowed: - Labels describing monitored resources as defined in the service configuration. - Default labels of metric
473
608
  * values. When specified, labels defined in the metric value override these default. - The following labels defined by Google Cloud Platform: - `cloud.googleapis.com/location`
@@ -475,136 +610,172 @@ declare namespace gapi.client {
475
610
  * `servicecontrol.googleapis.com/service_agent` describing the service used to handle the API request (e.g. ESP), - `servicecontrol.googleapis.com/platform` describing the platform
476
611
  * where the API is served, such as App Engine, Compute Engine, or Kubernetes Engine.
477
612
  */
478
- labels?: { [P in string]: string };
613
+ labels?:
614
+ { [P in string]: string };
479
615
  /** Represents information to be logged. */
480
- logEntries?: LogEntry[];
616
+ logEntries?:
617
+ LogEntry[];
481
618
  /**
482
619
  * Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree
483
620
  * with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and
484
621
  * identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.
485
622
  */
486
- metricValueSets?: MetricValueSet[];
623
+ metricValueSets?:
624
+ MetricValueSet[];
487
625
  /**
488
626
  * Identity of the operation. This must be unique within the scope of the service that generated the operation. If the service calls Check() and Report() on the same operation, the two
489
627
  * calls should carry the same id. UUID version 4 is recommended, though not required. In scenarios where an operation is computed from existing information and an idempotent id is
490
628
  * desirable for deduplication purpose, UUID version 5 is recommended. See RFC 4122 for details.
491
629
  */
492
- operationId?: string;
630
+ operationId?:
631
+ string;
493
632
  /** Fully qualified name of the operation. Reserved for future use. */
494
- operationName?: string;
633
+ operationName?:
634
+ string;
495
635
  /** Represents the properties needed for quota check. Applicable only if this operation is for a quota check request. If this is not specified, no quota check will be performed. */
496
- quotaProperties?: QuotaProperties;
636
+ quotaProperties?:
637
+ QuotaProperties;
497
638
  /** The resources that are involved in the operation. The maximum supported number of entries in this field is 100. */
498
- resources?: ResourceInfo[];
639
+ resources?:
640
+ ResourceInfo[];
499
641
  /** Required. Start time of the operation. */
500
- startTime?: string;
642
+ startTime?:
643
+ string;
501
644
  /** Unimplemented. A list of Cloud Trace spans. The span names shall contain the id of the destination project which can be either the produce or the consumer project. */
502
- traceSpans?: TraceSpan[];
645
+ traceSpans?:
646
+ TraceSpan[];
503
647
  /** Private Preview. This feature is only available for approved services. User defined labels for the resource that this operation is associated with. */
504
- userLabels?: { [P in string]: string };
648
+ userLabels?:
649
+ { [P in string]: string };
505
650
  }
506
651
  interface OrgPolicyViolationInfo {
507
652
  /**
508
653
  * Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request.
509
654
  * This payload should not contain any core content.
510
655
  */
511
- payload?: { [P in string]: any };
656
+ payload?:
657
+ { [P in string]: any };
512
658
  /**
513
659
  * Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints
514
660
  * Requests. Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy
515
661
  * check response for logging purposes.
516
662
  */
517
- resourceTags?: { [P in string]: string };
663
+ resourceTags?:
664
+ { [P in string]: string };
518
665
  /** Optional. Resource type that the orgpolicy is checked against. Example: compute.googleapis.com/Instance, store.googleapis.com/bucket */
519
- resourceType?: string;
666
+ resourceType?:
667
+ string;
520
668
  /** Optional. Policy violations */
521
- violationInfo?: ViolationInfo[];
669
+ violationInfo?:
670
+ ViolationInfo[];
522
671
  }
523
672
  interface Peer {
524
673
  /** The IP address of the peer. */
525
- ip?: string;
674
+ ip?:
675
+ string;
526
676
  /** The labels associated with the peer. */
527
- labels?: { [P in string]: string };
677
+ labels?:
678
+ { [P in string]: string };
528
679
  /** The network port of the peer. */
529
- port?: string;
680
+ port?:
681
+ string;
530
682
  /**
531
683
  * The identity of this peer. Similar to `Request.auth.principal`, but relative to the peer instead of the request. For example, the identity associated with a load balancer that
532
684
  * forwarded the request.
533
685
  */
534
- principal?: string;
686
+ principal?:
687
+ string;
535
688
  /** The CLDR country/region code associated with the above IP address. If the IP address is private, the `region_code` should reflect the physical location where this peer is running. */
536
- regionCode?: string;
689
+ regionCode?:
690
+ string;
537
691
  }
538
692
  interface PolicyViolationInfo {
539
693
  /** Indicates the orgpolicy violations for this resource. */
540
- orgPolicyViolationInfo?: OrgPolicyViolationInfo;
694
+ orgPolicyViolationInfo?:
695
+ OrgPolicyViolationInfo;
541
696
  }
542
697
  interface QuotaError {
543
698
  /** Error code. */
544
- code?: string;
699
+ code?:
700
+ string;
545
701
  /** Free-form text that provides details on the cause of the error. */
546
- description?: string;
702
+ description?:
703
+ string;
547
704
  /** Contains additional information about the quota error. If available, `status.code` will be non zero. */
548
- status?: Status;
705
+ status?:
706
+ Status;
549
707
  /** Subject to whom this error applies. See the specific enum for more details on this field. For example, "clientip:" or "project:". */
550
- subject?: string;
708
+ subject?:
709
+ string;
551
710
  }
552
711
  interface QuotaInfo {
553
712
  /**
554
713
  * Quota Metrics that have exceeded quota limits. For QuotaGroup-based quota, this is QuotaGroup.name For QuotaLimit-based quota, this is QuotaLimit.name See: google.api.Quota
555
714
  * Deprecated: Use quota_metrics to get per quota group limit exceeded status.
556
715
  */
557
- limitExceeded?: string[];
716
+ limitExceeded?:
717
+ string[];
558
718
  /**
559
719
  * Map of quota group name to the actual number of tokens consumed. If the quota check was not successful, then this will not be populated due to no quota consumption. We are not
560
720
  * merging this field with 'quota_metrics' field because of the complexity of scaling in Chemist client code base. For simplicity, we will keep this field for Castor (that scales quota
561
721
  * usage) and 'quota_metrics' for SuperQuota (that doesn't scale quota usage).
562
722
  */
563
- quotaConsumed?: { [P in string]: number };
723
+ quotaConsumed?:
724
+ { [P in string]: number };
564
725
  /**
565
726
  * Quota metrics to indicate the usage. Depending on the check request, one or more of the following metrics will be included: 1. For rate quota, per quota group or per quota metric
566
727
  * incremental usage will be specified using the following delta metric: "serviceruntime.googleapis.com/api/consumer/quota_used_count" 2. For allocation quota, per quota metric total
567
728
  * usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, the quota
568
729
  * limit reached condition will be specified using the following boolean metric: "serviceruntime.googleapis.com/quota/exceeded"
569
730
  */
570
- quotaMetrics?: MetricValueSet[];
731
+ quotaMetrics?:
732
+ MetricValueSet[];
571
733
  }
572
734
  interface QuotaOperation {
573
735
  /** Identity of the consumer for whom this quota operation is being performed. This can be in one of the following formats: project:, project_number:, api_key:. */
574
- consumerId?: string;
736
+ consumerId?:
737
+ string;
575
738
  /** Labels describing the operation. */
576
- labels?: { [P in string]: string };
739
+ labels?:
740
+ { [P in string]: string };
577
741
  /**
578
742
  * Fully qualified name of the API method for which this quota operation is requested. This name is used for matching quota rules or metric rules and billing status rules defined in
579
743
  * service configuration. This field should not be set if any of the following is true: (1) the quota operation is performed on non-API resources. (2) quota_metrics is set because the
580
744
  * caller is doing quota override. Example of an RPC method name: google.example.library.v1.LibraryService.CreateShelf
581
745
  */
582
- methodName?: string;
746
+ methodName?:
747
+ string;
583
748
  /**
584
749
  * Identity of the operation. For Allocation Quota, this is expected to be unique within the scope of the service that generated the operation, and guarantees idempotency in case of
585
750
  * retries. In order to ensure best performance and latency in the Quota backends, operation_ids are optimally associated with time, so that related operations can be accessed fast in
586
751
  * storage. For this reason, the recommended token for services that intend to operate at a high QPS is Unix time in nanos + UUID
587
752
  */
588
- operationId?: string;
753
+ operationId?:
754
+ string;
589
755
  /**
590
756
  * Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree
591
757
  * with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and
592
758
  * identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error. This field is mutually
593
759
  * exclusive with method_name.
594
760
  */
595
- quotaMetrics?: MetricValueSet[];
761
+ quotaMetrics?:
762
+ MetricValueSet[];
596
763
  /** Quota mode for this operation. */
597
- quotaMode?: string;
764
+ quotaMode?:
765
+ string;
598
766
  }
599
767
  interface QuotaProperties {
600
768
  /** Quota mode for this operation. */
601
- quotaMode?: string;
769
+ quotaMode?:
770
+ string;
602
771
  }
603
772
  interface ReportError {
604
773
  /** The Operation.operation_id value from the request. */
605
- operationId?: string;
774
+ operationId?:
775
+ string;
606
776
  /** Details of the error when processing the Operation. */
607
- status?: Status;
777
+ status?:
778
+ Status;
608
779
  }
609
780
  interface ReportRequest {
610
781
  /**
@@ -612,9 +783,11 @@ declare namespace gapi.client {
612
783
  * multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should
613
784
  * be no larger than 1MB. See ReportResponse.report_errors for partial failure behavior.
614
785
  */
615
- operations?: Operation[];
786
+ operations?:
787
+ Operation[];
616
788
  /** Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used. */
617
- serviceConfigId?: string;
789
+ serviceConfigId?:
790
+ string;
618
791
  }
619
792
  interface ReportResponse {
620
793
  /**
@@ -624,43 +797,58 @@ declare namespace gapi.client {
624
797
  * in this list. 3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or
625
798
  * failed.
626
799
  */
627
- reportErrors?: ReportError[];
800
+ reportErrors?:
801
+ ReportError[];
628
802
  /** The actual config id used to process the request. */
629
- serviceConfigId?: string;
803
+ serviceConfigId?:
804
+ string;
630
805
  /** The current service rollout id used to process the request. */
631
- serviceRolloutId?: string;
806
+ serviceRolloutId?:
807
+ string;
632
808
  }
633
809
  interface Request {
634
810
  /** The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent. */
635
- auth?: Auth;
811
+ auth?:
812
+ Auth;
636
813
  /**
637
814
  * The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lowercased, because HTTP header keys are
638
815
  * case-insensitive.
639
816
  */
640
- headers?: { [P in string]: string };
817
+ headers?:
818
+ { [P in string]: string };
641
819
  /** The HTTP request `Host` header value. */
642
- host?: string;
820
+ host?:
821
+ string;
643
822
  /** The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service. */
644
- id?: string;
823
+ id?:
824
+ string;
645
825
  /** The HTTP request method, such as `GET`, `POST`. */
646
- method?: string;
826
+ method?:
827
+ string;
647
828
  /** The HTTP URL path, excluding the query parameters. */
648
- path?: string;
829
+ path?:
830
+ string;
649
831
  /**
650
832
  * The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See
651
833
  * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for details.
652
834
  */
653
- protocol?: string;
835
+ protocol?:
836
+ string;
654
837
  /** The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed. */
655
- query?: string;
838
+ query?:
839
+ string;
656
840
  /** A special parameter for request reason. It is used by security systems to associate auditing information with a request. */
657
- reason?: string;
841
+ reason?:
842
+ string;
658
843
  /** The HTTP URL scheme, such as `http` and `https`. */
659
- scheme?: string;
844
+ scheme?:
845
+ string;
660
846
  /** The HTTP request size in bytes. If unknown, it must be -1. */
661
- size?: string;
847
+ size?:
848
+ string;
662
849
  /** The timestamp when the `destination` service receives the last byte of the request. */
663
- time?: string;
850
+ time?:
851
+ string;
664
852
  }
665
853
  interface RequestMetadata {
666
854
  /**
@@ -669,116 +857,142 @@ declare namespace gapi.client {
669
857
  * address. For a caller from a Compute Engine VM without a external IP address, if the VM is in the same organization (or project) as the accessed resource, `caller_ip` will be the
670
858
  * VM's internal IPv4 address, otherwise `caller_ip` will be redacted to "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more information.
671
859
  */
672
- callerIp?: string;
860
+ callerIp?:
861
+ string;
673
862
  /**
674
863
  * The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See
675
864
  * https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example:
676
865
  * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"
677
866
  */
678
- callerNetwork?: string;
867
+ callerNetwork?:
868
+ string;
679
869
  /**
680
870
  * The user agent of the caller. This information is not authenticated and should be treated accordingly. For example: + `google-api-python-client/1.4.0`: The request was made by the
681
871
  * Google API client for Python. + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: The request was made by the Google Cloud SDK CLI (gcloud). + `AppEngine-Google;
682
872
  * (+http://code.google.com/appengine; appid: s~my-project`: The request was made from the `my-project` App Engine app.
683
873
  */
684
- callerSuppliedUserAgent?: string;
874
+ callerSuppliedUserAgent?:
875
+ string;
685
876
  /**
686
877
  * The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields
687
878
  * are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature.
688
879
  */
689
- destinationAttributes?: Peer;
880
+ destinationAttributes?:
881
+ Peer;
690
882
  /**
691
883
  * Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of
692
884
  * the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`.
693
885
  */
694
- requestAttributes?: Request;
886
+ requestAttributes?:
887
+ Request;
695
888
  }
696
889
  interface Resource {
697
890
  /**
698
891
  * Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be
699
892
  * preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
700
893
  */
701
- annotations?: { [P in string]: string };
894
+ annotations?:
895
+ { [P in string]: string };
702
896
  /** Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed. */
703
- createTime?: string;
897
+ createTime?:
898
+ string;
704
899
  /** Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty. */
705
- deleteTime?: string;
900
+ deleteTime?:
901
+ string;
706
902
  /** Mutable. The display name set by clients. Must be <= 63 characters. */
707
- displayName?: string;
903
+ displayName?:
904
+ string;
708
905
  /**
709
906
  * Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource
710
907
  * being written.
711
908
  */
712
- etag?: string;
909
+ etag?:
910
+ string;
713
911
  /** The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels. */
714
- labels?: { [P in string]: string };
912
+ labels?:
913
+ { [P in string]: string };
715
914
  /**
716
915
  * Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud
717
916
  * products, the encoding is what is used by Google Cloud APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The semantics of `location` is identical to the
718
917
  * `cloud.googleapis.com/location` label used by some Google Cloud APIs.
719
918
  */
720
- location?: string;
919
+ location?:
920
+ string;
721
921
  /**
722
922
  * The stable identifier (name) of a resource on the `service`. A resource can be logically identified as "//{resource.service}/{resource.name}". The differences between a resource
723
923
  * name and a URI are: * Resource name is a logical identifier, independent of network protocol and API version. For example, `//pubsub.googleapis.com/projects/123/topics/news-feed`. *
724
924
  * URI often includes protocol and version information, so it can be used directly by applications. For example, `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. See
725
925
  * https://cloud.google.com/apis/design/resource_names for details.
726
926
  */
727
- name?: string;
927
+ name?:
928
+ string;
728
929
  /** The name of the service that this resource belongs to, such as `pubsub.googleapis.com`. The service may be different from the DNS hostname that actually serves the request. */
729
- service?: string;
930
+ service?:
931
+ string;
730
932
  /**
731
933
  * The type of the resource. The syntax is platform-specific because different platforms define their resources differently. For Google APIs, the type format must be
732
934
  * "{service}/{kind}", such as "pubsub.googleapis.com/Topic".
733
935
  */
734
- type?: string;
936
+ type?:
937
+ string;
735
938
  /**
736
939
  * The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful
737
940
  * creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
738
941
  */
739
- uid?: string;
942
+ uid?:
943
+ string;
740
944
  /**
741
945
  * Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should
742
946
  * refresh this value.
743
947
  */
744
- updateTime?: string;
948
+ updateTime?:
949
+ string;
745
950
  }
746
951
  interface ResourceInfo {
747
952
  /** The resource permission required for this request. */
748
- permission?: string;
953
+ permission?:
954
+ string;
749
955
  /** The identifier of the parent of this resource instance. Must be in one of the following formats: - `projects/` - `folders/` - `organizations/` */
750
- resourceContainer?: string;
956
+ resourceContainer?:
957
+ string;
751
958
  /**
752
959
  * The location of the resource. If not empty, the resource will be checked against location policy. The value must be a valid zone, region or multiregion. For example: "europe-west4"
753
960
  * or "northamerica-northeast1-a"
754
961
  */
755
- resourceLocation?: string;
962
+ resourceLocation?:
963
+ string;
756
964
  /** Name of the resource. This is used for auditing purposes. */
757
- resourceName?: string;
965
+ resourceName?:
966
+ string;
758
967
  }
759
968
  interface ResourceLocation {
760
969
  /**
761
970
  * The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the
762
971
  * 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
763
972
  */
764
- currentLocations?: string[];
973
+ currentLocations?:
974
+ string[];
765
975
  /**
766
976
  * The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the
767
977
  * 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
768
978
  */
769
- originalLocations?: string[];
979
+ originalLocations?:
980
+ string[];
770
981
  }
771
982
  interface ServiceAccountDelegationInfo {
772
983
  /** First party (Google) identity as the real authority. */
773
- firstPartyPrincipal?: FirstPartyPrincipal;
984
+ firstPartyPrincipal?:
985
+ FirstPartyPrincipal;
774
986
  /**
775
987
  * A string representing the principal_subject associated with the identity. For most identities, the format will be `principal://iam.googleapis.com/{identity pool
776
988
  * name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool
777
989
  * name}[{subject}]`
778
990
  */
779
- principalSubject?: string;
991
+ principalSubject?:
992
+ string;
780
993
  /** Third party identity as the real authority. */
781
- thirdPartyPrincipal?: ThirdPartyPrincipal;
994
+ thirdPartyPrincipal?:
995
+ ThirdPartyPrincipal;
782
996
  }
783
997
  interface SpanContext {
784
998
  /**
@@ -786,173 +1000,230 @@ declare namespace gapi.client {
786
1000
  * is a 32-character hexadecimal encoding of a 16-byte array. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte
787
1001
  * array.
788
1002
  */
789
- spanName?: string;
1003
+ spanName?:
1004
+ string;
790
1005
  }
791
1006
  interface Status {
792
1007
  /** The status code, which should be an enum value of google.rpc.Code. */
793
- code?: number;
1008
+ code?:
1009
+ number;
794
1010
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
795
- details?: Array<{ [P in string]: any }>;
1011
+ details?:
1012
+ Array<{ [P in string]: any }>;
796
1013
  /**
797
1014
  * 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
798
1015
  * client.
799
1016
  */
800
- message?: string;
1017
+ message?:
1018
+ string;
801
1019
  }
802
1020
  interface ThirdPartyPrincipal {
803
1021
  /** Metadata about third party identity. */
804
- thirdPartyClaims?: { [P in string]: any };
1022
+ thirdPartyClaims?:
1023
+ { [P in string]: any };
805
1024
  }
806
1025
  interface TraceSpan {
807
1026
  /** A set of attributes on the span. You can have up to 32 attributes per span. */
808
- attributes?: Attributes;
1027
+ attributes?:
1028
+ Attributes;
809
1029
  /** An optional number of child spans that were generated while this span was active. If set, allows implementation to detect missing child spans. */
810
- childSpanCount?: number;
1030
+ childSpanCount?:
1031
+ number;
811
1032
  /**
812
1033
  * A description of the span's operation (up to 128 bytes). Stackdriver Trace displays the description in the Google Cloud Platform Console. For example, the display name can be a
813
1034
  * qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name within an application and at the same call
814
1035
  * point. This makes it easier to correlate spans in different traces.
815
1036
  */
816
- displayName?: TruncatableString;
1037
+ displayName?:
1038
+ TruncatableString;
817
1039
  /**
818
1040
  * The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server
819
1041
  * application handler stops running.
820
1042
  */
821
- endTime?: string;
1043
+ endTime?:
1044
+ string;
822
1045
  /**
823
1046
  * The resource name of the span in the following format: projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project; it is a
824
1047
  * 32-character hexadecimal encoding of a 16-byte array. [SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array.
825
1048
  */
826
- name?: string;
1049
+ name?:
1050
+ string;
827
1051
  /** The [SPAN_ID] of this span's parent span. If this is a root span, then this field must be empty. */
828
- parentSpanId?: string;
1052
+ parentSpanId?:
1053
+ string;
829
1054
  /**
830
1055
  * (Optional) Set this parameter to indicate whether this span is in the same process as its parent. If you do not set this parameter, Stackdriver Trace is unable to take advantage of
831
1056
  * this helpful information.
832
1057
  */
833
- sameProcessAsParentSpan?: boolean;
1058
+ sameProcessAsParentSpan?:
1059
+ boolean;
834
1060
  /** The [SPAN_ID] portion of the span's resource name. */
835
- spanId?: string;
1061
+ spanId?:
1062
+ string;
836
1063
  /**
837
1064
  * Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `CLIENT` (caller) and `SERVER` (callee) to
838
1065
  * identify an RPC call.
839
1066
  */
840
- spanKind?: string;
1067
+ spanKind?:
1068
+ string;
841
1069
  /**
842
1070
  * The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's
843
1071
  * application handler starts running.
844
1072
  */
845
- startTime?: string;
1073
+ startTime?:
1074
+ string;
846
1075
  /** An optional final status for this span. */
847
- status?: Status;
1076
+ status?:
1077
+ Status;
848
1078
  }
849
1079
  interface TruncatableString {
850
1080
  /** The number of bytes removed from the original string. If this value is 0, then the string was not shortened. */
851
- truncatedByteCount?: number;
1081
+ truncatedByteCount?:
1082
+ number;
852
1083
  /**
853
1084
  * The shortened string. For example, if the original string is 500 bytes long and the limit of the string is 128 bytes, then `value` contains the first 128 bytes of the 500-byte
854
1085
  * string. Truncation always happens on a UTF8 character boundary. If there are multi-byte characters in the string, then the length of the shortened string might be less than the size
855
1086
  * limit.
856
1087
  */
857
- value?: string;
1088
+ value?:
1089
+ string;
858
1090
  }
859
1091
  interface V1HttpRequest {
860
1092
  /** The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted. */
861
- cacheFillBytes?: string;
1093
+ cacheFillBytes?:
1094
+ string;
862
1095
  /** Whether or not an entity was served from cache (with or without validation). */
863
- cacheHit?: boolean;
1096
+ cacheHit?:
1097
+ boolean;
864
1098
  /** Whether or not a cache lookup was attempted. */
865
- cacheLookup?: boolean;
1099
+ cacheLookup?:
1100
+ boolean;
866
1101
  /** Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True. */
867
- cacheValidatedWithOriginServer?: boolean;
1102
+ cacheValidatedWithOriginServer?:
1103
+ boolean;
868
1104
  /** The request processing latency on the server, from the time the request was received until the response was sent. */
869
- latency?: string;
1105
+ latency?:
1106
+ string;
870
1107
  /** Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" */
871
- protocol?: string;
1108
+ protocol?:
1109
+ string;
872
1110
  /** The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). */
873
- referer?: string;
1111
+ referer?:
1112
+ string;
874
1113
  /** The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. */
875
- remoteIp?: string;
1114
+ remoteIp?:
1115
+ string;
876
1116
  /** The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. */
877
- requestMethod?: string;
1117
+ requestMethod?:
1118
+ string;
878
1119
  /** The size of the HTTP request message in bytes, including the request headers and the request body. */
879
- requestSize?: string;
1120
+ requestSize?:
1121
+ string;
880
1122
  /** The scheme (http, https), the host name, the path, and the query portion of the URL that was requested. Example: `"http://example.com/some/info?color=red"`. */
881
- requestUrl?: string;
1123
+ requestUrl?:
1124
+ string;
882
1125
  /** The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body. */
883
- responseSize?: string;
1126
+ responseSize?:
1127
+ string;
884
1128
  /** The IP address (IPv4 or IPv6) of the origin server that the request was sent to. */
885
- serverIp?: string;
1129
+ serverIp?:
1130
+ string;
886
1131
  /** The response code indicating the status of the response. Examples: 200, 404. */
887
- status?: number;
1132
+ status?:
1133
+ number;
888
1134
  /** The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`. */
889
- userAgent?: string;
1135
+ userAgent?:
1136
+ string;
890
1137
  }
891
1138
  interface V1LogEntry {
892
1139
  /** Optional. Information about the HTTP request associated with this log entry, if applicable. */
893
- httpRequest?: V1HttpRequest;
1140
+ httpRequest?:
1141
+ V1HttpRequest;
894
1142
  /** A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id. */
895
- insertId?: string;
1143
+ insertId?:
1144
+ string;
896
1145
  /** A set of user-defined (key, value) data that provides additional information about the log entry. */
897
- labels?: { [P in string]: string };
1146
+ labels?:
1147
+ { [P in string]: string };
898
1148
  /** A set of user-defined (key, value) data that provides additional information about the moniotored resource that the log entry belongs to. */
899
- monitoredResourceLabels?: { [P in string]: string };
1149
+ monitoredResourceLabels?:
1150
+ { [P in string]: string };
900
1151
  /** Required. The log to which this log entry belongs. Examples: `"syslog"`, `"book_log"`. */
901
- name?: string;
1152
+ name?:
1153
+ string;
902
1154
  /** Optional. Information about an operation associated with the log entry, if applicable. */
903
- operation?: V1LogEntryOperation;
1155
+ operation?:
1156
+ V1LogEntryOperation;
904
1157
  /** The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is AuditLog. */
905
- protoPayload?: { [P in string]: any };
1158
+ protoPayload?:
1159
+ { [P in string]: any };
906
1160
  /** The severity of the log entry. The default value is `LogSeverity.DEFAULT`. */
907
- severity?: string;
1161
+ severity?:
1162
+ string;
908
1163
  /** Optional. Source code location information associated with the log entry, if any. */
909
- sourceLocation?: V1LogEntrySourceLocation;
1164
+ sourceLocation?:
1165
+ V1LogEntrySourceLocation;
910
1166
  /** The log entry payload, represented as a structure that is expressed as a JSON object. */
911
- structPayload?: { [P in string]: any };
1167
+ structPayload?:
1168
+ { [P in string]: any };
912
1169
  /** The log entry payload, represented as a Unicode string (UTF-8). */
913
- textPayload?: string;
1170
+ textPayload?:
1171
+ string;
914
1172
  /** The time the event described by the log entry occurred. If omitted, defaults to operation start time. */
915
- timestamp?: string;
1173
+ timestamp?:
1174
+ string;
916
1175
  /**
917
1176
  * Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to
918
1177
  * `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
919
1178
  */
920
- trace?: string;
1179
+ trace?:
1180
+ string;
921
1181
  }
922
1182
  interface V1LogEntryOperation {
923
1183
  /** Optional. Set this to True if this is the first log entry in the operation. */
924
- first?: boolean;
1184
+ first?:
1185
+ boolean;
925
1186
  /** Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation. */
926
- id?: string;
1187
+ id?:
1188
+ string;
927
1189
  /** Optional. Set this to True if this is the last log entry in the operation. */
928
- last?: boolean;
1190
+ last?:
1191
+ boolean;
929
1192
  /**
930
1193
  * Optional. An arbitrary producer identifier. The combination of `id` and `producer` must be globally unique. Examples for `producer`: `"MyDivision.MyBigCompany.com"`,
931
1194
  * `"github.com/MyProject/MyApplication"`.
932
1195
  */
933
- producer?: string;
1196
+ producer?:
1197
+ string;
934
1198
  }
935
1199
  interface V1LogEntrySourceLocation {
936
1200
  /** Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name. */
937
- file?: string;
1201
+ file?:
1202
+ string;
938
1203
  /**
939
1204
  * Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the
940
1205
  * logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
941
1206
  * (Python).
942
1207
  */
943
- function?: string;
1208
+ function?:
1209
+ string;
944
1210
  /** Optional. Line within the source file. 1-based; 0 indicates no line number available. */
945
- line?: string;
1211
+ line?:
1212
+ string;
946
1213
  }
947
1214
  interface ViolationInfo {
948
1215
  /** Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types */
949
- checkedValue?: string;
1216
+ checkedValue?:
1217
+ string;
950
1218
  /** Optional. Constraint name */
951
- constraint?: string;
1219
+ constraint?:
1220
+ string;
952
1221
  /** Optional. Error message that policy is indicating. */
953
- errorMessage?: string;
1222
+ errorMessage?:
1223
+ string;
954
1224
  /** Optional. Indicates the type of the policy. */
955
- policyType?: string;
1225
+ policyType?:
1226
+ string;
956
1227
  }
957
1228
  interface ServicesResource {
958
1229
  /**
@@ -962,57 +1233,82 @@ declare namespace gapi.client {
962
1233
  */
963
1234
  allocateQuota(request: {
964
1235
  /** V1 error format. */
965
- "$.xgafv"?: string;
1236
+ "$.xgafv"?:
1237
+ string;
966
1238
  /** OAuth access token. */
967
- access_token?: string;
1239
+ access_token?:
1240
+ string;
968
1241
  /** Data format for response. */
969
- alt?: string;
1242
+ alt?:
1243
+ string;
970
1244
  /** JSONP */
971
- callback?: string;
1245
+ callback?:
1246
+ string;
972
1247
  /** Selector specifying which fields to include in a partial response. */
973
- fields?: string;
1248
+ fields?:
1249
+ string;
974
1250
  /** 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. */
975
- key?: string;
1251
+ key?:
1252
+ string;
976
1253
  /** OAuth 2.0 token for the current user. */
977
- oauth_token?: string;
1254
+ oauth_token?:
1255
+ string;
978
1256
  /** Returns response with indentations and line breaks. */
979
- prettyPrint?: boolean;
1257
+ prettyPrint?:
1258
+ boolean;
980
1259
  /** 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. */
981
- quotaUser?: string;
1260
+ quotaUser?:
1261
+ string;
982
1262
  /** Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`. See google.api.Service for the definition of a service name. */
983
- serviceName: string;
1263
+ serviceName:
1264
+ string;
984
1265
  /** Upload protocol for media (e.g. "raw", "multipart"). */
985
- upload_protocol?: string;
1266
+ upload_protocol?:
1267
+ string;
986
1268
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
987
- uploadType?: string;
1269
+ uploadType?:
1270
+ string;
988
1271
  /** Request body */
989
- resource: AllocateQuotaRequest;
1272
+ resource:
1273
+ AllocateQuotaRequest;
990
1274
  }): client.Request<AllocateQuotaResponse>;
991
1275
  allocateQuota(request: {
992
1276
  /** V1 error format. */
993
- "$.xgafv"?: string;
1277
+ "$.xgafv"?:
1278
+ string;
994
1279
  /** OAuth access token. */
995
- access_token?: string;
1280
+ access_token?:
1281
+ string;
996
1282
  /** Data format for response. */
997
- alt?: string;
1283
+ alt?:
1284
+ string;
998
1285
  /** JSONP */
999
- callback?: string;
1286
+ callback?:
1287
+ string;
1000
1288
  /** Selector specifying which fields to include in a partial response. */
1001
- fields?: string;
1289
+ fields?:
1290
+ string;
1002
1291
  /** 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. */
1003
- key?: string;
1292
+ key?:
1293
+ string;
1004
1294
  /** OAuth 2.0 token for the current user. */
1005
- oauth_token?: string;
1295
+ oauth_token?:
1296
+ string;
1006
1297
  /** Returns response with indentations and line breaks. */
1007
- prettyPrint?: boolean;
1298
+ prettyPrint?:
1299
+ boolean;
1008
1300
  /** 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. */
1009
- quotaUser?: string;
1301
+ quotaUser?:
1302
+ string;
1010
1303
  /** Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`. See google.api.Service for the definition of a service name. */
1011
- serviceName: string;
1304
+ serviceName:
1305
+ string;
1012
1306
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1013
- upload_protocol?: string;
1307
+ upload_protocol?:
1308
+ string;
1014
1309
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1015
- uploadType?: string;
1310
+ uploadType?:
1311
+ string;
1016
1312
  },
1017
1313
  body: AllocateQuotaRequest): client.Request<AllocateQuotaResponse>;
1018
1314
  /**
@@ -1024,63 +1320,88 @@ declare namespace gapi.client {
1024
1320
  */
1025
1321
  check(request: {
1026
1322
  /** V1 error format. */
1027
- "$.xgafv"?: string;
1323
+ "$.xgafv"?:
1324
+ string;
1028
1325
  /** OAuth access token. */
1029
- access_token?: string;
1326
+ access_token?:
1327
+ string;
1030
1328
  /** Data format for response. */
1031
- alt?: string;
1329
+ alt?:
1330
+ string;
1032
1331
  /** JSONP */
1033
- callback?: string;
1332
+ callback?:
1333
+ string;
1034
1334
  /** Selector specifying which fields to include in a partial response. */
1035
- fields?: string;
1335
+ fields?:
1336
+ string;
1036
1337
  /** 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. */
1037
- key?: string;
1338
+ key?:
1339
+ string;
1038
1340
  /** OAuth 2.0 token for the current user. */
1039
- oauth_token?: string;
1341
+ oauth_token?:
1342
+ string;
1040
1343
  /** Returns response with indentations and line breaks. */
1041
- prettyPrint?: boolean;
1344
+ prettyPrint?:
1345
+ boolean;
1042
1346
  /** 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. */
1043
- quotaUser?: string;
1347
+ quotaUser?:
1348
+ string;
1044
1349
  /**
1045
1350
  * The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See
1046
1351
  * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
1047
1352
  */
1048
- serviceName: string;
1353
+ serviceName:
1354
+ string;
1049
1355
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1050
- upload_protocol?: string;
1356
+ upload_protocol?:
1357
+ string;
1051
1358
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1052
- uploadType?: string;
1359
+ uploadType?:
1360
+ string;
1053
1361
  /** Request body */
1054
- resource: CheckRequest;
1362
+ resource:
1363
+ CheckRequest;
1055
1364
  }): client.Request<CheckResponse>;
1056
1365
  check(request: {
1057
1366
  /** V1 error format. */
1058
- "$.xgafv"?: string;
1367
+ "$.xgafv"?:
1368
+ string;
1059
1369
  /** OAuth access token. */
1060
- access_token?: string;
1370
+ access_token?:
1371
+ string;
1061
1372
  /** Data format for response. */
1062
- alt?: string;
1373
+ alt?:
1374
+ string;
1063
1375
  /** JSONP */
1064
- callback?: string;
1376
+ callback?:
1377
+ string;
1065
1378
  /** Selector specifying which fields to include in a partial response. */
1066
- fields?: string;
1379
+ fields?:
1380
+ string;
1067
1381
  /** 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. */
1068
- key?: string;
1382
+ key?:
1383
+ string;
1069
1384
  /** OAuth 2.0 token for the current user. */
1070
- oauth_token?: string;
1385
+ oauth_token?:
1386
+ string;
1071
1387
  /** Returns response with indentations and line breaks. */
1072
- prettyPrint?: boolean;
1388
+ prettyPrint?:
1389
+ boolean;
1073
1390
  /** 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. */
1074
- quotaUser?: string;
1391
+ quotaUser?:
1392
+ string;
1075
1393
  /**
1076
1394
  * The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See
1077
1395
  * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
1078
1396
  */
1079
- serviceName: string;
1397
+ serviceName:
1398
+ string;
1080
1399
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1081
- upload_protocol?: string;
1400
+ upload_protocol?:
1401
+ string;
1082
1402
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1083
- uploadType?: string;
1403
+ uploadType?:
1404
+ string;
1084
1405
  },
1085
1406
  body: CheckRequest): client.Request<CheckResponse>;
1086
1407
  /**
@@ -1091,63 +1412,88 @@ declare namespace gapi.client {
1091
1412
  */
1092
1413
  report(request: {
1093
1414
  /** V1 error format. */
1094
- "$.xgafv"?: string;
1415
+ "$.xgafv"?:
1416
+ string;
1095
1417
  /** OAuth access token. */
1096
- access_token?: string;
1418
+ access_token?:
1419
+ string;
1097
1420
  /** Data format for response. */
1098
- alt?: string;
1421
+ alt?:
1422
+ string;
1099
1423
  /** JSONP */
1100
- callback?: string;
1424
+ callback?:
1425
+ string;
1101
1426
  /** Selector specifying which fields to include in a partial response. */
1102
- fields?: string;
1427
+ fields?:
1428
+ string;
1103
1429
  /** 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. */
1104
- key?: string;
1430
+ key?:
1431
+ string;
1105
1432
  /** OAuth 2.0 token for the current user. */
1106
- oauth_token?: string;
1433
+ oauth_token?:
1434
+ string;
1107
1435
  /** Returns response with indentations and line breaks. */
1108
- prettyPrint?: boolean;
1436
+ prettyPrint?:
1437
+ boolean;
1109
1438
  /** 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. */
1110
- quotaUser?: string;
1439
+ quotaUser?:
1440
+ string;
1111
1441
  /**
1112
1442
  * The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See
1113
1443
  * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
1114
1444
  */
1115
- serviceName: string;
1445
+ serviceName:
1446
+ string;
1116
1447
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1117
- upload_protocol?: string;
1448
+ upload_protocol?:
1449
+ string;
1118
1450
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1119
- uploadType?: string;
1451
+ uploadType?:
1452
+ string;
1120
1453
  /** Request body */
1121
- resource: ReportRequest;
1454
+ resource:
1455
+ ReportRequest;
1122
1456
  }): client.Request<ReportResponse>;
1123
1457
  report(request: {
1124
1458
  /** V1 error format. */
1125
- "$.xgafv"?: string;
1459
+ "$.xgafv"?:
1460
+ string;
1126
1461
  /** OAuth access token. */
1127
- access_token?: string;
1462
+ access_token?:
1463
+ string;
1128
1464
  /** Data format for response. */
1129
- alt?: string;
1465
+ alt?:
1466
+ string;
1130
1467
  /** JSONP */
1131
- callback?: string;
1468
+ callback?:
1469
+ string;
1132
1470
  /** Selector specifying which fields to include in a partial response. */
1133
- fields?: string;
1471
+ fields?:
1472
+ string;
1134
1473
  /** 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. */
1135
- key?: string;
1474
+ key?:
1475
+ string;
1136
1476
  /** OAuth 2.0 token for the current user. */
1137
- oauth_token?: string;
1477
+ oauth_token?:
1478
+ string;
1138
1479
  /** Returns response with indentations and line breaks. */
1139
- prettyPrint?: boolean;
1480
+ prettyPrint?:
1481
+ boolean;
1140
1482
  /** 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. */
1141
- quotaUser?: string;
1483
+ quotaUser?:
1484
+ string;
1142
1485
  /**
1143
1486
  * The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See
1144
1487
  * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
1145
1488
  */
1146
- serviceName: string;
1489
+ serviceName:
1490
+ string;
1147
1491
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1148
- upload_protocol?: string;
1492
+ upload_protocol?:
1493
+ string;
1149
1494
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1150
- uploadType?: string;
1495
+ uploadType?:
1496
+ string;
1151
1497
  },
1152
1498
  body: ReportRequest): client.Request<ReportResponse>;
1153
1499
  }