@maxim_mazurok/gapi.client.networkconnectivity-v1alpha1 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 +1660 -0
- package/package.json +20 -0
- package/readme.md +68 -0
- package/tests.ts +527 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1660 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Network Connectivity API v1alpha1 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=v1alpha1
|
|
13
|
+
// Revision: 20220809
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Network Connectivity API v1alpha1 */
|
|
19
|
+
function load(urlOrObject: "https://networkconnectivity.googleapis.com/$discovery/rest?version=v1alpha1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "networkconnectivity", version: "v1alpha1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "networkconnectivity", version: "v1alpha1", 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
|
+
/** Time when the Hub was created. */
|
|
124
|
+
createTime?: string;
|
|
125
|
+
/** Short description of the hub resource. */
|
|
126
|
+
description?: string;
|
|
127
|
+
/** User-defined labels. */
|
|
128
|
+
labels?: { [P in string]: string };
|
|
129
|
+
/** Immutable. The name of a Hub resource. */
|
|
130
|
+
name?: string;
|
|
131
|
+
/** Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead. */
|
|
132
|
+
spokes?: string[];
|
|
133
|
+
/** Output only. The current lifecycle state of this Hub. */
|
|
134
|
+
state?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Output only. Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a
|
|
137
|
+
* different unique_id.
|
|
138
|
+
*/
|
|
139
|
+
uniqueId?: string;
|
|
140
|
+
/** Time when the Hub was updated. */
|
|
141
|
+
updateTime?: string;
|
|
142
|
+
}
|
|
143
|
+
interface ListHubsResponse {
|
|
144
|
+
/** Hubs to be returned. */
|
|
145
|
+
hubs?: Hub[];
|
|
146
|
+
/** 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. */
|
|
147
|
+
nextPageToken?: string;
|
|
148
|
+
/** Locations that could not be reached. */
|
|
149
|
+
unreachable?: string[];
|
|
150
|
+
}
|
|
151
|
+
interface ListLocationsResponse {
|
|
152
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
153
|
+
locations?: Location[];
|
|
154
|
+
/** The standard List next-page token. */
|
|
155
|
+
nextPageToken?: string;
|
|
156
|
+
}
|
|
157
|
+
interface ListSpokesResponse {
|
|
158
|
+
/** 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. */
|
|
159
|
+
nextPageToken?: string;
|
|
160
|
+
/** Spokes to be returned. */
|
|
161
|
+
spokes?: Spoke[];
|
|
162
|
+
/** Locations that could not be reached. */
|
|
163
|
+
unreachable?: string[];
|
|
164
|
+
}
|
|
165
|
+
interface Location {
|
|
166
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
167
|
+
displayName?: string;
|
|
168
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
169
|
+
labels?: { [P in string]: string };
|
|
170
|
+
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
171
|
+
locationId?: string;
|
|
172
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
173
|
+
metadata?: { [P in string]: any };
|
|
174
|
+
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
175
|
+
name?: string;
|
|
176
|
+
}
|
|
177
|
+
interface OperationMetadata {
|
|
178
|
+
/** Output only. API version used to start the operation. */
|
|
179
|
+
apiVersion?: string;
|
|
180
|
+
/** Output only. The time the operation was created. */
|
|
181
|
+
createTime?: string;
|
|
182
|
+
/** Output only. The time the operation finished running. */
|
|
183
|
+
endTime?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a
|
|
186
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
187
|
+
*/
|
|
188
|
+
requestedCancellation?: boolean;
|
|
189
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
190
|
+
statusMessage?: string;
|
|
191
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
192
|
+
target?: string;
|
|
193
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
194
|
+
verb?: string;
|
|
195
|
+
}
|
|
196
|
+
interface Policy {
|
|
197
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
198
|
+
auditConfigs?: AuditConfig[];
|
|
199
|
+
/**
|
|
200
|
+
* 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`
|
|
201
|
+
* 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
|
|
202
|
+
* 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
|
|
203
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
204
|
+
*/
|
|
205
|
+
bindings?: Binding[];
|
|
206
|
+
/**
|
|
207
|
+
* `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
|
|
208
|
+
* 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
|
|
209
|
+
* 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
|
|
210
|
+
* 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`
|
|
211
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
212
|
+
*/
|
|
213
|
+
etag?: string;
|
|
214
|
+
/**
|
|
215
|
+
* 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
|
|
216
|
+
* 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
|
|
217
|
+
* 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
|
|
218
|
+
* 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`
|
|
219
|
+
* 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
|
|
220
|
+
* 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).
|
|
221
|
+
*/
|
|
222
|
+
version?: number;
|
|
223
|
+
}
|
|
224
|
+
interface RouterApplianceInstance {
|
|
225
|
+
/** The IP address of the network interface to use for peering. */
|
|
226
|
+
ipAddress?: string;
|
|
227
|
+
networkInterface?: string;
|
|
228
|
+
/** The URI of the virtual machine resource */
|
|
229
|
+
virtualMachine?: string;
|
|
230
|
+
}
|
|
231
|
+
interface SetIamPolicyRequest {
|
|
232
|
+
/**
|
|
233
|
+
* 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
|
|
234
|
+
* services (such as Projects) might reject them.
|
|
235
|
+
*/
|
|
236
|
+
policy?: Policy;
|
|
237
|
+
/**
|
|
238
|
+
* 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:
|
|
239
|
+
* `paths: "bindings, etag"`
|
|
240
|
+
*/
|
|
241
|
+
updateMask?: string;
|
|
242
|
+
}
|
|
243
|
+
interface Spoke {
|
|
244
|
+
/** The time when the Spoke was created. */
|
|
245
|
+
createTime?: string;
|
|
246
|
+
/** Short description of the spoke resource */
|
|
247
|
+
description?: string;
|
|
248
|
+
/** The resource URL of the hub resource that the spoke is attached to */
|
|
249
|
+
hub?: string;
|
|
250
|
+
/** User-defined labels. */
|
|
251
|
+
labels?: { [P in string]: string };
|
|
252
|
+
/** The URIs of linked interconnect attachment resources */
|
|
253
|
+
linkedInterconnectAttachments?: string[];
|
|
254
|
+
/** The URIs of linked Router appliance resources */
|
|
255
|
+
linkedRouterApplianceInstances?: RouterApplianceInstance[];
|
|
256
|
+
/** The URIs of linked VPN tunnel resources */
|
|
257
|
+
linkedVpnTunnels?: string[];
|
|
258
|
+
/** Immutable. The name of a Spoke resource. */
|
|
259
|
+
name?: string;
|
|
260
|
+
/** Output only. The current lifecycle state of this Hub. */
|
|
261
|
+
state?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Output only. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a
|
|
264
|
+
* different unique_id.
|
|
265
|
+
*/
|
|
266
|
+
uniqueId?: string;
|
|
267
|
+
/** The time when the Spoke was updated. */
|
|
268
|
+
updateTime?: string;
|
|
269
|
+
}
|
|
270
|
+
interface TestIamPermissionsRequest {
|
|
271
|
+
/**
|
|
272
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
273
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
274
|
+
*/
|
|
275
|
+
permissions?: string[];
|
|
276
|
+
}
|
|
277
|
+
interface TestIamPermissionsResponse {
|
|
278
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
279
|
+
permissions?: string[];
|
|
280
|
+
}
|
|
281
|
+
interface ConnectionPoliciesResource {
|
|
282
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
283
|
+
getIamPolicy(request?: {
|
|
284
|
+
/** V1 error format. */
|
|
285
|
+
"$.xgafv"?: string;
|
|
286
|
+
/** OAuth access token. */
|
|
287
|
+
access_token?: string;
|
|
288
|
+
/** Data format for response. */
|
|
289
|
+
alt?: string;
|
|
290
|
+
/** JSONP */
|
|
291
|
+
callback?: string;
|
|
292
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
293
|
+
fields?: string;
|
|
294
|
+
/** 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. */
|
|
295
|
+
key?: string;
|
|
296
|
+
/** OAuth 2.0 token for the current user. */
|
|
297
|
+
oauth_token?: string;
|
|
298
|
+
/**
|
|
299
|
+
* 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
|
|
300
|
+
* 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
|
|
301
|
+
* 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
|
|
302
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
303
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
304
|
+
*/
|
|
305
|
+
"options.requestedPolicyVersion"?: number;
|
|
306
|
+
/** Returns response with indentations and line breaks. */
|
|
307
|
+
prettyPrint?: boolean;
|
|
308
|
+
/** 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. */
|
|
309
|
+
quotaUser?: string;
|
|
310
|
+
/**
|
|
311
|
+
* 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
|
|
312
|
+
* field.
|
|
313
|
+
*/
|
|
314
|
+
resource: string;
|
|
315
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
316
|
+
upload_protocol?: string;
|
|
317
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
318
|
+
uploadType?: string;
|
|
319
|
+
}): Request<Policy>;
|
|
320
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
321
|
+
setIamPolicy(request: {
|
|
322
|
+
/** V1 error format. */
|
|
323
|
+
"$.xgafv"?: string;
|
|
324
|
+
/** OAuth access token. */
|
|
325
|
+
access_token?: string;
|
|
326
|
+
/** Data format for response. */
|
|
327
|
+
alt?: string;
|
|
328
|
+
/** JSONP */
|
|
329
|
+
callback?: string;
|
|
330
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
331
|
+
fields?: string;
|
|
332
|
+
/** 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. */
|
|
333
|
+
key?: string;
|
|
334
|
+
/** OAuth 2.0 token for the current user. */
|
|
335
|
+
oauth_token?: string;
|
|
336
|
+
/** Returns response with indentations and line breaks. */
|
|
337
|
+
prettyPrint?: boolean;
|
|
338
|
+
/** 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. */
|
|
339
|
+
quotaUser?: string;
|
|
340
|
+
/**
|
|
341
|
+
* 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
|
|
342
|
+
* field.
|
|
343
|
+
*/
|
|
344
|
+
resource: string;
|
|
345
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
346
|
+
upload_protocol?: string;
|
|
347
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
348
|
+
uploadType?: string;
|
|
349
|
+
},
|
|
350
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
351
|
+
/**
|
|
352
|
+
* 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
|
|
353
|
+
* 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.
|
|
354
|
+
*/
|
|
355
|
+
testIamPermissions(request: {
|
|
356
|
+
/** V1 error format. */
|
|
357
|
+
"$.xgafv"?: string;
|
|
358
|
+
/** OAuth access token. */
|
|
359
|
+
access_token?: string;
|
|
360
|
+
/** Data format for response. */
|
|
361
|
+
alt?: string;
|
|
362
|
+
/** JSONP */
|
|
363
|
+
callback?: string;
|
|
364
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
365
|
+
fields?: string;
|
|
366
|
+
/** 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. */
|
|
367
|
+
key?: string;
|
|
368
|
+
/** OAuth 2.0 token for the current user. */
|
|
369
|
+
oauth_token?: string;
|
|
370
|
+
/** Returns response with indentations and line breaks. */
|
|
371
|
+
prettyPrint?: boolean;
|
|
372
|
+
/** 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. */
|
|
373
|
+
quotaUser?: string;
|
|
374
|
+
/**
|
|
375
|
+
* 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
|
|
376
|
+
* this field.
|
|
377
|
+
*/
|
|
378
|
+
resource: string;
|
|
379
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
380
|
+
upload_protocol?: string;
|
|
381
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
382
|
+
uploadType?: string;
|
|
383
|
+
},
|
|
384
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
385
|
+
}
|
|
386
|
+
interface HubsResource {
|
|
387
|
+
/** Creates a new Network Connectivity Center hub in the specified project. */
|
|
388
|
+
create(request: {
|
|
389
|
+
/** V1 error format. */
|
|
390
|
+
"$.xgafv"?: string;
|
|
391
|
+
/** OAuth access token. */
|
|
392
|
+
access_token?: string;
|
|
393
|
+
/** Data format for response. */
|
|
394
|
+
alt?: string;
|
|
395
|
+
/** JSONP */
|
|
396
|
+
callback?: string;
|
|
397
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
398
|
+
fields?: string;
|
|
399
|
+
/** Optional. Unique id for the Hub to create. */
|
|
400
|
+
hubId?: string;
|
|
401
|
+
/** 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. */
|
|
402
|
+
key?: string;
|
|
403
|
+
/** OAuth 2.0 token for the current user. */
|
|
404
|
+
oauth_token?: string;
|
|
405
|
+
/** Required. The parent resource's name of the Hub. */
|
|
406
|
+
parent: string;
|
|
407
|
+
/** Returns response with indentations and line breaks. */
|
|
408
|
+
prettyPrint?: boolean;
|
|
409
|
+
/** 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. */
|
|
410
|
+
quotaUser?: string;
|
|
411
|
+
/**
|
|
412
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
413
|
+
* already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
|
|
414
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
415
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
416
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
417
|
+
*/
|
|
418
|
+
requestId?: string;
|
|
419
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
420
|
+
upload_protocol?: string;
|
|
421
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
422
|
+
uploadType?: string;
|
|
423
|
+
/** Request body */
|
|
424
|
+
resource: Hub;
|
|
425
|
+
}): Request<GoogleLongrunningOperation>;
|
|
426
|
+
create(request: {
|
|
427
|
+
/** V1 error format. */
|
|
428
|
+
"$.xgafv"?: string;
|
|
429
|
+
/** OAuth access token. */
|
|
430
|
+
access_token?: string;
|
|
431
|
+
/** Data format for response. */
|
|
432
|
+
alt?: string;
|
|
433
|
+
/** JSONP */
|
|
434
|
+
callback?: string;
|
|
435
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
436
|
+
fields?: string;
|
|
437
|
+
/** Optional. Unique id for the Hub to create. */
|
|
438
|
+
hubId?: string;
|
|
439
|
+
/** 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. */
|
|
440
|
+
key?: string;
|
|
441
|
+
/** OAuth 2.0 token for the current user. */
|
|
442
|
+
oauth_token?: string;
|
|
443
|
+
/** Required. The parent resource's name of the Hub. */
|
|
444
|
+
parent: string;
|
|
445
|
+
/** Returns response with indentations and line breaks. */
|
|
446
|
+
prettyPrint?: boolean;
|
|
447
|
+
/** 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. */
|
|
448
|
+
quotaUser?: string;
|
|
449
|
+
/**
|
|
450
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
451
|
+
* already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
|
|
452
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
453
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
454
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
455
|
+
*/
|
|
456
|
+
requestId?: string;
|
|
457
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
458
|
+
upload_protocol?: string;
|
|
459
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
460
|
+
uploadType?: string;
|
|
461
|
+
},
|
|
462
|
+
body: Hub): Request<GoogleLongrunningOperation>;
|
|
463
|
+
/** Deletes a Network Connectivity Center hub. */
|
|
464
|
+
delete(request?: {
|
|
465
|
+
/** V1 error format. */
|
|
466
|
+
"$.xgafv"?: string;
|
|
467
|
+
/** OAuth access token. */
|
|
468
|
+
access_token?: string;
|
|
469
|
+
/** Data format for response. */
|
|
470
|
+
alt?: string;
|
|
471
|
+
/** JSONP */
|
|
472
|
+
callback?: string;
|
|
473
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
474
|
+
fields?: string;
|
|
475
|
+
/** 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. */
|
|
476
|
+
key?: string;
|
|
477
|
+
/** Required. The name of the Hub to delete. */
|
|
478
|
+
name: string;
|
|
479
|
+
/** OAuth 2.0 token for the current user. */
|
|
480
|
+
oauth_token?: string;
|
|
481
|
+
/** Returns response with indentations and line breaks. */
|
|
482
|
+
prettyPrint?: boolean;
|
|
483
|
+
/** 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. */
|
|
484
|
+
quotaUser?: string;
|
|
485
|
+
/**
|
|
486
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
487
|
+
* already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t
|
|
488
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
489
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
490
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
491
|
+
*/
|
|
492
|
+
requestId?: string;
|
|
493
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
494
|
+
upload_protocol?: string;
|
|
495
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
496
|
+
uploadType?: string;
|
|
497
|
+
}): Request<GoogleLongrunningOperation>;
|
|
498
|
+
/** Gets details about a Network Connectivity Center hub. */
|
|
499
|
+
get(request?: {
|
|
500
|
+
/** V1 error format. */
|
|
501
|
+
"$.xgafv"?: string;
|
|
502
|
+
/** OAuth access token. */
|
|
503
|
+
access_token?: string;
|
|
504
|
+
/** Data format for response. */
|
|
505
|
+
alt?: 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
|
+
/** Required. Name of the Hub resource to get. */
|
|
513
|
+
name: string;
|
|
514
|
+
/** OAuth 2.0 token for the current user. */
|
|
515
|
+
oauth_token?: string;
|
|
516
|
+
/** Returns response with indentations and line breaks. */
|
|
517
|
+
prettyPrint?: boolean;
|
|
518
|
+
/** 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. */
|
|
519
|
+
quotaUser?: string;
|
|
520
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
521
|
+
upload_protocol?: string;
|
|
522
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
523
|
+
uploadType?: string;
|
|
524
|
+
}): Request<Hub>;
|
|
525
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
526
|
+
getIamPolicy(request?: {
|
|
527
|
+
/** V1 error format. */
|
|
528
|
+
"$.xgafv"?: string;
|
|
529
|
+
/** OAuth access token. */
|
|
530
|
+
access_token?: string;
|
|
531
|
+
/** Data format for response. */
|
|
532
|
+
alt?: string;
|
|
533
|
+
/** JSONP */
|
|
534
|
+
callback?: string;
|
|
535
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
536
|
+
fields?: string;
|
|
537
|
+
/** 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. */
|
|
538
|
+
key?: string;
|
|
539
|
+
/** OAuth 2.0 token for the current user. */
|
|
540
|
+
oauth_token?: string;
|
|
541
|
+
/**
|
|
542
|
+
* 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
|
|
543
|
+
* 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
|
|
544
|
+
* 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
|
|
545
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
546
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
547
|
+
*/
|
|
548
|
+
"options.requestedPolicyVersion"?: number;
|
|
549
|
+
/** Returns response with indentations and line breaks. */
|
|
550
|
+
prettyPrint?: boolean;
|
|
551
|
+
/** 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. */
|
|
552
|
+
quotaUser?: string;
|
|
553
|
+
/**
|
|
554
|
+
* 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
|
|
555
|
+
* field.
|
|
556
|
+
*/
|
|
557
|
+
resource: string;
|
|
558
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
559
|
+
upload_protocol?: string;
|
|
560
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
561
|
+
uploadType?: string;
|
|
562
|
+
}): Request<Policy>;
|
|
563
|
+
/** Lists the Network Connectivity Center hubs associated with a given project. */
|
|
564
|
+
list(request?: {
|
|
565
|
+
/** V1 error format. */
|
|
566
|
+
"$.xgafv"?: string;
|
|
567
|
+
/** OAuth access token. */
|
|
568
|
+
access_token?: string;
|
|
569
|
+
/** Data format for response. */
|
|
570
|
+
alt?: string;
|
|
571
|
+
/** JSONP */
|
|
572
|
+
callback?: string;
|
|
573
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
574
|
+
fields?: string;
|
|
575
|
+
/** A filter expression that filters the results listed in the response. */
|
|
576
|
+
filter?: string;
|
|
577
|
+
/** 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. */
|
|
578
|
+
key?: string;
|
|
579
|
+
/** OAuth 2.0 token for the current user. */
|
|
580
|
+
oauth_token?: string;
|
|
581
|
+
/** Sort the results by a certain order. */
|
|
582
|
+
orderBy?: string;
|
|
583
|
+
/** The maximum number of results per page that should be returned. */
|
|
584
|
+
pageSize?: number;
|
|
585
|
+
/** The page token. */
|
|
586
|
+
pageToken?: string;
|
|
587
|
+
/** Required. The parent resource's name. */
|
|
588
|
+
parent: string;
|
|
589
|
+
/** Returns response with indentations and line breaks. */
|
|
590
|
+
prettyPrint?: boolean;
|
|
591
|
+
/** 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. */
|
|
592
|
+
quotaUser?: string;
|
|
593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
594
|
+
upload_protocol?: string;
|
|
595
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
596
|
+
uploadType?: string;
|
|
597
|
+
}): Request<ListHubsResponse>;
|
|
598
|
+
/** Updates the description and/or labels of a Network Connectivity Center hub. */
|
|
599
|
+
patch(request: {
|
|
600
|
+
/** V1 error format. */
|
|
601
|
+
"$.xgafv"?: string;
|
|
602
|
+
/** OAuth access token. */
|
|
603
|
+
access_token?: string;
|
|
604
|
+
/** Data format for response. */
|
|
605
|
+
alt?: string;
|
|
606
|
+
/** JSONP */
|
|
607
|
+
callback?: string;
|
|
608
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
609
|
+
fields?: string;
|
|
610
|
+
/** 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. */
|
|
611
|
+
key?: string;
|
|
612
|
+
/** Immutable. The name of a Hub resource. */
|
|
613
|
+
name: string;
|
|
614
|
+
/** OAuth 2.0 token for the current user. */
|
|
615
|
+
oauth_token?: string;
|
|
616
|
+
/** Returns response with indentations and line breaks. */
|
|
617
|
+
prettyPrint?: boolean;
|
|
618
|
+
/** 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. */
|
|
619
|
+
quotaUser?: string;
|
|
620
|
+
/**
|
|
621
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
622
|
+
* already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
|
|
623
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
624
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
625
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
626
|
+
*/
|
|
627
|
+
requestId?: string;
|
|
628
|
+
/**
|
|
629
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the Hub resource by the update. The fields specified in the update_mask are relative to the resource, not
|
|
630
|
+
* the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
631
|
+
*/
|
|
632
|
+
updateMask?: string;
|
|
633
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
634
|
+
upload_protocol?: string;
|
|
635
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
636
|
+
uploadType?: string;
|
|
637
|
+
/** Request body */
|
|
638
|
+
resource: Hub;
|
|
639
|
+
}): Request<GoogleLongrunningOperation>;
|
|
640
|
+
patch(request: {
|
|
641
|
+
/** V1 error format. */
|
|
642
|
+
"$.xgafv"?: string;
|
|
643
|
+
/** OAuth access token. */
|
|
644
|
+
access_token?: string;
|
|
645
|
+
/** Data format for response. */
|
|
646
|
+
alt?: string;
|
|
647
|
+
/** JSONP */
|
|
648
|
+
callback?: string;
|
|
649
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
650
|
+
fields?: string;
|
|
651
|
+
/** 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. */
|
|
652
|
+
key?: string;
|
|
653
|
+
/** Immutable. The name of a Hub resource. */
|
|
654
|
+
name: string;
|
|
655
|
+
/** OAuth 2.0 token for the current user. */
|
|
656
|
+
oauth_token?: string;
|
|
657
|
+
/** Returns response with indentations and line breaks. */
|
|
658
|
+
prettyPrint?: boolean;
|
|
659
|
+
/** 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. */
|
|
660
|
+
quotaUser?: string;
|
|
661
|
+
/**
|
|
662
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
663
|
+
* already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
|
|
664
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
665
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
666
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
667
|
+
*/
|
|
668
|
+
requestId?: string;
|
|
669
|
+
/**
|
|
670
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the Hub resource by the update. The fields specified in the update_mask are relative to the resource, not
|
|
671
|
+
* the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
672
|
+
*/
|
|
673
|
+
updateMask?: string;
|
|
674
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
675
|
+
upload_protocol?: string;
|
|
676
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
677
|
+
uploadType?: string;
|
|
678
|
+
},
|
|
679
|
+
body: Hub): Request<GoogleLongrunningOperation>;
|
|
680
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
681
|
+
setIamPolicy(request: {
|
|
682
|
+
/** V1 error format. */
|
|
683
|
+
"$.xgafv"?: string;
|
|
684
|
+
/** OAuth access token. */
|
|
685
|
+
access_token?: string;
|
|
686
|
+
/** Data format for response. */
|
|
687
|
+
alt?: string;
|
|
688
|
+
/** JSONP */
|
|
689
|
+
callback?: string;
|
|
690
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
691
|
+
fields?: string;
|
|
692
|
+
/** 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. */
|
|
693
|
+
key?: string;
|
|
694
|
+
/** OAuth 2.0 token for the current user. */
|
|
695
|
+
oauth_token?: string;
|
|
696
|
+
/** Returns response with indentations and line breaks. */
|
|
697
|
+
prettyPrint?: boolean;
|
|
698
|
+
/** 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. */
|
|
699
|
+
quotaUser?: string;
|
|
700
|
+
/**
|
|
701
|
+
* 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
|
|
702
|
+
* field.
|
|
703
|
+
*/
|
|
704
|
+
resource: string;
|
|
705
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
706
|
+
upload_protocol?: string;
|
|
707
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
708
|
+
uploadType?: string;
|
|
709
|
+
},
|
|
710
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
711
|
+
/**
|
|
712
|
+
* 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
|
|
713
|
+
* 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.
|
|
714
|
+
*/
|
|
715
|
+
testIamPermissions(request: {
|
|
716
|
+
/** V1 error format. */
|
|
717
|
+
"$.xgafv"?: string;
|
|
718
|
+
/** OAuth access token. */
|
|
719
|
+
access_token?: string;
|
|
720
|
+
/** Data format for response. */
|
|
721
|
+
alt?: string;
|
|
722
|
+
/** JSONP */
|
|
723
|
+
callback?: string;
|
|
724
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
725
|
+
fields?: string;
|
|
726
|
+
/** 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. */
|
|
727
|
+
key?: string;
|
|
728
|
+
/** OAuth 2.0 token for the current user. */
|
|
729
|
+
oauth_token?: string;
|
|
730
|
+
/** Returns response with indentations and line breaks. */
|
|
731
|
+
prettyPrint?: boolean;
|
|
732
|
+
/** 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. */
|
|
733
|
+
quotaUser?: string;
|
|
734
|
+
/**
|
|
735
|
+
* 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
|
|
736
|
+
* this field.
|
|
737
|
+
*/
|
|
738
|
+
resource: string;
|
|
739
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
740
|
+
upload_protocol?: string;
|
|
741
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
742
|
+
uploadType?: string;
|
|
743
|
+
},
|
|
744
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
745
|
+
}
|
|
746
|
+
interface GlobalResource {
|
|
747
|
+
hubs: HubsResource;
|
|
748
|
+
}
|
|
749
|
+
interface InternalRangesResource {
|
|
750
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
751
|
+
getIamPolicy(request?: {
|
|
752
|
+
/** V1 error format. */
|
|
753
|
+
"$.xgafv"?: string;
|
|
754
|
+
/** OAuth access token. */
|
|
755
|
+
access_token?: string;
|
|
756
|
+
/** Data format for response. */
|
|
757
|
+
alt?: string;
|
|
758
|
+
/** JSONP */
|
|
759
|
+
callback?: string;
|
|
760
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
761
|
+
fields?: string;
|
|
762
|
+
/** 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. */
|
|
763
|
+
key?: string;
|
|
764
|
+
/** OAuth 2.0 token for the current user. */
|
|
765
|
+
oauth_token?: string;
|
|
766
|
+
/**
|
|
767
|
+
* 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
|
|
768
|
+
* 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
|
|
769
|
+
* 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
|
|
770
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
771
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
772
|
+
*/
|
|
773
|
+
"options.requestedPolicyVersion"?: number;
|
|
774
|
+
/** Returns response with indentations and line breaks. */
|
|
775
|
+
prettyPrint?: boolean;
|
|
776
|
+
/** 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. */
|
|
777
|
+
quotaUser?: string;
|
|
778
|
+
/**
|
|
779
|
+
* 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
|
|
780
|
+
* field.
|
|
781
|
+
*/
|
|
782
|
+
resource: string;
|
|
783
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
784
|
+
upload_protocol?: string;
|
|
785
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
786
|
+
uploadType?: string;
|
|
787
|
+
}): Request<Policy>;
|
|
788
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
789
|
+
setIamPolicy(request: {
|
|
790
|
+
/** V1 error format. */
|
|
791
|
+
"$.xgafv"?: string;
|
|
792
|
+
/** OAuth access token. */
|
|
793
|
+
access_token?: string;
|
|
794
|
+
/** Data format for response. */
|
|
795
|
+
alt?: string;
|
|
796
|
+
/** JSONP */
|
|
797
|
+
callback?: string;
|
|
798
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
799
|
+
fields?: string;
|
|
800
|
+
/** 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. */
|
|
801
|
+
key?: string;
|
|
802
|
+
/** OAuth 2.0 token for the current user. */
|
|
803
|
+
oauth_token?: string;
|
|
804
|
+
/** Returns response with indentations and line breaks. */
|
|
805
|
+
prettyPrint?: boolean;
|
|
806
|
+
/** 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. */
|
|
807
|
+
quotaUser?: string;
|
|
808
|
+
/**
|
|
809
|
+
* 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
|
|
810
|
+
* field.
|
|
811
|
+
*/
|
|
812
|
+
resource: string;
|
|
813
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
814
|
+
upload_protocol?: string;
|
|
815
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
816
|
+
uploadType?: string;
|
|
817
|
+
},
|
|
818
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
819
|
+
/**
|
|
820
|
+
* 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
|
|
821
|
+
* 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.
|
|
822
|
+
*/
|
|
823
|
+
testIamPermissions(request: {
|
|
824
|
+
/** V1 error format. */
|
|
825
|
+
"$.xgafv"?: string;
|
|
826
|
+
/** OAuth access token. */
|
|
827
|
+
access_token?: string;
|
|
828
|
+
/** Data format for response. */
|
|
829
|
+
alt?: string;
|
|
830
|
+
/** JSONP */
|
|
831
|
+
callback?: string;
|
|
832
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
833
|
+
fields?: string;
|
|
834
|
+
/** 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. */
|
|
835
|
+
key?: string;
|
|
836
|
+
/** OAuth 2.0 token for the current user. */
|
|
837
|
+
oauth_token?: string;
|
|
838
|
+
/** Returns response with indentations and line breaks. */
|
|
839
|
+
prettyPrint?: boolean;
|
|
840
|
+
/** 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. */
|
|
841
|
+
quotaUser?: string;
|
|
842
|
+
/**
|
|
843
|
+
* 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
|
|
844
|
+
* this field.
|
|
845
|
+
*/
|
|
846
|
+
resource: string;
|
|
847
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
848
|
+
upload_protocol?: string;
|
|
849
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
850
|
+
uploadType?: string;
|
|
851
|
+
},
|
|
852
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
853
|
+
}
|
|
854
|
+
interface OperationsResource {
|
|
855
|
+
/**
|
|
856
|
+
* 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
|
|
857
|
+
* 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
|
|
858
|
+
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
859
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
860
|
+
*/
|
|
861
|
+
cancel(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 cancelled. */
|
|
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 body */
|
|
887
|
+
resource: GoogleLongrunningCancelOperationRequest;
|
|
888
|
+
}): Request<{}>;
|
|
889
|
+
cancel(request: {
|
|
890
|
+
/** V1 error format. */
|
|
891
|
+
"$.xgafv"?: string;
|
|
892
|
+
/** OAuth access token. */
|
|
893
|
+
access_token?: string;
|
|
894
|
+
/** Data format for response. */
|
|
895
|
+
alt?: string;
|
|
896
|
+
/** JSONP */
|
|
897
|
+
callback?: string;
|
|
898
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
899
|
+
fields?: string;
|
|
900
|
+
/** 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. */
|
|
901
|
+
key?: string;
|
|
902
|
+
/** The name of the operation resource to be cancelled. */
|
|
903
|
+
name: string;
|
|
904
|
+
/** OAuth 2.0 token for the current user. */
|
|
905
|
+
oauth_token?: string;
|
|
906
|
+
/** Returns response with indentations and line breaks. */
|
|
907
|
+
prettyPrint?: boolean;
|
|
908
|
+
/** 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. */
|
|
909
|
+
quotaUser?: string;
|
|
910
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
911
|
+
upload_protocol?: string;
|
|
912
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
913
|
+
uploadType?: string;
|
|
914
|
+
},
|
|
915
|
+
body: GoogleLongrunningCancelOperationRequest): Request<{}>;
|
|
916
|
+
/**
|
|
917
|
+
* 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
|
|
918
|
+
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
919
|
+
*/
|
|
920
|
+
delete(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
|
+
/** 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. */
|
|
932
|
+
key?: string;
|
|
933
|
+
/** The name of the operation resource to be deleted. */
|
|
934
|
+
name: string;
|
|
935
|
+
/** OAuth 2.0 token for the current user. */
|
|
936
|
+
oauth_token?: string;
|
|
937
|
+
/** Returns response with indentations and line breaks. */
|
|
938
|
+
prettyPrint?: boolean;
|
|
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<{}>;
|
|
946
|
+
/** 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. */
|
|
947
|
+
get(request?: {
|
|
948
|
+
/** V1 error format. */
|
|
949
|
+
"$.xgafv"?: string;
|
|
950
|
+
/** OAuth access token. */
|
|
951
|
+
access_token?: string;
|
|
952
|
+
/** Data format for response. */
|
|
953
|
+
alt?: string;
|
|
954
|
+
/** JSONP */
|
|
955
|
+
callback?: string;
|
|
956
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
957
|
+
fields?: string;
|
|
958
|
+
/** 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. */
|
|
959
|
+
key?: string;
|
|
960
|
+
/** The name of the operation resource. */
|
|
961
|
+
name: string;
|
|
962
|
+
/** OAuth 2.0 token for the current user. */
|
|
963
|
+
oauth_token?: string;
|
|
964
|
+
/** Returns response with indentations and line breaks. */
|
|
965
|
+
prettyPrint?: boolean;
|
|
966
|
+
/** 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. */
|
|
967
|
+
quotaUser?: string;
|
|
968
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
969
|
+
upload_protocol?: string;
|
|
970
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
971
|
+
uploadType?: string;
|
|
972
|
+
}): Request<GoogleLongrunningOperation>;
|
|
973
|
+
/**
|
|
974
|
+
* 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
|
|
975
|
+
* 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
|
|
976
|
+
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
977
|
+
* ensure the name binding is the parent resource, without the operations collection id.
|
|
978
|
+
*/
|
|
979
|
+
list(request?: {
|
|
980
|
+
/** V1 error format. */
|
|
981
|
+
"$.xgafv"?: string;
|
|
982
|
+
/** OAuth access token. */
|
|
983
|
+
access_token?: string;
|
|
984
|
+
/** Data format for response. */
|
|
985
|
+
alt?: string;
|
|
986
|
+
/** JSONP */
|
|
987
|
+
callback?: string;
|
|
988
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
989
|
+
fields?: string;
|
|
990
|
+
/** The standard list filter. */
|
|
991
|
+
filter?: string;
|
|
992
|
+
/** 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. */
|
|
993
|
+
key?: string;
|
|
994
|
+
/** The name of the operation's parent resource. */
|
|
995
|
+
name: string;
|
|
996
|
+
/** OAuth 2.0 token for the current user. */
|
|
997
|
+
oauth_token?: string;
|
|
998
|
+
/** The standard list page size. */
|
|
999
|
+
pageSize?: number;
|
|
1000
|
+
/** The standard list page token. */
|
|
1001
|
+
pageToken?: string;
|
|
1002
|
+
/** Returns response with indentations and line breaks. */
|
|
1003
|
+
prettyPrint?: boolean;
|
|
1004
|
+
/** 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. */
|
|
1005
|
+
quotaUser?: string;
|
|
1006
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1007
|
+
upload_protocol?: string;
|
|
1008
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1009
|
+
uploadType?: string;
|
|
1010
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1011
|
+
}
|
|
1012
|
+
interface ServiceIdentifiersResource {
|
|
1013
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1014
|
+
getIamPolicy(request?: {
|
|
1015
|
+
/** V1 error format. */
|
|
1016
|
+
"$.xgafv"?: string;
|
|
1017
|
+
/** OAuth access token. */
|
|
1018
|
+
access_token?: string;
|
|
1019
|
+
/** Data format for response. */
|
|
1020
|
+
alt?: string;
|
|
1021
|
+
/** JSONP */
|
|
1022
|
+
callback?: string;
|
|
1023
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1024
|
+
fields?: string;
|
|
1025
|
+
/** 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. */
|
|
1026
|
+
key?: string;
|
|
1027
|
+
/** OAuth 2.0 token for the current user. */
|
|
1028
|
+
oauth_token?: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* 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
|
|
1031
|
+
* 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
|
|
1032
|
+
* 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
|
|
1033
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1034
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1035
|
+
*/
|
|
1036
|
+
"options.requestedPolicyVersion"?: number;
|
|
1037
|
+
/** Returns response with indentations and line breaks. */
|
|
1038
|
+
prettyPrint?: boolean;
|
|
1039
|
+
/** 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. */
|
|
1040
|
+
quotaUser?: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* 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
|
|
1043
|
+
* field.
|
|
1044
|
+
*/
|
|
1045
|
+
resource: string;
|
|
1046
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1047
|
+
upload_protocol?: string;
|
|
1048
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1049
|
+
uploadType?: string;
|
|
1050
|
+
}): Request<Policy>;
|
|
1051
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1052
|
+
setIamPolicy(request: {
|
|
1053
|
+
/** V1 error format. */
|
|
1054
|
+
"$.xgafv"?: string;
|
|
1055
|
+
/** OAuth access token. */
|
|
1056
|
+
access_token?: string;
|
|
1057
|
+
/** Data format for response. */
|
|
1058
|
+
alt?: string;
|
|
1059
|
+
/** JSONP */
|
|
1060
|
+
callback?: string;
|
|
1061
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1062
|
+
fields?: string;
|
|
1063
|
+
/** 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. */
|
|
1064
|
+
key?: string;
|
|
1065
|
+
/** OAuth 2.0 token for the current user. */
|
|
1066
|
+
oauth_token?: string;
|
|
1067
|
+
/** Returns response with indentations and line breaks. */
|
|
1068
|
+
prettyPrint?: boolean;
|
|
1069
|
+
/** 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. */
|
|
1070
|
+
quotaUser?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* 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
|
|
1073
|
+
* field.
|
|
1074
|
+
*/
|
|
1075
|
+
resource: string;
|
|
1076
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1077
|
+
upload_protocol?: string;
|
|
1078
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1079
|
+
uploadType?: string;
|
|
1080
|
+
},
|
|
1081
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1082
|
+
/**
|
|
1083
|
+
* 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
|
|
1084
|
+
* 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.
|
|
1085
|
+
*/
|
|
1086
|
+
testIamPermissions(request: {
|
|
1087
|
+
/** V1 error format. */
|
|
1088
|
+
"$.xgafv"?: string;
|
|
1089
|
+
/** OAuth access token. */
|
|
1090
|
+
access_token?: string;
|
|
1091
|
+
/** Data format for response. */
|
|
1092
|
+
alt?: string;
|
|
1093
|
+
/** JSONP */
|
|
1094
|
+
callback?: string;
|
|
1095
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1096
|
+
fields?: string;
|
|
1097
|
+
/** 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. */
|
|
1098
|
+
key?: string;
|
|
1099
|
+
/** OAuth 2.0 token for the current user. */
|
|
1100
|
+
oauth_token?: string;
|
|
1101
|
+
/** Returns response with indentations and line breaks. */
|
|
1102
|
+
prettyPrint?: boolean;
|
|
1103
|
+
/** 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. */
|
|
1104
|
+
quotaUser?: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* 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
|
|
1107
|
+
* this field.
|
|
1108
|
+
*/
|
|
1109
|
+
resource: string;
|
|
1110
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1111
|
+
upload_protocol?: string;
|
|
1112
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1113
|
+
uploadType?: string;
|
|
1114
|
+
},
|
|
1115
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1116
|
+
}
|
|
1117
|
+
interface ServiceInstancesResource {
|
|
1118
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1119
|
+
getIamPolicy(request?: {
|
|
1120
|
+
/** V1 error format. */
|
|
1121
|
+
"$.xgafv"?: string;
|
|
1122
|
+
/** OAuth access token. */
|
|
1123
|
+
access_token?: string;
|
|
1124
|
+
/** Data format for response. */
|
|
1125
|
+
alt?: string;
|
|
1126
|
+
/** JSONP */
|
|
1127
|
+
callback?: string;
|
|
1128
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1129
|
+
fields?: string;
|
|
1130
|
+
/** 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. */
|
|
1131
|
+
key?: string;
|
|
1132
|
+
/** OAuth 2.0 token for the current user. */
|
|
1133
|
+
oauth_token?: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* 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
|
|
1136
|
+
* 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
|
|
1137
|
+
* 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
|
|
1138
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1139
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1140
|
+
*/
|
|
1141
|
+
"options.requestedPolicyVersion"?: number;
|
|
1142
|
+
/** Returns response with indentations and line breaks. */
|
|
1143
|
+
prettyPrint?: boolean;
|
|
1144
|
+
/** 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. */
|
|
1145
|
+
quotaUser?: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* 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
|
|
1148
|
+
* field.
|
|
1149
|
+
*/
|
|
1150
|
+
resource: string;
|
|
1151
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1152
|
+
upload_protocol?: string;
|
|
1153
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1154
|
+
uploadType?: string;
|
|
1155
|
+
}): Request<Policy>;
|
|
1156
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1157
|
+
setIamPolicy(request: {
|
|
1158
|
+
/** V1 error format. */
|
|
1159
|
+
"$.xgafv"?: string;
|
|
1160
|
+
/** OAuth access token. */
|
|
1161
|
+
access_token?: string;
|
|
1162
|
+
/** Data format for response. */
|
|
1163
|
+
alt?: string;
|
|
1164
|
+
/** JSONP */
|
|
1165
|
+
callback?: string;
|
|
1166
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1167
|
+
fields?: string;
|
|
1168
|
+
/** 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. */
|
|
1169
|
+
key?: string;
|
|
1170
|
+
/** OAuth 2.0 token for the current user. */
|
|
1171
|
+
oauth_token?: string;
|
|
1172
|
+
/** Returns response with indentations and line breaks. */
|
|
1173
|
+
prettyPrint?: boolean;
|
|
1174
|
+
/** 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. */
|
|
1175
|
+
quotaUser?: string;
|
|
1176
|
+
/**
|
|
1177
|
+
* 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
|
|
1178
|
+
* field.
|
|
1179
|
+
*/
|
|
1180
|
+
resource: string;
|
|
1181
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1182
|
+
upload_protocol?: string;
|
|
1183
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1184
|
+
uploadType?: string;
|
|
1185
|
+
},
|
|
1186
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1187
|
+
/**
|
|
1188
|
+
* 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
|
|
1189
|
+
* 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.
|
|
1190
|
+
*/
|
|
1191
|
+
testIamPermissions(request: {
|
|
1192
|
+
/** V1 error format. */
|
|
1193
|
+
"$.xgafv"?: string;
|
|
1194
|
+
/** OAuth access token. */
|
|
1195
|
+
access_token?: string;
|
|
1196
|
+
/** Data format for response. */
|
|
1197
|
+
alt?: string;
|
|
1198
|
+
/** JSONP */
|
|
1199
|
+
callback?: string;
|
|
1200
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1201
|
+
fields?: string;
|
|
1202
|
+
/** 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. */
|
|
1203
|
+
key?: string;
|
|
1204
|
+
/** OAuth 2.0 token for the current user. */
|
|
1205
|
+
oauth_token?: string;
|
|
1206
|
+
/** Returns response with indentations and line breaks. */
|
|
1207
|
+
prettyPrint?: boolean;
|
|
1208
|
+
/** 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. */
|
|
1209
|
+
quotaUser?: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* 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
|
|
1212
|
+
* this field.
|
|
1213
|
+
*/
|
|
1214
|
+
resource: string;
|
|
1215
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1216
|
+
upload_protocol?: string;
|
|
1217
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1218
|
+
uploadType?: string;
|
|
1219
|
+
},
|
|
1220
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1221
|
+
}
|
|
1222
|
+
interface SpokesResource {
|
|
1223
|
+
/** Creates a Network Connectivity Center spoke. */
|
|
1224
|
+
create(request: {
|
|
1225
|
+
/** V1 error format. */
|
|
1226
|
+
"$.xgafv"?: string;
|
|
1227
|
+
/** OAuth access token. */
|
|
1228
|
+
access_token?: string;
|
|
1229
|
+
/** Data format for response. */
|
|
1230
|
+
alt?: string;
|
|
1231
|
+
/** JSONP */
|
|
1232
|
+
callback?: string;
|
|
1233
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1234
|
+
fields?: string;
|
|
1235
|
+
/** 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. */
|
|
1236
|
+
key?: string;
|
|
1237
|
+
/** OAuth 2.0 token for the current user. */
|
|
1238
|
+
oauth_token?: string;
|
|
1239
|
+
/** Required. The parent's resource name of the Spoke. */
|
|
1240
|
+
parent: string;
|
|
1241
|
+
/** Returns response with indentations and line breaks. */
|
|
1242
|
+
prettyPrint?: boolean;
|
|
1243
|
+
/** 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. */
|
|
1244
|
+
quotaUser?: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
1247
|
+
* already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
|
|
1248
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
1249
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
1250
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
1251
|
+
*/
|
|
1252
|
+
requestId?: string;
|
|
1253
|
+
/** Optional. Unique id for the Spoke to create. */
|
|
1254
|
+
spokeId?: string;
|
|
1255
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1256
|
+
upload_protocol?: string;
|
|
1257
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1258
|
+
uploadType?: string;
|
|
1259
|
+
/** Request body */
|
|
1260
|
+
resource: Spoke;
|
|
1261
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1262
|
+
create(request: {
|
|
1263
|
+
/** V1 error format. */
|
|
1264
|
+
"$.xgafv"?: string;
|
|
1265
|
+
/** OAuth access token. */
|
|
1266
|
+
access_token?: string;
|
|
1267
|
+
/** Data format for response. */
|
|
1268
|
+
alt?: string;
|
|
1269
|
+
/** JSONP */
|
|
1270
|
+
callback?: string;
|
|
1271
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1272
|
+
fields?: string;
|
|
1273
|
+
/** 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. */
|
|
1274
|
+
key?: string;
|
|
1275
|
+
/** OAuth 2.0 token for the current user. */
|
|
1276
|
+
oauth_token?: string;
|
|
1277
|
+
/** Required. The parent's resource name of the Spoke. */
|
|
1278
|
+
parent: string;
|
|
1279
|
+
/** Returns response with indentations and line breaks. */
|
|
1280
|
+
prettyPrint?: boolean;
|
|
1281
|
+
/** 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. */
|
|
1282
|
+
quotaUser?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
1285
|
+
* already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
|
|
1286
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
1287
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
1288
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
1289
|
+
*/
|
|
1290
|
+
requestId?: string;
|
|
1291
|
+
/** Optional. Unique id for the Spoke to create. */
|
|
1292
|
+
spokeId?: string;
|
|
1293
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1294
|
+
upload_protocol?: string;
|
|
1295
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1296
|
+
uploadType?: string;
|
|
1297
|
+
},
|
|
1298
|
+
body: Spoke): Request<GoogleLongrunningOperation>;
|
|
1299
|
+
/** Deletes a Network Connectivity Center spoke. */
|
|
1300
|
+
delete(request?: {
|
|
1301
|
+
/** V1 error format. */
|
|
1302
|
+
"$.xgafv"?: string;
|
|
1303
|
+
/** OAuth access token. */
|
|
1304
|
+
access_token?: string;
|
|
1305
|
+
/** Data format for response. */
|
|
1306
|
+
alt?: string;
|
|
1307
|
+
/** JSONP */
|
|
1308
|
+
callback?: string;
|
|
1309
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1310
|
+
fields?: string;
|
|
1311
|
+
/** 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. */
|
|
1312
|
+
key?: string;
|
|
1313
|
+
/** Required. The name of the Spoke to delete. */
|
|
1314
|
+
name: string;
|
|
1315
|
+
/** OAuth 2.0 token for the current user. */
|
|
1316
|
+
oauth_token?: string;
|
|
1317
|
+
/** Returns response with indentations and line breaks. */
|
|
1318
|
+
prettyPrint?: boolean;
|
|
1319
|
+
/** 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. */
|
|
1320
|
+
quotaUser?: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
1323
|
+
* already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t
|
|
1324
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
1325
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
1326
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
1327
|
+
*/
|
|
1328
|
+
requestId?: string;
|
|
1329
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1330
|
+
upload_protocol?: string;
|
|
1331
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1332
|
+
uploadType?: string;
|
|
1333
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1334
|
+
/** Gets details about a Network Connectivity Center spoke. */
|
|
1335
|
+
get(request?: {
|
|
1336
|
+
/** V1 error format. */
|
|
1337
|
+
"$.xgafv"?: string;
|
|
1338
|
+
/** OAuth access token. */
|
|
1339
|
+
access_token?: string;
|
|
1340
|
+
/** Data format for response. */
|
|
1341
|
+
alt?: string;
|
|
1342
|
+
/** JSONP */
|
|
1343
|
+
callback?: string;
|
|
1344
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1345
|
+
fields?: string;
|
|
1346
|
+
/** 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. */
|
|
1347
|
+
key?: string;
|
|
1348
|
+
/** Required. The name of Spoke resource. */
|
|
1349
|
+
name: string;
|
|
1350
|
+
/** OAuth 2.0 token for the current user. */
|
|
1351
|
+
oauth_token?: string;
|
|
1352
|
+
/** Returns response with indentations and line breaks. */
|
|
1353
|
+
prettyPrint?: boolean;
|
|
1354
|
+
/** 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. */
|
|
1355
|
+
quotaUser?: string;
|
|
1356
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1357
|
+
upload_protocol?: string;
|
|
1358
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1359
|
+
uploadType?: string;
|
|
1360
|
+
}): Request<Spoke>;
|
|
1361
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1362
|
+
getIamPolicy(request?: {
|
|
1363
|
+
/** V1 error format. */
|
|
1364
|
+
"$.xgafv"?: string;
|
|
1365
|
+
/** OAuth access token. */
|
|
1366
|
+
access_token?: string;
|
|
1367
|
+
/** Data format for response. */
|
|
1368
|
+
alt?: string;
|
|
1369
|
+
/** JSONP */
|
|
1370
|
+
callback?: string;
|
|
1371
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1372
|
+
fields?: string;
|
|
1373
|
+
/** 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. */
|
|
1374
|
+
key?: string;
|
|
1375
|
+
/** OAuth 2.0 token for the current user. */
|
|
1376
|
+
oauth_token?: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* 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
|
|
1379
|
+
* 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
|
|
1380
|
+
* 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
|
|
1381
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1382
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1383
|
+
*/
|
|
1384
|
+
"options.requestedPolicyVersion"?: number;
|
|
1385
|
+
/** Returns response with indentations and line breaks. */
|
|
1386
|
+
prettyPrint?: boolean;
|
|
1387
|
+
/** 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. */
|
|
1388
|
+
quotaUser?: string;
|
|
1389
|
+
/**
|
|
1390
|
+
* 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
|
|
1391
|
+
* field.
|
|
1392
|
+
*/
|
|
1393
|
+
resource: string;
|
|
1394
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1395
|
+
upload_protocol?: string;
|
|
1396
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1397
|
+
uploadType?: string;
|
|
1398
|
+
}): Request<Policy>;
|
|
1399
|
+
/** Lists the Network Connectivity Center spokes in a specified project and location. */
|
|
1400
|
+
list(request?: {
|
|
1401
|
+
/** V1 error format. */
|
|
1402
|
+
"$.xgafv"?: string;
|
|
1403
|
+
/** OAuth access token. */
|
|
1404
|
+
access_token?: string;
|
|
1405
|
+
/** Data format for response. */
|
|
1406
|
+
alt?: string;
|
|
1407
|
+
/** JSONP */
|
|
1408
|
+
callback?: string;
|
|
1409
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1410
|
+
fields?: string;
|
|
1411
|
+
/** A filter expression that filters the results listed in the response. */
|
|
1412
|
+
filter?: string;
|
|
1413
|
+
/** 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. */
|
|
1414
|
+
key?: string;
|
|
1415
|
+
/** OAuth 2.0 token for the current user. */
|
|
1416
|
+
oauth_token?: string;
|
|
1417
|
+
/** Sort the results by a certain order. */
|
|
1418
|
+
orderBy?: string;
|
|
1419
|
+
/** The maximum number of results per page that should be returned. */
|
|
1420
|
+
pageSize?: number;
|
|
1421
|
+
/** The page token. */
|
|
1422
|
+
pageToken?: string;
|
|
1423
|
+
/** Required. The parent's resource name. */
|
|
1424
|
+
parent: string;
|
|
1425
|
+
/** Returns response with indentations and line breaks. */
|
|
1426
|
+
prettyPrint?: boolean;
|
|
1427
|
+
/** 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. */
|
|
1428
|
+
quotaUser?: string;
|
|
1429
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1430
|
+
upload_protocol?: string;
|
|
1431
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1432
|
+
uploadType?: string;
|
|
1433
|
+
}): Request<ListSpokesResponse>;
|
|
1434
|
+
/** Updates the parameters of a Network Connectivity Center spoke. */
|
|
1435
|
+
patch(request: {
|
|
1436
|
+
/** V1 error format. */
|
|
1437
|
+
"$.xgafv"?: string;
|
|
1438
|
+
/** OAuth access token. */
|
|
1439
|
+
access_token?: string;
|
|
1440
|
+
/** Data format for response. */
|
|
1441
|
+
alt?: string;
|
|
1442
|
+
/** JSONP */
|
|
1443
|
+
callback?: string;
|
|
1444
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1445
|
+
fields?: string;
|
|
1446
|
+
/** 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. */
|
|
1447
|
+
key?: string;
|
|
1448
|
+
/** Immutable. The name of a Spoke resource. */
|
|
1449
|
+
name: string;
|
|
1450
|
+
/** OAuth 2.0 token for the current user. */
|
|
1451
|
+
oauth_token?: string;
|
|
1452
|
+
/** Returns response with indentations and line breaks. */
|
|
1453
|
+
prettyPrint?: boolean;
|
|
1454
|
+
/** 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. */
|
|
1455
|
+
quotaUser?: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
1458
|
+
* already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
|
|
1459
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
1460
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
1461
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
1462
|
+
*/
|
|
1463
|
+
requestId?: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the Spoke resource by the update. The fields specified in the update_mask are relative to the resource,
|
|
1466
|
+
* not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
1467
|
+
*/
|
|
1468
|
+
updateMask?: string;
|
|
1469
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1470
|
+
upload_protocol?: string;
|
|
1471
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1472
|
+
uploadType?: string;
|
|
1473
|
+
/** Request body */
|
|
1474
|
+
resource: Spoke;
|
|
1475
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1476
|
+
patch(request: {
|
|
1477
|
+
/** V1 error format. */
|
|
1478
|
+
"$.xgafv"?: string;
|
|
1479
|
+
/** OAuth access token. */
|
|
1480
|
+
access_token?: string;
|
|
1481
|
+
/** Data format for response. */
|
|
1482
|
+
alt?: string;
|
|
1483
|
+
/** JSONP */
|
|
1484
|
+
callback?: string;
|
|
1485
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1486
|
+
fields?: string;
|
|
1487
|
+
/** 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. */
|
|
1488
|
+
key?: string;
|
|
1489
|
+
/** Immutable. The name of a Spoke resource. */
|
|
1490
|
+
name: string;
|
|
1491
|
+
/** OAuth 2.0 token for the current user. */
|
|
1492
|
+
oauth_token?: string;
|
|
1493
|
+
/** Returns response with indentations and line breaks. */
|
|
1494
|
+
prettyPrint?: boolean;
|
|
1495
|
+
/** 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. */
|
|
1496
|
+
quotaUser?: string;
|
|
1497
|
+
/**
|
|
1498
|
+
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
1499
|
+
* already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
|
|
1500
|
+
* he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
|
|
1501
|
+
* ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
|
|
1502
|
+
* supported (00000000-0000-0000-0000-000000000000).
|
|
1503
|
+
*/
|
|
1504
|
+
requestId?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the Spoke resource by the update. The fields specified in the update_mask are relative to the resource,
|
|
1507
|
+
* not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
1508
|
+
*/
|
|
1509
|
+
updateMask?: string;
|
|
1510
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1511
|
+
upload_protocol?: string;
|
|
1512
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1513
|
+
uploadType?: string;
|
|
1514
|
+
},
|
|
1515
|
+
body: Spoke): Request<GoogleLongrunningOperation>;
|
|
1516
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1517
|
+
setIamPolicy(request: {
|
|
1518
|
+
/** V1 error format. */
|
|
1519
|
+
"$.xgafv"?: string;
|
|
1520
|
+
/** OAuth access token. */
|
|
1521
|
+
access_token?: string;
|
|
1522
|
+
/** Data format for response. */
|
|
1523
|
+
alt?: string;
|
|
1524
|
+
/** JSONP */
|
|
1525
|
+
callback?: string;
|
|
1526
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1527
|
+
fields?: string;
|
|
1528
|
+
/** 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. */
|
|
1529
|
+
key?: string;
|
|
1530
|
+
/** OAuth 2.0 token for the current user. */
|
|
1531
|
+
oauth_token?: string;
|
|
1532
|
+
/** Returns response with indentations and line breaks. */
|
|
1533
|
+
prettyPrint?: boolean;
|
|
1534
|
+
/** 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. */
|
|
1535
|
+
quotaUser?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* 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
|
|
1538
|
+
* field.
|
|
1539
|
+
*/
|
|
1540
|
+
resource: string;
|
|
1541
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1542
|
+
upload_protocol?: string;
|
|
1543
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1544
|
+
uploadType?: string;
|
|
1545
|
+
},
|
|
1546
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1547
|
+
/**
|
|
1548
|
+
* 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
|
|
1549
|
+
* 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.
|
|
1550
|
+
*/
|
|
1551
|
+
testIamPermissions(request: {
|
|
1552
|
+
/** V1 error format. */
|
|
1553
|
+
"$.xgafv"?: string;
|
|
1554
|
+
/** OAuth access token. */
|
|
1555
|
+
access_token?: string;
|
|
1556
|
+
/** Data format for response. */
|
|
1557
|
+
alt?: string;
|
|
1558
|
+
/** JSONP */
|
|
1559
|
+
callback?: string;
|
|
1560
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1561
|
+
fields?: string;
|
|
1562
|
+
/** 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. */
|
|
1563
|
+
key?: string;
|
|
1564
|
+
/** OAuth 2.0 token for the current user. */
|
|
1565
|
+
oauth_token?: string;
|
|
1566
|
+
/** Returns response with indentations and line breaks. */
|
|
1567
|
+
prettyPrint?: boolean;
|
|
1568
|
+
/** 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. */
|
|
1569
|
+
quotaUser?: string;
|
|
1570
|
+
/**
|
|
1571
|
+
* 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
|
|
1572
|
+
* this field.
|
|
1573
|
+
*/
|
|
1574
|
+
resource: string;
|
|
1575
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1576
|
+
upload_protocol?: string;
|
|
1577
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1578
|
+
uploadType?: string;
|
|
1579
|
+
},
|
|
1580
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1581
|
+
}
|
|
1582
|
+
interface LocationsResource {
|
|
1583
|
+
/** Gets information about a location. */
|
|
1584
|
+
get(request?: {
|
|
1585
|
+
/** V1 error format. */
|
|
1586
|
+
"$.xgafv"?: string;
|
|
1587
|
+
/** OAuth access token. */
|
|
1588
|
+
access_token?: string;
|
|
1589
|
+
/** Data format for response. */
|
|
1590
|
+
alt?: string;
|
|
1591
|
+
/** JSONP */
|
|
1592
|
+
callback?: string;
|
|
1593
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1594
|
+
fields?: string;
|
|
1595
|
+
/** 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. */
|
|
1596
|
+
key?: string;
|
|
1597
|
+
/** Resource name for the location. */
|
|
1598
|
+
name: string;
|
|
1599
|
+
/** OAuth 2.0 token for the current user. */
|
|
1600
|
+
oauth_token?: string;
|
|
1601
|
+
/** Returns response with indentations and line breaks. */
|
|
1602
|
+
prettyPrint?: boolean;
|
|
1603
|
+
/** 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. */
|
|
1604
|
+
quotaUser?: string;
|
|
1605
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1606
|
+
upload_protocol?: string;
|
|
1607
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1608
|
+
uploadType?: string;
|
|
1609
|
+
}): Request<Location>;
|
|
1610
|
+
/** Lists information about the supported locations for this service. */
|
|
1611
|
+
list(request?: {
|
|
1612
|
+
/** V1 error format. */
|
|
1613
|
+
"$.xgafv"?: string;
|
|
1614
|
+
/** OAuth access token. */
|
|
1615
|
+
access_token?: string;
|
|
1616
|
+
/** Data format for response. */
|
|
1617
|
+
alt?: string;
|
|
1618
|
+
/** JSONP */
|
|
1619
|
+
callback?: string;
|
|
1620
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1621
|
+
fields?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* 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
|
|
1624
|
+
* [AIP-160](https://google.aip.dev/160).
|
|
1625
|
+
*/
|
|
1626
|
+
filter?: string;
|
|
1627
|
+
/** 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. */
|
|
1628
|
+
key?: string;
|
|
1629
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
1630
|
+
name: string;
|
|
1631
|
+
/** OAuth 2.0 token for the current user. */
|
|
1632
|
+
oauth_token?: string;
|
|
1633
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1634
|
+
pageSize?: number;
|
|
1635
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1636
|
+
pageToken?: string;
|
|
1637
|
+
/** Returns response with indentations and line breaks. */
|
|
1638
|
+
prettyPrint?: boolean;
|
|
1639
|
+
/** 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. */
|
|
1640
|
+
quotaUser?: string;
|
|
1641
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1642
|
+
upload_protocol?: string;
|
|
1643
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1644
|
+
uploadType?: string;
|
|
1645
|
+
}): Request<ListLocationsResponse>;
|
|
1646
|
+
connectionPolicies: ConnectionPoliciesResource;
|
|
1647
|
+
global: GlobalResource;
|
|
1648
|
+
internalRanges: InternalRangesResource;
|
|
1649
|
+
operations: OperationsResource;
|
|
1650
|
+
serviceIdentifiers: ServiceIdentifiersResource;
|
|
1651
|
+
serviceInstances: ServiceInstancesResource;
|
|
1652
|
+
spokes: SpokesResource;
|
|
1653
|
+
}
|
|
1654
|
+
interface ProjectsResource {
|
|
1655
|
+
locations: LocationsResource;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
const projects: ProjectsResource;
|
|
1659
|
+
}
|
|
1660
|
+
}
|