@maxim_mazurok/gapi.client.appengine-v1alpha 0.0.20220806

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 ADDED
@@ -0,0 +1,1063 @@
1
+ /* Type definitions for non-npm package App Engine Admin API v1alpha 0.0 */
2
+ // Project: https://cloud.google.com/appengine/docs/admin-api/
3
+ // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
+ // Nick Amoscato <https://github.com/namoscato>
5
+ // Declan Vong <https://github.com/declanvong>
6
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
+ // TypeScript Version: 2.8
8
+
9
+ // IMPORTANT
10
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
+ // Generated from: https://appengine.googleapis.com/$discovery/rest?version=v1alpha
13
+ // Revision: 20220806
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load App Engine Admin API v1alpha */
19
+ function load(urlOrObject: "https://appengine.googleapis.com/$discovery/rest?version=v1alpha"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "appengine", version: "v1alpha"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "appengine", version: "v1alpha", callback: () => any): void;
24
+
25
+ namespace appengine {
26
+ interface AuthorizedCertificate {
27
+ /** The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority. */
28
+ certificateRawData?: CertificateRawData;
29
+ /** The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate. */
30
+ displayName?: string;
31
+ /**
32
+ * Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only
33
+ * returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly
34
+ */
35
+ domainMappingsCount?: number;
36
+ /** Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.@OutputOnly */
37
+ domainNames?: string[];
38
+ /**
39
+ * The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using
40
+ * AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly
41
+ */
42
+ expireTime?: string;
43
+ /** Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.@OutputOnly */
44
+ id?: string;
45
+ /**
46
+ * Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the
47
+ * AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.@OutputOnly
48
+ */
49
+ managedCertificate?: ManagedCertificate;
50
+ /** Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.@OutputOnly */
51
+ name?: string;
52
+ /**
53
+ * The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of
54
+ * mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only
55
+ * returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly
56
+ */
57
+ visibleDomainMappings?: string[];
58
+ }
59
+ interface AuthorizedDomain {
60
+ /** Fully qualified domain name of the domain authorized for use. Example: example.com. */
61
+ id?: string;
62
+ /** Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/authorizedDomains/example.com.@OutputOnly */
63
+ name?: string;
64
+ }
65
+ interface CertificateRawData {
66
+ /**
67
+ * Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and
68
+ * footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
69
+ */
70
+ privateKey?: string;
71
+ /**
72
+ * PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END
73
+ * CERTIFICATE-----
74
+ */
75
+ publicCertificate?: string;
76
+ }
77
+ interface CreateVersionMetadataV1 {
78
+ /** The Cloud Build ID if one was created as part of the version create. @OutputOnly */
79
+ cloudBuildId?: string;
80
+ }
81
+ interface CreateVersionMetadataV1Alpha {
82
+ /** The Cloud Build ID if one was created as part of the version create. @OutputOnly */
83
+ cloudBuildId?: string;
84
+ }
85
+ interface CreateVersionMetadataV1Beta {
86
+ /** The Cloud Build ID if one was created as part of the version create. @OutputOnly */
87
+ cloudBuildId?: string;
88
+ }
89
+ interface DomainMapping {
90
+ /** Relative name of the domain serving the application. Example: example.com. */
91
+ id?: string;
92
+ /** Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly */
93
+ name?: string;
94
+ /**
95
+ * The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain
96
+ * mapping.@OutputOnly
97
+ */
98
+ resourceRecords?: ResourceRecord[];
99
+ /** SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. */
100
+ sslSettings?: SslSettings;
101
+ }
102
+ // tslint:disable-next-line:no-empty-interface
103
+ interface Empty {
104
+ }
105
+ interface GoogleAppengineV1betaLocationMetadata {
106
+ /** App Engine flexible environment is available in the given location.@OutputOnly */
107
+ flexibleEnvironmentAvailable?: boolean;
108
+ /** Output only. Search API (https://cloud.google.com/appengine/docs/standard/python/search) is available in the given location. */
109
+ searchApiAvailable?: boolean;
110
+ /** App Engine standard environment is available in the given location.@OutputOnly */
111
+ standardEnvironmentAvailable?: boolean;
112
+ }
113
+ interface ListAuthorizedCertificatesResponse {
114
+ /** The SSL certificates the user is authorized to administer. */
115
+ certificates?: AuthorizedCertificate[];
116
+ /** Continuation token for fetching the next page of results. */
117
+ nextPageToken?: string;
118
+ }
119
+ interface ListAuthorizedDomainsResponse {
120
+ /** The authorized domains belonging to the user. */
121
+ domains?: AuthorizedDomain[];
122
+ /** Continuation token for fetching the next page of results. */
123
+ nextPageToken?: string;
124
+ }
125
+ interface ListDomainMappingsResponse {
126
+ /** The domain mappings for the application. */
127
+ domainMappings?: DomainMapping[];
128
+ /** Continuation token for fetching the next page of results. */
129
+ nextPageToken?: string;
130
+ }
131
+ interface ListLocationsResponse {
132
+ /** A list of locations that matches the specified filter in the request. */
133
+ locations?: Location[];
134
+ /** The standard List next-page token. */
135
+ nextPageToken?: string;
136
+ }
137
+ interface ListOperationsResponse {
138
+ /** The standard List next-page token. */
139
+ nextPageToken?: string;
140
+ /** A list of operations that matches the specified filter in the request. */
141
+ operations?: Operation[];
142
+ }
143
+ interface Location {
144
+ /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
145
+ displayName?: string;
146
+ /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
147
+ labels?: { [P in string]: string };
148
+ /** The canonical id for this location. For example: "us-east1". */
149
+ locationId?: string;
150
+ /** Service-specific metadata. For example the available capacity at the given location. */
151
+ metadata?: { [P in string]: any };
152
+ /** Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1" */
153
+ name?: string;
154
+ }
155
+ interface LocationMetadata {
156
+ /** App Engine flexible environment is available in the given location.@OutputOnly */
157
+ flexibleEnvironmentAvailable?: boolean;
158
+ /** Output only. Search API (https://cloud.google.com/appengine/docs/standard/python/search) is available in the given location. */
159
+ searchApiAvailable?: boolean;
160
+ /** App Engine standard environment is available in the given location.@OutputOnly */
161
+ standardEnvironmentAvailable?: boolean;
162
+ }
163
+ interface ManagedCertificate {
164
+ /**
165
+ * Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can
166
+ * be tracked via ManagementStatus.@OutputOnly
167
+ */
168
+ lastRenewalTime?: string;
169
+ /** Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.@OutputOnly */
170
+ status?: string;
171
+ }
172
+ interface Operation {
173
+ /** 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. */
174
+ done?: boolean;
175
+ /** The error result of the operation in case of failure or cancellation. */
176
+ error?: Status;
177
+ /**
178
+ * 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
179
+ * metadata. Any method that returns a long-running operation should document the metadata type, if any.
180
+ */
181
+ metadata?: { [P in string]: any };
182
+ /**
183
+ * 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
184
+ * with operations/{unique_id}.
185
+ */
186
+ name?: string;
187
+ /**
188
+ * 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 original
189
+ * 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 original method name.
190
+ * For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
191
+ */
192
+ response?: { [P in string]: any };
193
+ }
194
+ interface OperationMetadataV1 {
195
+ createVersionMetadata?: CreateVersionMetadataV1;
196
+ /** Time that this operation completed.@OutputOnly */
197
+ endTime?: string;
198
+ /** Ephemeral message that may change every time the operation is polled. @OutputOnly */
199
+ ephemeralMessage?: string;
200
+ /** Time that this operation was created.@OutputOnly */
201
+ insertTime?: string;
202
+ /** API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly */
203
+ method?: string;
204
+ /** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */
205
+ target?: string;
206
+ /** User who requested this operation.@OutputOnly */
207
+ user?: string;
208
+ /** Durable messages that persist on every operation poll. @OutputOnly */
209
+ warning?: string[];
210
+ }
211
+ interface OperationMetadataV1Alpha {
212
+ createVersionMetadata?: CreateVersionMetadataV1Alpha;
213
+ /** Time that this operation completed.@OutputOnly */
214
+ endTime?: string;
215
+ /** Ephemeral message that may change every time the operation is polled. @OutputOnly */
216
+ ephemeralMessage?: string;
217
+ /** Time that this operation was created.@OutputOnly */
218
+ insertTime?: string;
219
+ /** API method that initiated this operation. Example: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly */
220
+ method?: string;
221
+ /** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */
222
+ target?: string;
223
+ /** User who requested this operation.@OutputOnly */
224
+ user?: string;
225
+ /** Durable messages that persist on every operation poll. @OutputOnly */
226
+ warning?: string[];
227
+ }
228
+ interface OperationMetadataV1Beta {
229
+ createVersionMetadata?: CreateVersionMetadataV1Beta;
230
+ /** Time that this operation completed.@OutputOnly */
231
+ endTime?: string;
232
+ /** Ephemeral message that may change every time the operation is polled. @OutputOnly */
233
+ ephemeralMessage?: string;
234
+ /** Time that this operation was created.@OutputOnly */
235
+ insertTime?: string;
236
+ /** API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly */
237
+ method?: string;
238
+ /** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */
239
+ target?: string;
240
+ /** User who requested this operation.@OutputOnly */
241
+ user?: string;
242
+ /** Durable messages that persist on every operation poll. @OutputOnly */
243
+ warning?: string[];
244
+ }
245
+ interface ResourceRecord {
246
+ /** Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. */
247
+ name?: string;
248
+ /** Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). */
249
+ rrdata?: string;
250
+ /** Resource record type. Example: AAAA. */
251
+ type?: string;
252
+ }
253
+ interface SslSettings {
254
+ /**
255
+ * ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created
256
+ * for every domain mapping. To omit SSL support or to configure SSL manually, specify no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the
257
+ * AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
258
+ */
259
+ certificateId?: string;
260
+ /**
261
+ * Whether the mapped certificate is an App Engine managed certificate. Managed certificates are created by default with a domain mapping. To opt out, specify no_managed_certificate on
262
+ * a CREATE or UPDATE request.@OutputOnly
263
+ */
264
+ isManagedCertificate?: boolean;
265
+ }
266
+ interface Status {
267
+ /** The status code, which should be an enum value of google.rpc.Code. */
268
+ code?: number;
269
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
270
+ details?: Array<{ [P in string]: any }>;
271
+ /**
272
+ * 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
273
+ * client.
274
+ */
275
+ message?: string;
276
+ }
277
+ interface AuthorizedCertificatesResource {
278
+ /** Uploads the specified SSL certificate. */
279
+ create(request: {
280
+ /** V1 error format. */
281
+ "$.xgafv"?: string;
282
+ /** OAuth access token. */
283
+ access_token?: string;
284
+ /** Data format for response. */
285
+ alt?: string;
286
+ /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
287
+ appsId: string;
288
+ /** JSONP */
289
+ callback?: string;
290
+ /** Selector specifying which fields to include in a partial response. */
291
+ fields?: string;
292
+ /** 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. */
293
+ key?: string;
294
+ /** OAuth 2.0 token for the current user. */
295
+ oauth_token?: string;
296
+ /** Returns response with indentations and line breaks. */
297
+ prettyPrint?: boolean;
298
+ /** 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. */
299
+ quotaUser?: string;
300
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
301
+ upload_protocol?: string;
302
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
303
+ uploadType?: string;
304
+ /** Request body */
305
+ resource: AuthorizedCertificate;
306
+ }): Request<AuthorizedCertificate>;
307
+ create(request: {
308
+ /** V1 error format. */
309
+ "$.xgafv"?: string;
310
+ /** OAuth access token. */
311
+ access_token?: string;
312
+ /** Data format for response. */
313
+ alt?: string;
314
+ /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
315
+ appsId: string;
316
+ /** JSONP */
317
+ callback?: string;
318
+ /** Selector specifying which fields to include in a partial response. */
319
+ fields?: string;
320
+ /** 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. */
321
+ key?: string;
322
+ /** OAuth 2.0 token for the current user. */
323
+ oauth_token?: string;
324
+ /** Returns response with indentations and line breaks. */
325
+ prettyPrint?: boolean;
326
+ /** 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. */
327
+ quotaUser?: string;
328
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
329
+ upload_protocol?: string;
330
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
331
+ uploadType?: string;
332
+ },
333
+ body: AuthorizedCertificate): Request<AuthorizedCertificate>;
334
+ /** Deletes the specified SSL certificate. */
335
+ delete(request?: {
336
+ /** V1 error format. */
337
+ "$.xgafv"?: string;
338
+ /** OAuth access token. */
339
+ access_token?: string;
340
+ /** Data format for response. */
341
+ alt?: string;
342
+ /** Part of `name`. Name of the resource to delete. Example: apps/myapp/authorizedCertificates/12345. */
343
+ appsId: string;
344
+ /** Part of `name`. See documentation of `appsId`. */
345
+ authorizedCertificatesId: string;
346
+ /** JSONP */
347
+ callback?: string;
348
+ /** Selector specifying which fields to include in a partial response. */
349
+ fields?: string;
350
+ /** 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. */
351
+ key?: string;
352
+ /** OAuth 2.0 token for the current user. */
353
+ oauth_token?: string;
354
+ /** Returns response with indentations and line breaks. */
355
+ prettyPrint?: boolean;
356
+ /** 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. */
357
+ quotaUser?: string;
358
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
359
+ upload_protocol?: string;
360
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
361
+ uploadType?: string;
362
+ }): Request<{}>;
363
+ /** Gets the specified SSL certificate. */
364
+ get(request?: {
365
+ /** V1 error format. */
366
+ "$.xgafv"?: string;
367
+ /** OAuth access token. */
368
+ access_token?: string;
369
+ /** Data format for response. */
370
+ alt?: string;
371
+ /** Part of `name`. Name of the resource requested. Example: apps/myapp/authorizedCertificates/12345. */
372
+ appsId: string;
373
+ /** Part of `name`. See documentation of `appsId`. */
374
+ authorizedCertificatesId: string;
375
+ /** JSONP */
376
+ callback?: string;
377
+ /** Selector specifying which fields to include in a partial response. */
378
+ fields?: string;
379
+ /** 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. */
380
+ key?: string;
381
+ /** OAuth 2.0 token for the current user. */
382
+ oauth_token?: string;
383
+ /** Returns response with indentations and line breaks. */
384
+ prettyPrint?: boolean;
385
+ /** 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. */
386
+ quotaUser?: string;
387
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
388
+ upload_protocol?: string;
389
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
390
+ uploadType?: string;
391
+ /** Controls the set of fields returned in the GET response. */
392
+ view?: string;
393
+ }): Request<AuthorizedCertificate>;
394
+ /** Lists all SSL certificates the user is authorized to administer. */
395
+ list(request?: {
396
+ /** V1 error format. */
397
+ "$.xgafv"?: string;
398
+ /** OAuth access token. */
399
+ access_token?: string;
400
+ /** Data format for response. */
401
+ alt?: string;
402
+ /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
403
+ appsId: string;
404
+ /** JSONP */
405
+ callback?: string;
406
+ /** Selector specifying which fields to include in a partial response. */
407
+ fields?: string;
408
+ /** 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. */
409
+ key?: string;
410
+ /** OAuth 2.0 token for the current user. */
411
+ oauth_token?: string;
412
+ /** Maximum results to return per page. */
413
+ pageSize?: number;
414
+ /** Continuation token for fetching the next page of results. */
415
+ pageToken?: string;
416
+ /** Returns response with indentations and line breaks. */
417
+ prettyPrint?: boolean;
418
+ /** 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. */
419
+ quotaUser?: string;
420
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
421
+ upload_protocol?: string;
422
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
423
+ uploadType?: string;
424
+ /** Controls the set of fields returned in the LIST response. */
425
+ view?: string;
426
+ }): Request<ListAuthorizedCertificatesResponse>;
427
+ /**
428
+ * Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new certificate. The new certificate must be
429
+ * applicable to the same domains as the original certificate. The certificate display_name may also be updated.
430
+ */
431
+ patch(request: {
432
+ /** V1 error format. */
433
+ "$.xgafv"?: string;
434
+ /** OAuth access token. */
435
+ access_token?: string;
436
+ /** Data format for response. */
437
+ alt?: string;
438
+ /** Part of `name`. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345. */
439
+ appsId: string;
440
+ /** Part of `name`. See documentation of `appsId`. */
441
+ authorizedCertificatesId: string;
442
+ /** JSONP */
443
+ callback?: string;
444
+ /** Selector specifying which fields to include in a partial response. */
445
+ fields?: string;
446
+ /** 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. */
447
+ key?: string;
448
+ /** OAuth 2.0 token for the current user. */
449
+ oauth_token?: string;
450
+ /** Returns response with indentations and line breaks. */
451
+ prettyPrint?: boolean;
452
+ /** 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. */
453
+ quotaUser?: string;
454
+ /** Standard field mask for the set of fields to be updated. Updates are only supported on the certificate_raw_data and display_name fields. */
455
+ updateMask?: string;
456
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
457
+ upload_protocol?: string;
458
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
459
+ uploadType?: string;
460
+ /** Request body */
461
+ resource: AuthorizedCertificate;
462
+ }): Request<AuthorizedCertificate>;
463
+ patch(request: {
464
+ /** V1 error format. */
465
+ "$.xgafv"?: string;
466
+ /** OAuth access token. */
467
+ access_token?: string;
468
+ /** Data format for response. */
469
+ alt?: string;
470
+ /** Part of `name`. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345. */
471
+ appsId: string;
472
+ /** Part of `name`. See documentation of `appsId`. */
473
+ authorizedCertificatesId: string;
474
+ /** JSONP */
475
+ callback?: string;
476
+ /** Selector specifying which fields to include in a partial response. */
477
+ fields?: string;
478
+ /** 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. */
479
+ key?: string;
480
+ /** OAuth 2.0 token for the current user. */
481
+ oauth_token?: string;
482
+ /** Returns response with indentations and line breaks. */
483
+ prettyPrint?: boolean;
484
+ /** 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. */
485
+ quotaUser?: string;
486
+ /** Standard field mask for the set of fields to be updated. Updates are only supported on the certificate_raw_data and display_name fields. */
487
+ updateMask?: string;
488
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
489
+ upload_protocol?: string;
490
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
491
+ uploadType?: string;
492
+ },
493
+ body: AuthorizedCertificate): Request<AuthorizedCertificate>;
494
+ }
495
+ interface AuthorizedDomainsResource {
496
+ /** Lists all domains the user is authorized to administer. */
497
+ list(request?: {
498
+ /** V1 error format. */
499
+ "$.xgafv"?: string;
500
+ /** OAuth access token. */
501
+ access_token?: string;
502
+ /** Data format for response. */
503
+ alt?: string;
504
+ /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
505
+ appsId: string;
506
+ /** JSONP */
507
+ callback?: string;
508
+ /** Selector specifying which fields to include in a partial response. */
509
+ fields?: string;
510
+ /** 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. */
511
+ key?: string;
512
+ /** OAuth 2.0 token for the current user. */
513
+ oauth_token?: string;
514
+ /** Maximum results to return per page. */
515
+ pageSize?: number;
516
+ /** Continuation token for fetching the next page of results. */
517
+ pageToken?: string;
518
+ /** Returns response with indentations and line breaks. */
519
+ prettyPrint?: boolean;
520
+ /** 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. */
521
+ quotaUser?: string;
522
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
523
+ upload_protocol?: string;
524
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
525
+ uploadType?: string;
526
+ }): Request<ListAuthorizedDomainsResponse>;
527
+ }
528
+ interface DomainMappingsResource {
529
+ /**
530
+ * Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see
531
+ * AuthorizedDomains.ListAuthorizedDomains.
532
+ */
533
+ create(request: {
534
+ /** V1 error format. */
535
+ "$.xgafv"?: string;
536
+ /** OAuth access token. */
537
+ access_token?: string;
538
+ /** Data format for response. */
539
+ alt?: string;
540
+ /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
541
+ appsId: string;
542
+ /** JSONP */
543
+ callback?: string;
544
+ /** Selector specifying which fields to include in a partial response. */
545
+ fields?: string;
546
+ /** 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. */
547
+ key?: string;
548
+ /**
549
+ * Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain.
550
+ * If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
551
+ */
552
+ noManagedCertificate?: boolean;
553
+ /** OAuth 2.0 token for the current user. */
554
+ oauth_token?: string;
555
+ /** Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */
556
+ overrideStrategy?: string;
557
+ /** Returns response with indentations and line breaks. */
558
+ prettyPrint?: boolean;
559
+ /** 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. */
560
+ quotaUser?: string;
561
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
562
+ upload_protocol?: string;
563
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
564
+ uploadType?: string;
565
+ /** Request body */
566
+ resource: DomainMapping;
567
+ }): Request<Operation>;
568
+ create(request: {
569
+ /** V1 error format. */
570
+ "$.xgafv"?: string;
571
+ /** OAuth access token. */
572
+ access_token?: string;
573
+ /** Data format for response. */
574
+ alt?: string;
575
+ /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
576
+ appsId: string;
577
+ /** JSONP */
578
+ callback?: string;
579
+ /** Selector specifying which fields to include in a partial response. */
580
+ fields?: string;
581
+ /** 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. */
582
+ key?: string;
583
+ /**
584
+ * Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain.
585
+ * If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
586
+ */
587
+ noManagedCertificate?: boolean;
588
+ /** OAuth 2.0 token for the current user. */
589
+ oauth_token?: string;
590
+ /** Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */
591
+ overrideStrategy?: string;
592
+ /** Returns response with indentations and line breaks. */
593
+ prettyPrint?: boolean;
594
+ /** 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. */
595
+ quotaUser?: string;
596
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
597
+ upload_protocol?: string;
598
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
599
+ uploadType?: string;
600
+ },
601
+ body: DomainMapping): Request<Operation>;
602
+ /** Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource. */
603
+ delete(request?: {
604
+ /** V1 error format. */
605
+ "$.xgafv"?: string;
606
+ /** OAuth access token. */
607
+ access_token?: string;
608
+ /** Data format for response. */
609
+ alt?: string;
610
+ /** Part of `name`. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com. */
611
+ appsId: string;
612
+ /** JSONP */
613
+ callback?: string;
614
+ /** Part of `name`. See documentation of `appsId`. */
615
+ domainMappingsId: string;
616
+ /** Selector specifying which fields to include in a partial response. */
617
+ fields?: string;
618
+ /** 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. */
619
+ key?: string;
620
+ /** OAuth 2.0 token for the current user. */
621
+ oauth_token?: string;
622
+ /** Returns response with indentations and line breaks. */
623
+ prettyPrint?: boolean;
624
+ /** 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. */
625
+ quotaUser?: string;
626
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
627
+ upload_protocol?: string;
628
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
629
+ uploadType?: string;
630
+ }): Request<Operation>;
631
+ /** Gets the specified domain mapping. */
632
+ get(request?: {
633
+ /** V1 error format. */
634
+ "$.xgafv"?: string;
635
+ /** OAuth access token. */
636
+ access_token?: string;
637
+ /** Data format for response. */
638
+ alt?: string;
639
+ /** Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com. */
640
+ appsId: string;
641
+ /** JSONP */
642
+ callback?: string;
643
+ /** Part of `name`. See documentation of `appsId`. */
644
+ domainMappingsId: string;
645
+ /** Selector specifying which fields to include in a partial response. */
646
+ fields?: string;
647
+ /** 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. */
648
+ key?: string;
649
+ /** OAuth 2.0 token for the current user. */
650
+ oauth_token?: string;
651
+ /** Returns response with indentations and line breaks. */
652
+ prettyPrint?: boolean;
653
+ /** 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. */
654
+ quotaUser?: string;
655
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
656
+ upload_protocol?: string;
657
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
658
+ uploadType?: string;
659
+ }): Request<DomainMapping>;
660
+ /** Lists the domain mappings on an application. */
661
+ list(request?: {
662
+ /** V1 error format. */
663
+ "$.xgafv"?: string;
664
+ /** OAuth access token. */
665
+ access_token?: string;
666
+ /** Data format for response. */
667
+ alt?: string;
668
+ /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
669
+ appsId: string;
670
+ /** JSONP */
671
+ callback?: string;
672
+ /** Selector specifying which fields to include in a partial response. */
673
+ fields?: string;
674
+ /** 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. */
675
+ key?: string;
676
+ /** OAuth 2.0 token for the current user. */
677
+ oauth_token?: string;
678
+ /** Maximum results to return per page. */
679
+ pageSize?: number;
680
+ /** Continuation token for fetching the next page of results. */
681
+ pageToken?: string;
682
+ /** Returns response with indentations and line breaks. */
683
+ prettyPrint?: boolean;
684
+ /** 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. */
685
+ quotaUser?: string;
686
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
687
+ upload_protocol?: string;
688
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
689
+ uploadType?: string;
690
+ }): Request<ListDomainMappingsResponse>;
691
+ /**
692
+ * Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized
693
+ * to administer the associated domain in order to update a DomainMapping resource.
694
+ */
695
+ patch(request: {
696
+ /** V1 error format. */
697
+ "$.xgafv"?: string;
698
+ /** OAuth access token. */
699
+ access_token?: string;
700
+ /** Data format for response. */
701
+ alt?: string;
702
+ /** Part of `name`. Name of the resource to update. Example: apps/myapp/domainMappings/example.com. */
703
+ appsId: string;
704
+ /** JSONP */
705
+ callback?: string;
706
+ /** Part of `name`. See documentation of `appsId`. */
707
+ domainMappingsId: string;
708
+ /** Selector specifying which fields to include in a partial response. */
709
+ fields?: string;
710
+ /** 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. */
711
+ key?: string;
712
+ /**
713
+ * Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manually set in the DomainMapping resource to configure SSL for this domain. If
714
+ * false, a managed certificate will be provisioned and a certificate ID will be automatically populated. Only applicable if ssl_settings.certificate_id is specified in the update
715
+ * mask.
716
+ */
717
+ noManagedCertificate?: boolean;
718
+ /** OAuth 2.0 token for the current user. */
719
+ oauth_token?: string;
720
+ /** Returns response with indentations and line breaks. */
721
+ prettyPrint?: boolean;
722
+ /** 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. */
723
+ quotaUser?: string;
724
+ /** Required. Standard field mask for the set of fields to be updated. */
725
+ updateMask?: string;
726
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
727
+ upload_protocol?: string;
728
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
729
+ uploadType?: string;
730
+ /** Request body */
731
+ resource: DomainMapping;
732
+ }): Request<Operation>;
733
+ patch(request: {
734
+ /** V1 error format. */
735
+ "$.xgafv"?: string;
736
+ /** OAuth access token. */
737
+ access_token?: string;
738
+ /** Data format for response. */
739
+ alt?: string;
740
+ /** Part of `name`. Name of the resource to update. Example: apps/myapp/domainMappings/example.com. */
741
+ appsId: string;
742
+ /** JSONP */
743
+ callback?: string;
744
+ /** Part of `name`. See documentation of `appsId`. */
745
+ domainMappingsId: string;
746
+ /** Selector specifying which fields to include in a partial response. */
747
+ fields?: string;
748
+ /** 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. */
749
+ key?: string;
750
+ /**
751
+ * Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manually set in the DomainMapping resource to configure SSL for this domain. If
752
+ * false, a managed certificate will be provisioned and a certificate ID will be automatically populated. Only applicable if ssl_settings.certificate_id is specified in the update
753
+ * mask.
754
+ */
755
+ noManagedCertificate?: boolean;
756
+ /** OAuth 2.0 token for the current user. */
757
+ oauth_token?: string;
758
+ /** Returns response with indentations and line breaks. */
759
+ prettyPrint?: boolean;
760
+ /** 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. */
761
+ quotaUser?: string;
762
+ /** Required. Standard field mask for the set of fields to be updated. */
763
+ updateMask?: string;
764
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
765
+ upload_protocol?: string;
766
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
767
+ uploadType?: string;
768
+ },
769
+ body: DomainMapping): Request<Operation>;
770
+ }
771
+ interface LocationsResource {
772
+ /** Gets information about a location. */
773
+ get(request?: {
774
+ /** V1 error format. */
775
+ "$.xgafv"?: string;
776
+ /** OAuth access token. */
777
+ access_token?: string;
778
+ /** Data format for response. */
779
+ alt?: string;
780
+ /** Part of `name`. Resource name for the location. */
781
+ appsId: string;
782
+ /** JSONP */
783
+ callback?: string;
784
+ /** Selector specifying which fields to include in a partial response. */
785
+ fields?: string;
786
+ /** 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. */
787
+ key?: string;
788
+ /** Part of `name`. See documentation of `appsId`. */
789
+ locationsId: string;
790
+ /** OAuth 2.0 token for the current user. */
791
+ oauth_token?: string;
792
+ /** Returns response with indentations and line breaks. */
793
+ prettyPrint?: boolean;
794
+ /** 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. */
795
+ quotaUser?: string;
796
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
797
+ upload_protocol?: string;
798
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
799
+ uploadType?: string;
800
+ }): Request<Location>;
801
+ /** Lists information about the supported locations for this service. */
802
+ list(request?: {
803
+ /** V1 error format. */
804
+ "$.xgafv"?: string;
805
+ /** OAuth access token. */
806
+ access_token?: string;
807
+ /** Data format for response. */
808
+ alt?: string;
809
+ /** Part of `name`. The resource that owns the locations collection, if applicable. */
810
+ appsId: string;
811
+ /** JSONP */
812
+ callback?: string;
813
+ /** Selector specifying which fields to include in a partial response. */
814
+ fields?: string;
815
+ /**
816
+ * A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160
817
+ * (https://google.aip.dev/160).
818
+ */
819
+ filter?: string;
820
+ /** 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. */
821
+ key?: string;
822
+ /** OAuth 2.0 token for the current user. */
823
+ oauth_token?: string;
824
+ /** The maximum number of results to return. If not set, the service selects a default. */
825
+ pageSize?: number;
826
+ /** A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page. */
827
+ pageToken?: string;
828
+ /** Returns response with indentations and line breaks. */
829
+ prettyPrint?: boolean;
830
+ /** 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. */
831
+ quotaUser?: string;
832
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
833
+ upload_protocol?: string;
834
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
835
+ uploadType?: string;
836
+ }): Request<ListLocationsResponse>;
837
+ }
838
+ interface OperationsResource {
839
+ /** 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. */
840
+ get(request?: {
841
+ /** V1 error format. */
842
+ "$.xgafv"?: string;
843
+ /** OAuth access token. */
844
+ access_token?: string;
845
+ /** Data format for response. */
846
+ alt?: string;
847
+ /** Part of `name`. The name of the operation resource. */
848
+ appsId: string;
849
+ /** JSONP */
850
+ callback?: string;
851
+ /** Selector specifying which fields to include in a partial response. */
852
+ fields?: string;
853
+ /** 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. */
854
+ key?: string;
855
+ /** OAuth 2.0 token for the current user. */
856
+ oauth_token?: string;
857
+ /** Part of `name`. See documentation of `appsId`. */
858
+ operationsId: string;
859
+ /** Returns response with indentations and line breaks. */
860
+ prettyPrint?: boolean;
861
+ /** 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. */
862
+ quotaUser?: string;
863
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
864
+ upload_protocol?: string;
865
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
866
+ uploadType?: string;
867
+ }): Request<Operation>;
868
+ /**
869
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
870
+ * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as
871
+ * "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
872
+ * ensure the name binding is the parent resource, without the operations collection id.
873
+ */
874
+ list(request?: {
875
+ /** V1 error format. */
876
+ "$.xgafv"?: string;
877
+ /** OAuth access token. */
878
+ access_token?: string;
879
+ /** Data format for response. */
880
+ alt?: string;
881
+ /** Part of `name`. The name of the operation's parent resource. */
882
+ appsId: string;
883
+ /** JSONP */
884
+ callback?: string;
885
+ /** Selector specifying which fields to include in a partial response. */
886
+ fields?: string;
887
+ /** The standard list filter. */
888
+ filter?: string;
889
+ /** 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. */
890
+ key?: string;
891
+ /** OAuth 2.0 token for the current user. */
892
+ oauth_token?: string;
893
+ /** The standard list page size. */
894
+ pageSize?: number;
895
+ /** The standard list page token. */
896
+ pageToken?: string;
897
+ /** Returns response with indentations and line breaks. */
898
+ prettyPrint?: boolean;
899
+ /** 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. */
900
+ quotaUser?: string;
901
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
902
+ upload_protocol?: string;
903
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
904
+ uploadType?: string;
905
+ }): Request<ListOperationsResponse>;
906
+ }
907
+ interface AppsResource {
908
+ authorizedCertificates: AuthorizedCertificatesResource;
909
+ authorizedDomains: AuthorizedDomainsResource;
910
+ domainMappings: DomainMappingsResource;
911
+ locations: LocationsResource;
912
+ operations: OperationsResource;
913
+ }
914
+ interface OperationsResource {
915
+ /** 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. */
916
+ get(request?: {
917
+ /** V1 error format. */
918
+ "$.xgafv"?: string;
919
+ /** OAuth access token. */
920
+ access_token?: string;
921
+ /** Data format for response. */
922
+ alt?: string;
923
+ /** JSONP */
924
+ callback?: string;
925
+ /** Selector specifying which fields to include in a partial response. */
926
+ fields?: string;
927
+ /** 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. */
928
+ key?: string;
929
+ /** Part of `name`. See documentation of `projectsId`. */
930
+ locationsId: string;
931
+ /** OAuth 2.0 token for the current user. */
932
+ oauth_token?: string;
933
+ /** Part of `name`. See documentation of `projectsId`. */
934
+ operationsId: string;
935
+ /** Returns response with indentations and line breaks. */
936
+ prettyPrint?: boolean;
937
+ /** Part of `name`. The name of the operation resource. */
938
+ projectsId: string;
939
+ /** 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. */
940
+ quotaUser?: string;
941
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
942
+ upload_protocol?: string;
943
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
944
+ uploadType?: string;
945
+ }): Request<Operation>;
946
+ /**
947
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
948
+ * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as
949
+ * "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
950
+ * ensure the name binding is the parent resource, without the operations collection id.
951
+ */
952
+ list(request?: {
953
+ /** V1 error format. */
954
+ "$.xgafv"?: string;
955
+ /** OAuth access token. */
956
+ access_token?: string;
957
+ /** Data format for response. */
958
+ alt?: string;
959
+ /** JSONP */
960
+ callback?: string;
961
+ /** Selector specifying which fields to include in a partial response. */
962
+ fields?: string;
963
+ /** The standard list filter. */
964
+ filter?: string;
965
+ /** 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. */
966
+ key?: string;
967
+ /** Part of `name`. See documentation of `projectsId`. */
968
+ locationsId: string;
969
+ /** OAuth 2.0 token for the current user. */
970
+ oauth_token?: string;
971
+ /** The standard list page size. */
972
+ pageSize?: number;
973
+ /** The standard list page token. */
974
+ pageToken?: string;
975
+ /** Returns response with indentations and line breaks. */
976
+ prettyPrint?: boolean;
977
+ /** Part of `name`. The name of the operation's parent resource. */
978
+ projectsId: string;
979
+ /** 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. */
980
+ quotaUser?: string;
981
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
982
+ upload_protocol?: string;
983
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
984
+ uploadType?: string;
985
+ }): Request<ListOperationsResponse>;
986
+ }
987
+ interface LocationsResource {
988
+ /** Gets information about a location. */
989
+ get(request?: {
990
+ /** V1 error format. */
991
+ "$.xgafv"?: string;
992
+ /** OAuth access token. */
993
+ access_token?: string;
994
+ /** Data format for response. */
995
+ alt?: string;
996
+ /** JSONP */
997
+ callback?: string;
998
+ /** Selector specifying which fields to include in a partial response. */
999
+ fields?: string;
1000
+ /** 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. */
1001
+ key?: string;
1002
+ /** Part of `name`. See documentation of `projectsId`. */
1003
+ locationsId: string;
1004
+ /** OAuth 2.0 token for the current user. */
1005
+ oauth_token?: string;
1006
+ /** Returns response with indentations and line breaks. */
1007
+ prettyPrint?: boolean;
1008
+ /** Part of `name`. Resource name for the location. */
1009
+ projectsId: string;
1010
+ /** 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. */
1011
+ quotaUser?: string;
1012
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1013
+ upload_protocol?: string;
1014
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1015
+ uploadType?: string;
1016
+ }): Request<Location>;
1017
+ /** Lists information about the supported locations for this service. */
1018
+ list(request?: {
1019
+ /** V1 error format. */
1020
+ "$.xgafv"?: string;
1021
+ /** OAuth access token. */
1022
+ access_token?: string;
1023
+ /** Data format for response. */
1024
+ alt?: string;
1025
+ /** JSONP */
1026
+ callback?: string;
1027
+ /** Selector specifying which fields to include in a partial response. */
1028
+ fields?: string;
1029
+ /**
1030
+ * A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160
1031
+ * (https://google.aip.dev/160).
1032
+ */
1033
+ filter?: string;
1034
+ /** 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. */
1035
+ key?: string;
1036
+ /** OAuth 2.0 token for the current user. */
1037
+ oauth_token?: string;
1038
+ /** The maximum number of results to return. If not set, the service selects a default. */
1039
+ pageSize?: number;
1040
+ /** A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page. */
1041
+ pageToken?: string;
1042
+ /** Returns response with indentations and line breaks. */
1043
+ prettyPrint?: boolean;
1044
+ /** Part of `name`. The resource that owns the locations collection, if applicable. */
1045
+ projectsId: string;
1046
+ /** 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. */
1047
+ quotaUser?: string;
1048
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1049
+ upload_protocol?: string;
1050
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1051
+ uploadType?: string;
1052
+ }): Request<ListLocationsResponse>;
1053
+ operations: OperationsResource;
1054
+ }
1055
+ interface ProjectsResource {
1056
+ locations: LocationsResource;
1057
+ }
1058
+
1059
+ const apps: AppsResource;
1060
+
1061
+ const projects: ProjectsResource;
1062
+ }
1063
+ }