@maxim_mazurok/gapi.client.networkconnectivity-v1 0.0.20220809

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,1387 @@
1
+ /* Type definitions for non-npm package Network Connectivity API v1 0.0 */
2
+ // Project: https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
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://networkconnectivity.googleapis.com/$discovery/rest?version=v1
13
+ // Revision: 20220809
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load Network Connectivity API v1 */
19
+ function load(urlOrObject: "https://networkconnectivity.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "networkconnectivity", version: "v1"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "networkconnectivity", version: "v1", callback: () => any): void;
24
+
25
+ namespace networkconnectivity {
26
+ interface AuditConfig {
27
+ /** The configuration for logging of each type of permission. */
28
+ auditLogConfigs?: AuditLogConfig[];
29
+ /**
30
+ * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all
31
+ * services.
32
+ */
33
+ service?: string;
34
+ }
35
+ interface AuditLogConfig {
36
+ /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
37
+ exemptedMembers?: string[];
38
+ /** The log type that this config enables. */
39
+ logType?: string;
40
+ }
41
+ interface Binding {
42
+ /**
43
+ * The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`,
44
+ * then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which
45
+ * resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
46
+ */
47
+ condition?: Expr;
48
+ /**
49
+ * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
50
+ * the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
51
+ * account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
52
+ * represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier
53
+ * for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example,
54
+ * `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. *
55
+ * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
56
+ * `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. *
57
+ * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
58
+ * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
59
+ * account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently
60
+ * deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in
61
+ * the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
62
+ */
63
+ members?: string[];
64
+ /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
65
+ role?: string;
66
+ }
67
+ // tslint:disable-next-line:no-empty-interface
68
+ interface Empty {
69
+ }
70
+ interface Expr {
71
+ /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
72
+ description?: string;
73
+ /** Textual representation of an expression in Common Expression Language syntax. */
74
+ expression?: string;
75
+ /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
76
+ location?: string;
77
+ /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
78
+ title?: string;
79
+ }
80
+ // tslint:disable-next-line:no-empty-interface
81
+ interface GoogleLongrunningCancelOperationRequest {
82
+ }
83
+ interface GoogleLongrunningListOperationsResponse {
84
+ /** The standard List next-page token. */
85
+ nextPageToken?: string;
86
+ /** A list of operations that matches the specified filter in the request. */
87
+ operations?: GoogleLongrunningOperation[];
88
+ }
89
+ interface GoogleLongrunningOperation {
90
+ /** 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. */
91
+ done?: boolean;
92
+ /** The error result of the operation in case of failure or cancellation. */
93
+ error?: GoogleRpcStatus;
94
+ /**
95
+ * 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
96
+ * metadata. Any method that returns a long-running operation should document the metadata type, if any.
97
+ */
98
+ metadata?: { [P in string]: any };
99
+ /**
100
+ * 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
101
+ * with `operations/{unique_id}`.
102
+ */
103
+ name?: string;
104
+ /**
105
+ * 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
106
+ * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
107
+ * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
108
+ */
109
+ response?: { [P in string]: any };
110
+ }
111
+ interface GoogleRpcStatus {
112
+ /** The status code, which should be an enum value of google.rpc.Code. */
113
+ code?: number;
114
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
115
+ details?: Array<{ [P in string]: any }>;
116
+ /**
117
+ * 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
118
+ * client.
119
+ */
120
+ message?: string;
121
+ }
122
+ interface Hub {
123
+ /** Output only. The time the hub was created. */
124
+ createTime?: string;
125
+ /** An optional description of the hub. */
126
+ description?: string;
127
+ /**
128
+ * Optional labels in key:value format. For more information about labels, see [Requirements for
129
+ * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
130
+ */
131
+ labels?: { [P in string]: string };
132
+ /** Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}` */
133
+ name?: string;
134
+ /** The VPC networks associated with this hub's spokes. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub. */
135
+ routingVpcs?: RoutingVPC[];
136
+ /** Output only. The current lifecycle state of this hub. */
137
+ state?: string;
138
+ /**
139
+ * Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is
140
+ * assigned a different unique_id.
141
+ */
142
+ uniqueId?: string;
143
+ /** Output only. The time the hub was last updated. */
144
+ updateTime?: string;
145
+ }
146
+ interface LinkedInterconnectAttachments {
147
+ /**
148
+ * A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported
149
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
150
+ */
151
+ siteToSiteDataTransfer?: boolean;
152
+ /** The URIs of linked interconnect attachment resources */
153
+ uris?: string[];
154
+ }
155
+ interface LinkedRouterApplianceInstances {
156
+ /** The list of router appliance instances. */
157
+ instances?: RouterApplianceInstance[];
158
+ /**
159
+ * A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported
160
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
161
+ */
162
+ siteToSiteDataTransfer?: boolean;
163
+ }
164
+ interface LinkedVpnTunnels {
165
+ /**
166
+ * A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported
167
+ * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
168
+ */
169
+ siteToSiteDataTransfer?: boolean;
170
+ /** The URIs of linked VPN tunnel resources. */
171
+ uris?: string[];
172
+ }
173
+ interface ListHubsResponse {
174
+ /** The requested hubs. */
175
+ hubs?: Hub[];
176
+ /** The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result. */
177
+ nextPageToken?: string;
178
+ /** Locations that could not be reached. */
179
+ unreachable?: string[];
180
+ }
181
+ interface ListLocationsResponse {
182
+ /** A list of locations that matches the specified filter in the request. */
183
+ locations?: Location[];
184
+ /** The standard List next-page token. */
185
+ nextPageToken?: string;
186
+ }
187
+ interface ListSpokesResponse {
188
+ /** The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result. */
189
+ nextPageToken?: string;
190
+ /** The requested spokes. */
191
+ spokes?: Spoke[];
192
+ /** Locations that could not be reached. */
193
+ unreachable?: string[];
194
+ }
195
+ interface Location {
196
+ /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
197
+ displayName?: string;
198
+ /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
199
+ labels?: { [P in string]: string };
200
+ /** The canonical id for this location. For example: `"us-east1"`. */
201
+ locationId?: string;
202
+ /** Service-specific metadata. For example the available capacity at the given location. */
203
+ metadata?: { [P in string]: any };
204
+ /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
205
+ name?: string;
206
+ }
207
+ interface LocationMetadata {
208
+ /** List of supported features */
209
+ locationFeatures?: string[];
210
+ }
211
+ interface OperationMetadata {
212
+ /** Output only. API version used to start the operation. */
213
+ apiVersion?: string;
214
+ /** Output only. The time the operation was created. */
215
+ createTime?: string;
216
+ /** Output only. The time the operation finished running. */
217
+ endTime?: string;
218
+ /**
219
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a
220
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
221
+ */
222
+ requestedCancellation?: boolean;
223
+ /** Output only. Human-readable status of the operation, if any. */
224
+ statusMessage?: string;
225
+ /** Output only. Server-defined resource path for the target of the operation. */
226
+ target?: string;
227
+ /** Output only. Name of the verb executed by the operation. */
228
+ verb?: string;
229
+ }
230
+ interface Policy {
231
+ /** Specifies cloud audit logging configuration for this policy. */
232
+ auditConfigs?: AuditConfig[];
233
+ /**
234
+ * Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings`
235
+ * must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a
236
+ * principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
237
+ * 1,450 principals to the `bindings` in the `Policy`.
238
+ */
239
+ bindings?: Binding[];
240
+ /**
241
+ * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make
242
+ * use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems
243
+ * are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM
244
+ * Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
245
+ * policy, and all of the conditions in the version `3` policy are lost.
246
+ */
247
+ etag?: string;
248
+ /**
249
+ * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings
250
+ * must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a
251
+ * policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use
252
+ * IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
253
+ * policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave
254
+ * the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
255
+ */
256
+ version?: number;
257
+ }
258
+ interface RouterApplianceInstance {
259
+ /** The IP address on the VM to use for peering. */
260
+ ipAddress?: string;
261
+ /** The URI of the VM. */
262
+ virtualMachine?: string;
263
+ }
264
+ interface RoutingVPC {
265
+ /**
266
+ * Output only. If true, indicates that this VPC network is currently associated with spokes that use the data transfer feature (spokes where the site_to_site_data_transfer field is
267
+ * set to true). If you create new spokes that use data transfer, they must be associated with this VPC network. At most, one VPC network will have this field set to true.
268
+ */
269
+ requiredForNewSiteToSiteDataTransferSpokes?: boolean;
270
+ /** The URI of the VPC network. */
271
+ uri?: string;
272
+ }
273
+ interface SetIamPolicyRequest {
274
+ /**
275
+ * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
276
+ * services (such as Projects) might reject them.
277
+ */
278
+ policy?: Policy;
279
+ /**
280
+ * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:
281
+ * `paths: "bindings, etag"`
282
+ */
283
+ updateMask?: string;
284
+ }
285
+ interface Spoke {
286
+ /** Output only. The time the spoke was created. */
287
+ createTime?: string;
288
+ /** An optional description of the spoke. */
289
+ description?: string;
290
+ /** Immutable. The name of the hub that this spoke is attached to. */
291
+ hub?: string;
292
+ /**
293
+ * Optional labels in key:value format. For more information about labels, see [Requirements for
294
+ * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
295
+ */
296
+ labels?: { [P in string]: string };
297
+ /** VLAN attachments that are associated with the spoke. */
298
+ linkedInterconnectAttachments?: LinkedInterconnectAttachments;
299
+ /** Router appliance instances that are associated with the spoke. */
300
+ linkedRouterApplianceInstances?: LinkedRouterApplianceInstances;
301
+ /** VPN tunnels that are associated with the spoke. */
302
+ linkedVpnTunnels?: LinkedVpnTunnels;
303
+ /** Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}` */
304
+ name?: string;
305
+ /** Output only. The current lifecycle state of this spoke. */
306
+ state?: string;
307
+ /**
308
+ * Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke
309
+ * is assigned a different unique_id.
310
+ */
311
+ uniqueId?: string;
312
+ /** Output only. The time the spoke was last updated. */
313
+ updateTime?: string;
314
+ }
315
+ interface TestIamPermissionsRequest {
316
+ /**
317
+ * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
318
+ * Overview](https://cloud.google.com/iam/docs/overview#permissions).
319
+ */
320
+ permissions?: string[];
321
+ }
322
+ interface TestIamPermissionsResponse {
323
+ /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
324
+ permissions?: string[];
325
+ }
326
+ interface HubsResource {
327
+ /** Creates a new Network Connectivity Center hub in the specified project. */
328
+ create(request: {
329
+ /** V1 error format. */
330
+ "$.xgafv"?: string;
331
+ /** OAuth access token. */
332
+ access_token?: string;
333
+ /** Data format for response. */
334
+ alt?: string;
335
+ /** JSONP */
336
+ callback?: string;
337
+ /** Selector specifying which fields to include in a partial response. */
338
+ fields?: string;
339
+ /** Required. A unique identifier for the hub. */
340
+ hubId?: string;
341
+ /** 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. */
342
+ key?: string;
343
+ /** OAuth 2.0 token for the current user. */
344
+ oauth_token?: string;
345
+ /** Required. The parent resource. */
346
+ parent: string;
347
+ /** Returns response with indentations and line breaks. */
348
+ prettyPrint?: boolean;
349
+ /** 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. */
350
+ quotaUser?: string;
351
+ /**
352
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
353
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
354
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
355
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
356
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
357
+ */
358
+ requestId?: string;
359
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
360
+ upload_protocol?: string;
361
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
362
+ uploadType?: string;
363
+ /** Request body */
364
+ resource: Hub;
365
+ }): Request<GoogleLongrunningOperation>;
366
+ create(request: {
367
+ /** V1 error format. */
368
+ "$.xgafv"?: string;
369
+ /** OAuth access token. */
370
+ access_token?: string;
371
+ /** Data format for response. */
372
+ alt?: string;
373
+ /** JSONP */
374
+ callback?: string;
375
+ /** Selector specifying which fields to include in a partial response. */
376
+ fields?: string;
377
+ /** Required. A unique identifier for the hub. */
378
+ hubId?: 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
+ /** Required. The parent resource. */
384
+ parent: string;
385
+ /** Returns response with indentations and line breaks. */
386
+ prettyPrint?: boolean;
387
+ /** 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. */
388
+ quotaUser?: string;
389
+ /**
390
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
391
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
392
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
393
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
394
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
395
+ */
396
+ requestId?: string;
397
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
398
+ upload_protocol?: string;
399
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
400
+ uploadType?: string;
401
+ },
402
+ body: Hub): Request<GoogleLongrunningOperation>;
403
+ /** Deletes a Network Connectivity Center hub. */
404
+ delete(request?: {
405
+ /** V1 error format. */
406
+ "$.xgafv"?: string;
407
+ /** OAuth access token. */
408
+ access_token?: string;
409
+ /** Data format for response. */
410
+ alt?: string;
411
+ /** JSONP */
412
+ callback?: string;
413
+ /** Selector specifying which fields to include in a partial response. */
414
+ fields?: string;
415
+ /** 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. */
416
+ key?: string;
417
+ /** Required. The name of the hub to delete. */
418
+ name: string;
419
+ /** OAuth 2.0 token for the current user. */
420
+ oauth_token?: string;
421
+ /** Returns response with indentations and line breaks. */
422
+ prettyPrint?: boolean;
423
+ /** 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. */
424
+ quotaUser?: string;
425
+ /**
426
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
427
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
428
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
429
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
430
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
431
+ */
432
+ requestId?: string;
433
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
434
+ upload_protocol?: string;
435
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
436
+ uploadType?: string;
437
+ }): Request<GoogleLongrunningOperation>;
438
+ /** Gets details about a Network Connectivity Center hub. */
439
+ get(request?: {
440
+ /** V1 error format. */
441
+ "$.xgafv"?: string;
442
+ /** OAuth access token. */
443
+ access_token?: string;
444
+ /** Data format for response. */
445
+ alt?: string;
446
+ /** JSONP */
447
+ callback?: string;
448
+ /** Selector specifying which fields to include in a partial response. */
449
+ fields?: string;
450
+ /** 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. */
451
+ key?: string;
452
+ /** Required. The name of the hub resource to get. */
453
+ name: string;
454
+ /** OAuth 2.0 token for the current user. */
455
+ oauth_token?: string;
456
+ /** Returns response with indentations and line breaks. */
457
+ prettyPrint?: boolean;
458
+ /** 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. */
459
+ quotaUser?: string;
460
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
461
+ upload_protocol?: string;
462
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
463
+ uploadType?: string;
464
+ }): Request<Hub>;
465
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
466
+ getIamPolicy(request?: {
467
+ /** V1 error format. */
468
+ "$.xgafv"?: string;
469
+ /** OAuth access token. */
470
+ access_token?: string;
471
+ /** Data format for response. */
472
+ alt?: string;
473
+ /** JSONP */
474
+ callback?: string;
475
+ /** Selector specifying which fields to include in a partial response. */
476
+ fields?: string;
477
+ /** 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. */
478
+ key?: string;
479
+ /** OAuth 2.0 token for the current user. */
480
+ oauth_token?: string;
481
+ /**
482
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
483
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
484
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
485
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
486
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
487
+ */
488
+ "options.requestedPolicyVersion"?: number;
489
+ /** Returns response with indentations and line breaks. */
490
+ prettyPrint?: boolean;
491
+ /** 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. */
492
+ quotaUser?: string;
493
+ /**
494
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
495
+ * field.
496
+ */
497
+ resource: string;
498
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
499
+ upload_protocol?: string;
500
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
501
+ uploadType?: string;
502
+ }): Request<Policy>;
503
+ /** Lists the Network Connectivity Center hubs associated with a given project. */
504
+ list(request?: {
505
+ /** V1 error format. */
506
+ "$.xgafv"?: string;
507
+ /** OAuth access token. */
508
+ access_token?: string;
509
+ /** Data format for response. */
510
+ alt?: string;
511
+ /** JSONP */
512
+ callback?: string;
513
+ /** Selector specifying which fields to include in a partial response. */
514
+ fields?: string;
515
+ /** An expression that filters the results listed in the response. */
516
+ filter?: string;
517
+ /** 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. */
518
+ key?: string;
519
+ /** OAuth 2.0 token for the current user. */
520
+ oauth_token?: string;
521
+ /** Sort the results by a certain order. */
522
+ orderBy?: string;
523
+ /** The maximum number of results per page that should be returned. */
524
+ pageSize?: number;
525
+ /** The page token. */
526
+ pageToken?: string;
527
+ /** Required. The parent resource's name. */
528
+ parent: string;
529
+ /** Returns response with indentations and line breaks. */
530
+ prettyPrint?: boolean;
531
+ /** 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. */
532
+ quotaUser?: string;
533
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
534
+ upload_protocol?: string;
535
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
536
+ uploadType?: string;
537
+ }): Request<ListHubsResponse>;
538
+ /** Updates the description and/or labels of a Network Connectivity Center hub. */
539
+ patch(request: {
540
+ /** V1 error format. */
541
+ "$.xgafv"?: string;
542
+ /** OAuth access token. */
543
+ access_token?: string;
544
+ /** Data format for response. */
545
+ alt?: string;
546
+ /** JSONP */
547
+ callback?: string;
548
+ /** Selector specifying which fields to include in a partial response. */
549
+ fields?: string;
550
+ /** 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. */
551
+ key?: string;
552
+ /** Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}` */
553
+ name: string;
554
+ /** OAuth 2.0 token for the current user. */
555
+ oauth_token?: string;
556
+ /** Returns response with indentations and line breaks. */
557
+ prettyPrint?: boolean;
558
+ /** 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. */
559
+ quotaUser?: string;
560
+ /**
561
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
562
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
563
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
564
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
565
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
566
+ */
567
+ requestId?: string;
568
+ /**
569
+ * Optional. In the case of an update to an existing hub, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the
570
+ * resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.
571
+ */
572
+ updateMask?: string;
573
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
574
+ upload_protocol?: string;
575
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
576
+ uploadType?: string;
577
+ /** Request body */
578
+ resource: Hub;
579
+ }): Request<GoogleLongrunningOperation>;
580
+ patch(request: {
581
+ /** V1 error format. */
582
+ "$.xgafv"?: string;
583
+ /** OAuth access token. */
584
+ access_token?: string;
585
+ /** Data format for response. */
586
+ alt?: string;
587
+ /** JSONP */
588
+ callback?: string;
589
+ /** Selector specifying which fields to include in a partial response. */
590
+ fields?: string;
591
+ /** 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. */
592
+ key?: string;
593
+ /** Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}` */
594
+ name: string;
595
+ /** OAuth 2.0 token for the current user. */
596
+ oauth_token?: string;
597
+ /** Returns response with indentations and line breaks. */
598
+ prettyPrint?: boolean;
599
+ /** 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. */
600
+ quotaUser?: string;
601
+ /**
602
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
603
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
604
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
605
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
606
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
607
+ */
608
+ requestId?: string;
609
+ /**
610
+ * Optional. In the case of an update to an existing hub, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the
611
+ * resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.
612
+ */
613
+ updateMask?: string;
614
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
615
+ upload_protocol?: string;
616
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
617
+ uploadType?: string;
618
+ },
619
+ body: Hub): Request<GoogleLongrunningOperation>;
620
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
621
+ setIamPolicy(request: {
622
+ /** V1 error format. */
623
+ "$.xgafv"?: string;
624
+ /** OAuth access token. */
625
+ access_token?: string;
626
+ /** Data format for response. */
627
+ alt?: string;
628
+ /** JSONP */
629
+ callback?: string;
630
+ /** Selector specifying which fields to include in a partial response. */
631
+ fields?: string;
632
+ /** 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. */
633
+ key?: string;
634
+ /** OAuth 2.0 token for the current user. */
635
+ oauth_token?: string;
636
+ /** Returns response with indentations and line breaks. */
637
+ prettyPrint?: boolean;
638
+ /** 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. */
639
+ quotaUser?: string;
640
+ /**
641
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
642
+ * field.
643
+ */
644
+ resource: string;
645
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
646
+ upload_protocol?: string;
647
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
648
+ uploadType?: string;
649
+ },
650
+ body: SetIamPolicyRequest): Request<Policy>;
651
+ /**
652
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
653
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
654
+ */
655
+ testIamPermissions(request: {
656
+ /** V1 error format. */
657
+ "$.xgafv"?: string;
658
+ /** OAuth access token. */
659
+ access_token?: string;
660
+ /** Data format for response. */
661
+ alt?: string;
662
+ /** JSONP */
663
+ callback?: string;
664
+ /** Selector specifying which fields to include in a partial response. */
665
+ fields?: string;
666
+ /** 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. */
667
+ key?: string;
668
+ /** OAuth 2.0 token for the current user. */
669
+ oauth_token?: string;
670
+ /** Returns response with indentations and line breaks. */
671
+ prettyPrint?: boolean;
672
+ /** 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. */
673
+ quotaUser?: string;
674
+ /**
675
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
676
+ * this field.
677
+ */
678
+ resource: string;
679
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
680
+ upload_protocol?: string;
681
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
682
+ uploadType?: string;
683
+ },
684
+ body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
685
+ }
686
+ interface PolicyBasedRoutesResource {
687
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
688
+ getIamPolicy(request?: {
689
+ /** V1 error format. */
690
+ "$.xgafv"?: string;
691
+ /** OAuth access token. */
692
+ access_token?: string;
693
+ /** Data format for response. */
694
+ alt?: string;
695
+ /** JSONP */
696
+ callback?: string;
697
+ /** Selector specifying which fields to include in a partial response. */
698
+ fields?: string;
699
+ /** 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. */
700
+ key?: string;
701
+ /** OAuth 2.0 token for the current user. */
702
+ oauth_token?: string;
703
+ /**
704
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
705
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
706
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
707
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
708
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
709
+ */
710
+ "options.requestedPolicyVersion"?: number;
711
+ /** Returns response with indentations and line breaks. */
712
+ prettyPrint?: boolean;
713
+ /** 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. */
714
+ quotaUser?: string;
715
+ /**
716
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
717
+ * field.
718
+ */
719
+ resource: string;
720
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
721
+ upload_protocol?: string;
722
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
723
+ uploadType?: string;
724
+ }): Request<Policy>;
725
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
726
+ setIamPolicy(request: {
727
+ /** V1 error format. */
728
+ "$.xgafv"?: string;
729
+ /** OAuth access token. */
730
+ access_token?: string;
731
+ /** Data format for response. */
732
+ alt?: string;
733
+ /** JSONP */
734
+ callback?: string;
735
+ /** Selector specifying which fields to include in a partial response. */
736
+ fields?: string;
737
+ /** 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. */
738
+ key?: string;
739
+ /** OAuth 2.0 token for the current user. */
740
+ oauth_token?: string;
741
+ /** Returns response with indentations and line breaks. */
742
+ prettyPrint?: boolean;
743
+ /** 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. */
744
+ quotaUser?: string;
745
+ /**
746
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
747
+ * field.
748
+ */
749
+ resource: string;
750
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
751
+ upload_protocol?: string;
752
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
753
+ uploadType?: string;
754
+ },
755
+ body: SetIamPolicyRequest): Request<Policy>;
756
+ /**
757
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
758
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
759
+ */
760
+ testIamPermissions(request: {
761
+ /** V1 error format. */
762
+ "$.xgafv"?: string;
763
+ /** OAuth access token. */
764
+ access_token?: string;
765
+ /** Data format for response. */
766
+ alt?: string;
767
+ /** JSONP */
768
+ callback?: string;
769
+ /** Selector specifying which fields to include in a partial response. */
770
+ fields?: string;
771
+ /** 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. */
772
+ key?: string;
773
+ /** OAuth 2.0 token for the current user. */
774
+ oauth_token?: string;
775
+ /** Returns response with indentations and line breaks. */
776
+ prettyPrint?: boolean;
777
+ /** 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. */
778
+ quotaUser?: string;
779
+ /**
780
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
781
+ * this field.
782
+ */
783
+ resource: string;
784
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
785
+ upload_protocol?: string;
786
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
787
+ uploadType?: string;
788
+ },
789
+ body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
790
+ }
791
+ interface GlobalResource {
792
+ hubs: HubsResource;
793
+ policyBasedRoutes: PolicyBasedRoutesResource;
794
+ }
795
+ interface OperationsResource {
796
+ /**
797
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
798
+ * this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
799
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
800
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
801
+ */
802
+ cancel(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
+ /** JSONP */
810
+ callback?: string;
811
+ /** Selector specifying which fields to include in a partial response. */
812
+ fields?: string;
813
+ /** 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. */
814
+ key?: string;
815
+ /** The name of the operation resource to be cancelled. */
816
+ name: string;
817
+ /** OAuth 2.0 token for the current user. */
818
+ oauth_token?: string;
819
+ /** Returns response with indentations and line breaks. */
820
+ prettyPrint?: boolean;
821
+ /** 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. */
822
+ quotaUser?: string;
823
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
824
+ upload_protocol?: string;
825
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
826
+ uploadType?: string;
827
+ /** Request body */
828
+ resource: GoogleLongrunningCancelOperationRequest;
829
+ }): Request<{}>;
830
+ cancel(request: {
831
+ /** V1 error format. */
832
+ "$.xgafv"?: string;
833
+ /** OAuth access token. */
834
+ access_token?: string;
835
+ /** Data format for response. */
836
+ alt?: string;
837
+ /** JSONP */
838
+ callback?: string;
839
+ /** Selector specifying which fields to include in a partial response. */
840
+ fields?: string;
841
+ /** 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. */
842
+ key?: string;
843
+ /** The name of the operation resource to be cancelled. */
844
+ name: string;
845
+ /** OAuth 2.0 token for the current user. */
846
+ oauth_token?: string;
847
+ /** Returns response with indentations and line breaks. */
848
+ prettyPrint?: boolean;
849
+ /** 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. */
850
+ quotaUser?: string;
851
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
852
+ upload_protocol?: string;
853
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
854
+ uploadType?: string;
855
+ },
856
+ body: GoogleLongrunningCancelOperationRequest): Request<{}>;
857
+ /**
858
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
859
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
860
+ */
861
+ delete(request?: {
862
+ /** V1 error format. */
863
+ "$.xgafv"?: string;
864
+ /** OAuth access token. */
865
+ access_token?: string;
866
+ /** Data format for response. */
867
+ alt?: string;
868
+ /** JSONP */
869
+ callback?: string;
870
+ /** Selector specifying which fields to include in a partial response. */
871
+ fields?: string;
872
+ /** 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. */
873
+ key?: string;
874
+ /** The name of the operation resource to be deleted. */
875
+ name: string;
876
+ /** OAuth 2.0 token for the current user. */
877
+ oauth_token?: string;
878
+ /** Returns response with indentations and line breaks. */
879
+ prettyPrint?: boolean;
880
+ /** 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. */
881
+ quotaUser?: string;
882
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
883
+ upload_protocol?: string;
884
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
885
+ uploadType?: string;
886
+ }): Request<{}>;
887
+ /** 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. */
888
+ get(request?: {
889
+ /** V1 error format. */
890
+ "$.xgafv"?: string;
891
+ /** OAuth access token. */
892
+ access_token?: string;
893
+ /** Data format for response. */
894
+ alt?: string;
895
+ /** JSONP */
896
+ callback?: string;
897
+ /** Selector specifying which fields to include in a partial response. */
898
+ fields?: string;
899
+ /** 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. */
900
+ key?: string;
901
+ /** The name of the operation resource. */
902
+ name: string;
903
+ /** OAuth 2.0 token for the current user. */
904
+ oauth_token?: string;
905
+ /** Returns response with indentations and line breaks. */
906
+ prettyPrint?: boolean;
907
+ /** 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. */
908
+ quotaUser?: string;
909
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
910
+ upload_protocol?: string;
911
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
912
+ uploadType?: string;
913
+ }): Request<GoogleLongrunningOperation>;
914
+ /**
915
+ * 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
916
+ * to 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
917
+ * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
918
+ * ensure the name binding is the parent resource, without the operations collection id.
919
+ */
920
+ list(request?: {
921
+ /** V1 error format. */
922
+ "$.xgafv"?: string;
923
+ /** OAuth access token. */
924
+ access_token?: string;
925
+ /** Data format for response. */
926
+ alt?: string;
927
+ /** JSONP */
928
+ callback?: string;
929
+ /** Selector specifying which fields to include in a partial response. */
930
+ fields?: string;
931
+ /** The standard list filter. */
932
+ filter?: string;
933
+ /** 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. */
934
+ key?: string;
935
+ /** The name of the operation's parent resource. */
936
+ name: string;
937
+ /** OAuth 2.0 token for the current user. */
938
+ oauth_token?: string;
939
+ /** The standard list page size. */
940
+ pageSize?: number;
941
+ /** The standard list page token. */
942
+ pageToken?: string;
943
+ /** Returns response with indentations and line breaks. */
944
+ prettyPrint?: boolean;
945
+ /** 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. */
946
+ quotaUser?: string;
947
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
948
+ upload_protocol?: string;
949
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
950
+ uploadType?: string;
951
+ }): Request<GoogleLongrunningListOperationsResponse>;
952
+ }
953
+ interface SpokesResource {
954
+ /** Creates a Network Connectivity Center spoke. */
955
+ create(request: {
956
+ /** V1 error format. */
957
+ "$.xgafv"?: string;
958
+ /** OAuth access token. */
959
+ access_token?: string;
960
+ /** Data format for response. */
961
+ alt?: string;
962
+ /** JSONP */
963
+ callback?: string;
964
+ /** Selector specifying which fields to include in a partial response. */
965
+ fields?: string;
966
+ /** 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. */
967
+ key?: string;
968
+ /** OAuth 2.0 token for the current user. */
969
+ oauth_token?: string;
970
+ /** Required. The parent resource. */
971
+ parent: string;
972
+ /** Returns response with indentations and line breaks. */
973
+ prettyPrint?: boolean;
974
+ /** 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. */
975
+ quotaUser?: string;
976
+ /**
977
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
978
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
979
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
980
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
981
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
982
+ */
983
+ requestId?: string;
984
+ /** Required. Unique id for the spoke to create. */
985
+ spokeId?: string;
986
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
987
+ upload_protocol?: string;
988
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
989
+ uploadType?: string;
990
+ /** Request body */
991
+ resource: Spoke;
992
+ }): Request<GoogleLongrunningOperation>;
993
+ create(request: {
994
+ /** V1 error format. */
995
+ "$.xgafv"?: string;
996
+ /** OAuth access token. */
997
+ access_token?: string;
998
+ /** Data format for response. */
999
+ alt?: string;
1000
+ /** JSONP */
1001
+ callback?: string;
1002
+ /** Selector specifying which fields to include in a partial response. */
1003
+ fields?: string;
1004
+ /** 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. */
1005
+ key?: string;
1006
+ /** OAuth 2.0 token for the current user. */
1007
+ oauth_token?: string;
1008
+ /** Required. The parent resource. */
1009
+ parent: string;
1010
+ /** Returns response with indentations and line breaks. */
1011
+ prettyPrint?: boolean;
1012
+ /** 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. */
1013
+ quotaUser?: string;
1014
+ /**
1015
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
1016
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
1017
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
1018
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
1019
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1020
+ */
1021
+ requestId?: string;
1022
+ /** Required. Unique id for the spoke to create. */
1023
+ spokeId?: string;
1024
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1025
+ upload_protocol?: string;
1026
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1027
+ uploadType?: string;
1028
+ },
1029
+ body: Spoke): Request<GoogleLongrunningOperation>;
1030
+ /** Deletes a Network Connectivity Center spoke. */
1031
+ delete(request?: {
1032
+ /** V1 error format. */
1033
+ "$.xgafv"?: string;
1034
+ /** OAuth access token. */
1035
+ access_token?: string;
1036
+ /** Data format for response. */
1037
+ alt?: string;
1038
+ /** JSONP */
1039
+ callback?: string;
1040
+ /** Selector specifying which fields to include in a partial response. */
1041
+ fields?: string;
1042
+ /** 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. */
1043
+ key?: string;
1044
+ /** Required. The name of the spoke to delete. */
1045
+ name: string;
1046
+ /** OAuth 2.0 token for the current user. */
1047
+ oauth_token?: string;
1048
+ /** Returns response with indentations and line breaks. */
1049
+ prettyPrint?: boolean;
1050
+ /** 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. */
1051
+ quotaUser?: string;
1052
+ /**
1053
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
1054
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
1055
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
1056
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
1057
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1058
+ */
1059
+ requestId?: string;
1060
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1061
+ upload_protocol?: string;
1062
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1063
+ uploadType?: string;
1064
+ }): Request<GoogleLongrunningOperation>;
1065
+ /** Gets details about a Network Connectivity Center spoke. */
1066
+ get(request?: {
1067
+ /** V1 error format. */
1068
+ "$.xgafv"?: string;
1069
+ /** OAuth access token. */
1070
+ access_token?: string;
1071
+ /** Data format for response. */
1072
+ alt?: string;
1073
+ /** JSONP */
1074
+ callback?: string;
1075
+ /** Selector specifying which fields to include in a partial response. */
1076
+ fields?: string;
1077
+ /** 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. */
1078
+ key?: string;
1079
+ /** Required. The name of the spoke resource. */
1080
+ name: string;
1081
+ /** OAuth 2.0 token for the current user. */
1082
+ oauth_token?: string;
1083
+ /** Returns response with indentations and line breaks. */
1084
+ prettyPrint?: boolean;
1085
+ /** 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. */
1086
+ quotaUser?: string;
1087
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1088
+ upload_protocol?: string;
1089
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1090
+ uploadType?: string;
1091
+ }): Request<Spoke>;
1092
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1093
+ getIamPolicy(request?: {
1094
+ /** V1 error format. */
1095
+ "$.xgafv"?: string;
1096
+ /** OAuth access token. */
1097
+ access_token?: string;
1098
+ /** Data format for response. */
1099
+ alt?: string;
1100
+ /** JSONP */
1101
+ callback?: string;
1102
+ /** Selector specifying which fields to include in a partial response. */
1103
+ fields?: string;
1104
+ /** 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. */
1105
+ key?: string;
1106
+ /** OAuth 2.0 token for the current user. */
1107
+ oauth_token?: string;
1108
+ /**
1109
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
1110
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
1111
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
1112
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
1113
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1114
+ */
1115
+ "options.requestedPolicyVersion"?: number;
1116
+ /** Returns response with indentations and line breaks. */
1117
+ prettyPrint?: boolean;
1118
+ /** 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. */
1119
+ quotaUser?: string;
1120
+ /**
1121
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1122
+ * field.
1123
+ */
1124
+ resource: string;
1125
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1126
+ upload_protocol?: string;
1127
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1128
+ uploadType?: string;
1129
+ }): Request<Policy>;
1130
+ /** Lists the Network Connectivity Center spokes in a specified project and location. */
1131
+ list(request?: {
1132
+ /** V1 error format. */
1133
+ "$.xgafv"?: string;
1134
+ /** OAuth access token. */
1135
+ access_token?: string;
1136
+ /** Data format for response. */
1137
+ alt?: string;
1138
+ /** JSONP */
1139
+ callback?: string;
1140
+ /** Selector specifying which fields to include in a partial response. */
1141
+ fields?: string;
1142
+ /** An expression that filters the results listed in the response. */
1143
+ filter?: string;
1144
+ /** 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. */
1145
+ key?: string;
1146
+ /** OAuth 2.0 token for the current user. */
1147
+ oauth_token?: string;
1148
+ /** Sort the results by a certain order. */
1149
+ orderBy?: string;
1150
+ /** The maximum number of results per page that should be returned. */
1151
+ pageSize?: number;
1152
+ /** The page token. */
1153
+ pageToken?: string;
1154
+ /** Required. The parent resource. */
1155
+ parent: string;
1156
+ /** Returns response with indentations and line breaks. */
1157
+ prettyPrint?: boolean;
1158
+ /** 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. */
1159
+ quotaUser?: string;
1160
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1161
+ upload_protocol?: string;
1162
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1163
+ uploadType?: string;
1164
+ }): Request<ListSpokesResponse>;
1165
+ /** Updates the parameters of a Network Connectivity Center spoke. */
1166
+ patch(request: {
1167
+ /** V1 error format. */
1168
+ "$.xgafv"?: string;
1169
+ /** OAuth access token. */
1170
+ access_token?: string;
1171
+ /** Data format for response. */
1172
+ alt?: string;
1173
+ /** JSONP */
1174
+ callback?: string;
1175
+ /** Selector specifying which fields to include in a partial response. */
1176
+ fields?: string;
1177
+ /** 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. */
1178
+ key?: string;
1179
+ /** Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}` */
1180
+ name: string;
1181
+ /** OAuth 2.0 token for the current user. */
1182
+ oauth_token?: string;
1183
+ /** Returns response with indentations and line breaks. */
1184
+ prettyPrint?: boolean;
1185
+ /** 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. */
1186
+ quotaUser?: string;
1187
+ /**
1188
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
1189
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
1190
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
1191
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
1192
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1193
+ */
1194
+ requestId?: string;
1195
+ /**
1196
+ * Optional. In the case of an update to an existing spoke, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the
1197
+ * resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.
1198
+ */
1199
+ updateMask?: string;
1200
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1201
+ upload_protocol?: string;
1202
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1203
+ uploadType?: string;
1204
+ /** Request body */
1205
+ resource: Spoke;
1206
+ }): Request<GoogleLongrunningOperation>;
1207
+ patch(request: {
1208
+ /** V1 error format. */
1209
+ "$.xgafv"?: string;
1210
+ /** OAuth access token. */
1211
+ access_token?: string;
1212
+ /** Data format for response. */
1213
+ alt?: string;
1214
+ /** JSONP */
1215
+ callback?: string;
1216
+ /** Selector specifying which fields to include in a partial response. */
1217
+ fields?: string;
1218
+ /** 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. */
1219
+ key?: string;
1220
+ /** Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}` */
1221
+ name: string;
1222
+ /** OAuth 2.0 token for the current user. */
1223
+ oauth_token?: string;
1224
+ /** Returns response with indentations and line breaks. */
1225
+ prettyPrint?: boolean;
1226
+ /** 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. */
1227
+ quotaUser?: string;
1228
+ /**
1229
+ * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
1230
+ * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
1231
+ * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
1232
+ * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
1233
+ * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1234
+ */
1235
+ requestId?: string;
1236
+ /**
1237
+ * Optional. In the case of an update to an existing spoke, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the
1238
+ * resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.
1239
+ */
1240
+ updateMask?: string;
1241
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1242
+ upload_protocol?: string;
1243
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1244
+ uploadType?: string;
1245
+ },
1246
+ body: Spoke): Request<GoogleLongrunningOperation>;
1247
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1248
+ setIamPolicy(request: {
1249
+ /** V1 error format. */
1250
+ "$.xgafv"?: string;
1251
+ /** OAuth access token. */
1252
+ access_token?: string;
1253
+ /** Data format for response. */
1254
+ alt?: string;
1255
+ /** JSONP */
1256
+ callback?: string;
1257
+ /** Selector specifying which fields to include in a partial response. */
1258
+ fields?: string;
1259
+ /** 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. */
1260
+ key?: string;
1261
+ /** OAuth 2.0 token for the current user. */
1262
+ oauth_token?: string;
1263
+ /** Returns response with indentations and line breaks. */
1264
+ prettyPrint?: boolean;
1265
+ /** 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. */
1266
+ quotaUser?: string;
1267
+ /**
1268
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1269
+ * field.
1270
+ */
1271
+ resource: string;
1272
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1273
+ upload_protocol?: string;
1274
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1275
+ uploadType?: string;
1276
+ },
1277
+ body: SetIamPolicyRequest): Request<Policy>;
1278
+ /**
1279
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
1280
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
1281
+ */
1282
+ testIamPermissions(request: {
1283
+ /** V1 error format. */
1284
+ "$.xgafv"?: string;
1285
+ /** OAuth access token. */
1286
+ access_token?: string;
1287
+ /** Data format for response. */
1288
+ alt?: string;
1289
+ /** JSONP */
1290
+ callback?: string;
1291
+ /** Selector specifying which fields to include in a partial response. */
1292
+ fields?: string;
1293
+ /** 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. */
1294
+ key?: string;
1295
+ /** OAuth 2.0 token for the current user. */
1296
+ oauth_token?: string;
1297
+ /** Returns response with indentations and line breaks. */
1298
+ prettyPrint?: boolean;
1299
+ /** 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. */
1300
+ quotaUser?: string;
1301
+ /**
1302
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
1303
+ * this field.
1304
+ */
1305
+ resource: string;
1306
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1307
+ upload_protocol?: string;
1308
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1309
+ uploadType?: string;
1310
+ },
1311
+ body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1312
+ }
1313
+ interface LocationsResource {
1314
+ /** Gets information about a location. */
1315
+ get(request?: {
1316
+ /** V1 error format. */
1317
+ "$.xgafv"?: string;
1318
+ /** OAuth access token. */
1319
+ access_token?: string;
1320
+ /** Data format for response. */
1321
+ alt?: string;
1322
+ /** JSONP */
1323
+ callback?: string;
1324
+ /** Selector specifying which fields to include in a partial response. */
1325
+ fields?: string;
1326
+ /** 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. */
1327
+ key?: string;
1328
+ /** Resource name for the location. */
1329
+ name: string;
1330
+ /** OAuth 2.0 token for the current user. */
1331
+ oauth_token?: string;
1332
+ /** Returns response with indentations and line breaks. */
1333
+ prettyPrint?: boolean;
1334
+ /** 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. */
1335
+ quotaUser?: string;
1336
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1337
+ upload_protocol?: string;
1338
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1339
+ uploadType?: string;
1340
+ }): Request<Location>;
1341
+ /** Lists information about the supported locations for this service. */
1342
+ list(request?: {
1343
+ /** V1 error format. */
1344
+ "$.xgafv"?: string;
1345
+ /** OAuth access token. */
1346
+ access_token?: string;
1347
+ /** Data format for response. */
1348
+ alt?: string;
1349
+ /** JSONP */
1350
+ callback?: string;
1351
+ /** Selector specifying which fields to include in a partial response. */
1352
+ fields?: string;
1353
+ /**
1354
+ * 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
1355
+ * [AIP-160](https://google.aip.dev/160).
1356
+ */
1357
+ filter?: string;
1358
+ /** 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. */
1359
+ key?: string;
1360
+ /** The resource that owns the locations collection, if applicable. */
1361
+ name: string;
1362
+ /** OAuth 2.0 token for the current user. */
1363
+ oauth_token?: string;
1364
+ /** The maximum number of results to return. If not set, the service selects a default. */
1365
+ pageSize?: number;
1366
+ /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1367
+ pageToken?: string;
1368
+ /** Returns response with indentations and line breaks. */
1369
+ prettyPrint?: boolean;
1370
+ /** 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. */
1371
+ quotaUser?: string;
1372
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1373
+ upload_protocol?: string;
1374
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1375
+ uploadType?: string;
1376
+ }): Request<ListLocationsResponse>;
1377
+ global: GlobalResource;
1378
+ operations: OperationsResource;
1379
+ spokes: SpokesResource;
1380
+ }
1381
+ interface ProjectsResource {
1382
+ locations: LocationsResource;
1383
+ }
1384
+
1385
+ const projects: ProjectsResource;
1386
+ }
1387
+ }