@maxim_mazurok/gapi.client.connectors-v1 0.0.20220808
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 +1626 -0
- package/package.json +20 -0
- package/readme.md +68 -0
- package/tests.ts +463 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1626 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Connectors API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors
|
|
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://connectors.googleapis.com/$discovery/rest?version=v1
|
|
13
|
+
// Revision: 20220808
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Connectors API v1 */
|
|
19
|
+
function load(urlOrObject: "https://connectors.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "connectors", version: "v1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "connectors", version: "v1", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace connectors {
|
|
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 AuthConfig {
|
|
42
|
+
/** List containing additional auth configs. */
|
|
43
|
+
additionalVariables?: ConfigVariable[];
|
|
44
|
+
/** The type of authentication configured. */
|
|
45
|
+
authType?: string;
|
|
46
|
+
/** Oauth2ClientCredentials. */
|
|
47
|
+
oauth2ClientCredentials?: Oauth2ClientCredentials;
|
|
48
|
+
/** Oauth2JwtBearer. */
|
|
49
|
+
oauth2JwtBearer?: Oauth2JwtBearer;
|
|
50
|
+
/** SSH Public Key. */
|
|
51
|
+
sshPublicKey?: SshPublicKey;
|
|
52
|
+
/** UserPassword. */
|
|
53
|
+
userPassword?: UserPassword;
|
|
54
|
+
}
|
|
55
|
+
interface AuthConfigTemplate {
|
|
56
|
+
/** The type of authentication configured. */
|
|
57
|
+
authType?: string;
|
|
58
|
+
/** Config variables to describe an `AuthConfig` for a `Connection`. */
|
|
59
|
+
configVariableTemplates?: ConfigVariableTemplate[];
|
|
60
|
+
}
|
|
61
|
+
interface AuthorizationCodeLink {
|
|
62
|
+
/** The client ID assigned to the GCP Connectors OAuth app for the connector data source. */
|
|
63
|
+
clientId?: string;
|
|
64
|
+
/** Whether to enable PKCE for the auth code flow. */
|
|
65
|
+
enablePkce?: boolean;
|
|
66
|
+
/** The scopes for which the user will authorize GCP Connectors on the connector data source. */
|
|
67
|
+
scopes?: string[];
|
|
68
|
+
/** The base URI the user must click to trigger the authorization code login flow. */
|
|
69
|
+
uri?: string;
|
|
70
|
+
}
|
|
71
|
+
interface Binding {
|
|
72
|
+
/**
|
|
73
|
+
* 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`,
|
|
74
|
+
* 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
|
|
75
|
+
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
76
|
+
*/
|
|
77
|
+
condition?: Expr;
|
|
78
|
+
/**
|
|
79
|
+
* 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
|
|
80
|
+
* 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
|
|
81
|
+
* account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
|
|
82
|
+
* represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier
|
|
83
|
+
* for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example,
|
|
84
|
+
* `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`. *
|
|
85
|
+
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
|
|
86
|
+
* `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. *
|
|
87
|
+
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
|
|
88
|
+
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
|
|
89
|
+
* 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
|
|
90
|
+
* 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
|
|
91
|
+
* the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
|
|
92
|
+
*/
|
|
93
|
+
members?: string[];
|
|
94
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
95
|
+
role?: string;
|
|
96
|
+
}
|
|
97
|
+
// tslint:disable-next-line:no-empty-interface
|
|
98
|
+
interface CancelOperationRequest {
|
|
99
|
+
}
|
|
100
|
+
interface ConfigVariable {
|
|
101
|
+
/** Value is a bool. */
|
|
102
|
+
boolValue?: boolean;
|
|
103
|
+
/** Value is an integer */
|
|
104
|
+
intValue?: string;
|
|
105
|
+
/** Key of the config variable. */
|
|
106
|
+
key?: string;
|
|
107
|
+
/** Value is a secret. */
|
|
108
|
+
secretValue?: Secret;
|
|
109
|
+
/** Value is a string. */
|
|
110
|
+
stringValue?: string;
|
|
111
|
+
}
|
|
112
|
+
interface ConfigVariableTemplate {
|
|
113
|
+
/** Authorization code link options. To be populated if `ValueType` is `AUTHORIZATION_CODE` */
|
|
114
|
+
authorizationCodeLink?: AuthorizationCodeLink;
|
|
115
|
+
/** Description. */
|
|
116
|
+
description?: string;
|
|
117
|
+
/** Display name of the parameter. */
|
|
118
|
+
displayName?: string;
|
|
119
|
+
/** Enum options. To be populated if `ValueType` is `ENUM` */
|
|
120
|
+
enumOptions?: EnumOption[];
|
|
121
|
+
/** Key of the config variable. */
|
|
122
|
+
key?: string;
|
|
123
|
+
/** Flag represents that this `ConfigVariable` must be provided for a connection. */
|
|
124
|
+
required?: boolean;
|
|
125
|
+
/** Role grant configuration for the config variable. */
|
|
126
|
+
roleGrant?: RoleGrant;
|
|
127
|
+
/** State of the config variable. */
|
|
128
|
+
state?: string;
|
|
129
|
+
/** Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`. */
|
|
130
|
+
validationRegex?: string;
|
|
131
|
+
/** Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation. */
|
|
132
|
+
valueType?: string;
|
|
133
|
+
}
|
|
134
|
+
interface Connection {
|
|
135
|
+
/** Optional. Configuration for establishing the connection's authentication with an external system. */
|
|
136
|
+
authConfig?: AuthConfig;
|
|
137
|
+
/** Optional. Configuration for configuring the connection with an external system. */
|
|
138
|
+
configVariables?: ConfigVariable[];
|
|
139
|
+
/**
|
|
140
|
+
* Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for
|
|
141
|
+
* ConnectorVersion resource.
|
|
142
|
+
*/
|
|
143
|
+
connectorVersion?: string;
|
|
144
|
+
/** Output only. Created time. */
|
|
145
|
+
createTime?: string;
|
|
146
|
+
/** Optional. Description of the resource. */
|
|
147
|
+
description?: string;
|
|
148
|
+
/** Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). */
|
|
149
|
+
destinationConfigs?: DestinationConfig[];
|
|
150
|
+
/** Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} */
|
|
151
|
+
envoyImageLocation?: string;
|
|
152
|
+
/** Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName} */
|
|
153
|
+
imageLocation?: string;
|
|
154
|
+
/** Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */
|
|
155
|
+
labels?: { [P in string]: string };
|
|
156
|
+
/** Optional. Configuration that indicates whether or not the Connection can be edited. */
|
|
157
|
+
lockConfig?: LockConfig;
|
|
158
|
+
/** Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
159
|
+
name?: string;
|
|
160
|
+
/** Optional. Configuration for the connection. */
|
|
161
|
+
nodeConfig?: NodeConfig;
|
|
162
|
+
/** Optional. Service account needed for runtime plane to access GCP resources. */
|
|
163
|
+
serviceAccount?: string;
|
|
164
|
+
/**
|
|
165
|
+
* Output only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g.
|
|
166
|
+
* "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
|
|
167
|
+
*/
|
|
168
|
+
serviceDirectory?: string;
|
|
169
|
+
/** Output only. Current status of the connection. */
|
|
170
|
+
status?: ConnectionStatus;
|
|
171
|
+
/** Optional. Suspended indicates if a user has suspended a connection or not. */
|
|
172
|
+
suspended?: boolean;
|
|
173
|
+
/** Output only. Updated time. */
|
|
174
|
+
updateTime?: string;
|
|
175
|
+
}
|
|
176
|
+
interface ConnectionSchemaMetadata {
|
|
177
|
+
/** Output only. List of actions. */
|
|
178
|
+
actions?: string[];
|
|
179
|
+
/** Output only. List of entity names. */
|
|
180
|
+
entities?: string[];
|
|
181
|
+
}
|
|
182
|
+
interface ConnectionStatus {
|
|
183
|
+
/** Description. */
|
|
184
|
+
description?: string;
|
|
185
|
+
/** State. */
|
|
186
|
+
state?: string;
|
|
187
|
+
/** Status provides detailed information for the state. */
|
|
188
|
+
status?: string;
|
|
189
|
+
}
|
|
190
|
+
interface Connector {
|
|
191
|
+
/** Output only. Created time. */
|
|
192
|
+
createTime?: string;
|
|
193
|
+
/** Output only. Description of the resource. */
|
|
194
|
+
description?: string;
|
|
195
|
+
/** Output only. Display name. */
|
|
196
|
+
displayName?: string;
|
|
197
|
+
/** Output only. Link to documentation page. */
|
|
198
|
+
documentationUri?: string;
|
|
199
|
+
/** Output only. Link to external page. */
|
|
200
|
+
externalUri?: string;
|
|
201
|
+
/** Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */
|
|
202
|
+
labels?: { [P in string]: string };
|
|
203
|
+
/** Output only. Flag to mark the version indicating the launch stage. */
|
|
204
|
+
launchStage?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Output only. Resource name of the Connector. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector} Only global location is supported for
|
|
207
|
+
* Connector resource.
|
|
208
|
+
*/
|
|
209
|
+
name?: string;
|
|
210
|
+
/** Output only. Updated time. */
|
|
211
|
+
updateTime?: string;
|
|
212
|
+
/** Output only. Cloud storage location of icons etc consumed by UI. */
|
|
213
|
+
webAssetsLocation?: string;
|
|
214
|
+
}
|
|
215
|
+
interface ConnectorVersion {
|
|
216
|
+
/** Output only. List of auth configs supported by the Connector Version. */
|
|
217
|
+
authConfigTemplates?: AuthConfigTemplate[];
|
|
218
|
+
/** Output only. List of config variables needed to create a connection. */
|
|
219
|
+
configVariableTemplates?: ConfigVariableTemplate[];
|
|
220
|
+
/** Output only. Created time. */
|
|
221
|
+
createTime?: string;
|
|
222
|
+
/** Output only. Display name. */
|
|
223
|
+
displayName?: string;
|
|
224
|
+
/** Output only. Configuration for Egress Control. */
|
|
225
|
+
egressControlConfig?: EgressControlConfig;
|
|
226
|
+
/** Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */
|
|
227
|
+
labels?: { [P in string]: string };
|
|
228
|
+
/** Output only. Flag to mark the version indicating the launch stage. */
|
|
229
|
+
launchStage?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Output only. Resource name of the Version. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version} Only global location is
|
|
232
|
+
* supported for Connector resource.
|
|
233
|
+
*/
|
|
234
|
+
name?: string;
|
|
235
|
+
/** Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha". */
|
|
236
|
+
releaseVersion?: string;
|
|
237
|
+
/** Output only. Role grant configuration for this config variable. It will be DEPRECATED soon. */
|
|
238
|
+
roleGrant?: RoleGrant;
|
|
239
|
+
/** Output only. Role grant configurations for this connector version. */
|
|
240
|
+
roleGrants?: RoleGrant[];
|
|
241
|
+
/** Output only. Information about the runtime features supported by the Connector. */
|
|
242
|
+
supportedRuntimeFeatures?: SupportedRuntimeFeatures;
|
|
243
|
+
/** Output only. Updated time. */
|
|
244
|
+
updateTime?: string;
|
|
245
|
+
}
|
|
246
|
+
interface Destination {
|
|
247
|
+
/** For publicly routable host. */
|
|
248
|
+
host?: string;
|
|
249
|
+
/** The port is the target port number that is accepted by the destination. */
|
|
250
|
+
port?: number;
|
|
251
|
+
/** PSC service attachments. Format: projects/*/regions/*/serviceAttachments/* */
|
|
252
|
+
serviceAttachment?: string;
|
|
253
|
+
}
|
|
254
|
+
interface DestinationConfig {
|
|
255
|
+
/** The destinations for the key. */
|
|
256
|
+
destinations?: Destination[];
|
|
257
|
+
/** The key is the destination identifier that is supported by the Connector. */
|
|
258
|
+
key?: string;
|
|
259
|
+
}
|
|
260
|
+
interface EgressControlConfig {
|
|
261
|
+
/** Static Comma separated backends which are common for all Connection resources. Supported formats for each backend are host:port or just host (host can be ip address or domain name). */
|
|
262
|
+
backends?: string;
|
|
263
|
+
/** Extractions Rules to extract the backends from customer provided configuration. */
|
|
264
|
+
extractionRules?: ExtractionRules;
|
|
265
|
+
}
|
|
266
|
+
// tslint:disable-next-line:no-empty-interface
|
|
267
|
+
interface Empty {
|
|
268
|
+
}
|
|
269
|
+
interface EnumOption {
|
|
270
|
+
/** Display name of the option. */
|
|
271
|
+
displayName?: string;
|
|
272
|
+
/** Id of the option. */
|
|
273
|
+
id?: string;
|
|
274
|
+
}
|
|
275
|
+
interface Expr {
|
|
276
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
277
|
+
description?: string;
|
|
278
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
279
|
+
expression?: string;
|
|
280
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
281
|
+
location?: string;
|
|
282
|
+
/** 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. */
|
|
283
|
+
title?: string;
|
|
284
|
+
}
|
|
285
|
+
interface ExtractionRule {
|
|
286
|
+
/** Regex used to extract backend details from source. If empty, whole source value will be used. */
|
|
287
|
+
extractionRegex?: string;
|
|
288
|
+
/** Source on which the rule is applied. */
|
|
289
|
+
source?: Source;
|
|
290
|
+
}
|
|
291
|
+
interface ExtractionRules {
|
|
292
|
+
/** Collection of Extraction Rule. */
|
|
293
|
+
extractionRule?: ExtractionRule[];
|
|
294
|
+
}
|
|
295
|
+
interface Field {
|
|
296
|
+
/** The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields. */
|
|
297
|
+
additionalDetails?: { [P in string]: any };
|
|
298
|
+
/** The data type of the Field. */
|
|
299
|
+
dataType?: string;
|
|
300
|
+
/** The following field specifies the default value of the Field provided by the external system if a value is not provided. */
|
|
301
|
+
defaultValue?: any;
|
|
302
|
+
/** A brief description of the Field. */
|
|
303
|
+
description?: string;
|
|
304
|
+
/** Name of the Field. */
|
|
305
|
+
field?: string;
|
|
306
|
+
/** The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity. */
|
|
307
|
+
key?: boolean;
|
|
308
|
+
/** Specifies whether a null value is allowed. */
|
|
309
|
+
nullable?: boolean;
|
|
310
|
+
/** Specifies if the Field is readonly. */
|
|
311
|
+
readonly?: boolean;
|
|
312
|
+
}
|
|
313
|
+
interface InputParameter {
|
|
314
|
+
/** The data type of the Parameter. */
|
|
315
|
+
dataType?: string;
|
|
316
|
+
/** The following field specifies the default value of the Parameter provided by the external system if a value is not provided. */
|
|
317
|
+
defaultValue?: any;
|
|
318
|
+
/** A brief description of the Parameter. */
|
|
319
|
+
description?: string;
|
|
320
|
+
/** Specifies whether a null value is allowed. */
|
|
321
|
+
nullable?: boolean;
|
|
322
|
+
/** Name of the Parameter. */
|
|
323
|
+
parameter?: string;
|
|
324
|
+
}
|
|
325
|
+
interface JwtClaims {
|
|
326
|
+
/** Value for the "aud" claim. */
|
|
327
|
+
audience?: string;
|
|
328
|
+
/** Value for the "iss" claim. */
|
|
329
|
+
issuer?: string;
|
|
330
|
+
/** Value for the "sub" claim. */
|
|
331
|
+
subject?: string;
|
|
332
|
+
}
|
|
333
|
+
interface ListConnectionsResponse {
|
|
334
|
+
/** Connections. */
|
|
335
|
+
connections?: Connection[];
|
|
336
|
+
/** Next page token. */
|
|
337
|
+
nextPageToken?: string;
|
|
338
|
+
/** Locations that could not be reached. */
|
|
339
|
+
unreachable?: string[];
|
|
340
|
+
}
|
|
341
|
+
interface ListConnectorsResponse {
|
|
342
|
+
/** A list of connectors. */
|
|
343
|
+
connectors?: Connector[];
|
|
344
|
+
/** Next page token. */
|
|
345
|
+
nextPageToken?: string;
|
|
346
|
+
/** Locations that could not be reached. */
|
|
347
|
+
unreachable?: string[];
|
|
348
|
+
}
|
|
349
|
+
interface ListConnectorVersionsResponse {
|
|
350
|
+
/** A list of connector versions. */
|
|
351
|
+
connectorVersions?: ConnectorVersion[];
|
|
352
|
+
/** Next page token. */
|
|
353
|
+
nextPageToken?: string;
|
|
354
|
+
/** Locations that could not be reached. */
|
|
355
|
+
unreachable?: string[];
|
|
356
|
+
}
|
|
357
|
+
interface ListLocationsResponse {
|
|
358
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
359
|
+
locations?: Location[];
|
|
360
|
+
/** The standard List next-page token. */
|
|
361
|
+
nextPageToken?: string;
|
|
362
|
+
}
|
|
363
|
+
interface ListOperationsResponse {
|
|
364
|
+
/** The standard List next-page token. */
|
|
365
|
+
nextPageToken?: string;
|
|
366
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
367
|
+
operations?: Operation[];
|
|
368
|
+
}
|
|
369
|
+
interface ListProvidersResponse {
|
|
370
|
+
/** Next page token. */
|
|
371
|
+
nextPageToken?: string;
|
|
372
|
+
/** A list of providers. */
|
|
373
|
+
providers?: Provider[];
|
|
374
|
+
/** Locations that could not be reached. */
|
|
375
|
+
unreachable?: string[];
|
|
376
|
+
}
|
|
377
|
+
interface ListRuntimeActionSchemasResponse {
|
|
378
|
+
/** Next page token. */
|
|
379
|
+
nextPageToken?: string;
|
|
380
|
+
/** Runtime action schemas. */
|
|
381
|
+
runtimeActionSchemas?: RuntimeActionSchema[];
|
|
382
|
+
}
|
|
383
|
+
interface ListRuntimeEntitySchemasResponse {
|
|
384
|
+
/** Next page token. */
|
|
385
|
+
nextPageToken?: string;
|
|
386
|
+
/** Runtime entity schemas. */
|
|
387
|
+
runtimeEntitySchemas?: RuntimeEntitySchema[];
|
|
388
|
+
}
|
|
389
|
+
interface Location {
|
|
390
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
391
|
+
displayName?: string;
|
|
392
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
393
|
+
labels?: { [P in string]: string };
|
|
394
|
+
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
395
|
+
locationId?: string;
|
|
396
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
397
|
+
metadata?: { [P in string]: any };
|
|
398
|
+
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
399
|
+
name?: string;
|
|
400
|
+
}
|
|
401
|
+
interface LockConfig {
|
|
402
|
+
/** Indicates whether or not the connection is locked. */
|
|
403
|
+
locked?: boolean;
|
|
404
|
+
/** Describes why a connection is locked. */
|
|
405
|
+
reason?: string;
|
|
406
|
+
}
|
|
407
|
+
interface NodeConfig {
|
|
408
|
+
/** Maximum number of nodes in the runtime nodes. */
|
|
409
|
+
maxNodeCount?: number;
|
|
410
|
+
/** Minimum number of nodes in the runtime nodes. */
|
|
411
|
+
minNodeCount?: number;
|
|
412
|
+
}
|
|
413
|
+
interface Oauth2ClientCredentials {
|
|
414
|
+
/** The client identifier. */
|
|
415
|
+
clientId?: string;
|
|
416
|
+
/** Secret version reference containing the client secret. */
|
|
417
|
+
clientSecret?: Secret;
|
|
418
|
+
}
|
|
419
|
+
interface Oauth2JwtBearer {
|
|
420
|
+
/**
|
|
421
|
+
* Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer
|
|
422
|
+
* authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`.
|
|
423
|
+
*/
|
|
424
|
+
clientKey?: Secret;
|
|
425
|
+
/** JwtClaims providers fields to generate the token. */
|
|
426
|
+
jwtClaims?: JwtClaims;
|
|
427
|
+
}
|
|
428
|
+
interface Operation {
|
|
429
|
+
/** 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. */
|
|
430
|
+
done?: boolean;
|
|
431
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
432
|
+
error?: Status;
|
|
433
|
+
/**
|
|
434
|
+
* 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
|
|
435
|
+
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
436
|
+
*/
|
|
437
|
+
metadata?: { [P in string]: any };
|
|
438
|
+
/**
|
|
439
|
+
* 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
|
|
440
|
+
* with `operations/{unique_id}`.
|
|
441
|
+
*/
|
|
442
|
+
name?: string;
|
|
443
|
+
/**
|
|
444
|
+
* 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
|
|
445
|
+
* 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
|
|
446
|
+
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
447
|
+
*/
|
|
448
|
+
response?: { [P in string]: any };
|
|
449
|
+
}
|
|
450
|
+
interface OperationMetadata {
|
|
451
|
+
/** Output only. API version used to start the operation. */
|
|
452
|
+
apiVersion?: string;
|
|
453
|
+
/** Output only. The time the operation was created. */
|
|
454
|
+
createTime?: string;
|
|
455
|
+
/** Output only. The time the operation finished running. */
|
|
456
|
+
endTime?: string;
|
|
457
|
+
/**
|
|
458
|
+
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a
|
|
459
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
460
|
+
*/
|
|
461
|
+
requestedCancellation?: boolean;
|
|
462
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
463
|
+
statusMessage?: string;
|
|
464
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
465
|
+
target?: string;
|
|
466
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
467
|
+
verb?: string;
|
|
468
|
+
}
|
|
469
|
+
interface Policy {
|
|
470
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
471
|
+
auditConfigs?: AuditConfig[];
|
|
472
|
+
/**
|
|
473
|
+
* 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`
|
|
474
|
+
* 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
|
|
475
|
+
* 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
|
|
476
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
477
|
+
*/
|
|
478
|
+
bindings?: Binding[];
|
|
479
|
+
/**
|
|
480
|
+
* `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
|
|
481
|
+
* 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
|
|
482
|
+
* 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
|
|
483
|
+
* 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`
|
|
484
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
485
|
+
*/
|
|
486
|
+
etag?: string;
|
|
487
|
+
/**
|
|
488
|
+
* 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
|
|
489
|
+
* 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
|
|
490
|
+
* 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
|
|
491
|
+
* 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`
|
|
492
|
+
* 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
|
|
493
|
+
* 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).
|
|
494
|
+
*/
|
|
495
|
+
version?: number;
|
|
496
|
+
}
|
|
497
|
+
interface Provider {
|
|
498
|
+
/** Output only. Created time. */
|
|
499
|
+
createTime?: string;
|
|
500
|
+
/** Output only. Description of the resource. */
|
|
501
|
+
description?: string;
|
|
502
|
+
/** Output only. Display name. */
|
|
503
|
+
displayName?: string;
|
|
504
|
+
/** Output only. Link to documentation page. */
|
|
505
|
+
documentationUri?: string;
|
|
506
|
+
/** Output only. Link to external page. */
|
|
507
|
+
externalUri?: string;
|
|
508
|
+
/** Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */
|
|
509
|
+
labels?: { [P in string]: string };
|
|
510
|
+
/** Output only. Flag to mark the version indicating the launch stage. */
|
|
511
|
+
launchStage?: string;
|
|
512
|
+
/** Output only. Resource name of the Provider. Format: projects/{project}/locations/{location}/providers/{provider} Only global location is supported for Provider resource. */
|
|
513
|
+
name?: string;
|
|
514
|
+
/** Output only. Updated time. */
|
|
515
|
+
updateTime?: string;
|
|
516
|
+
/** Output only. Cloud storage location of icons etc consumed by UI. */
|
|
517
|
+
webAssetsLocation?: string;
|
|
518
|
+
}
|
|
519
|
+
interface Resource {
|
|
520
|
+
/** Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template. */
|
|
521
|
+
pathTemplate?: string;
|
|
522
|
+
/** Different types of resource supported. */
|
|
523
|
+
type?: string;
|
|
524
|
+
}
|
|
525
|
+
interface ResultMetadata {
|
|
526
|
+
/** The data type of the field. */
|
|
527
|
+
dataType?: string;
|
|
528
|
+
/** A brief description of the field. */
|
|
529
|
+
description?: string;
|
|
530
|
+
/** Name of the result field. */
|
|
531
|
+
field?: string;
|
|
532
|
+
}
|
|
533
|
+
interface RoleGrant {
|
|
534
|
+
/** Template that UI can use to provide helper text to customers. */
|
|
535
|
+
helperTextTemplate?: string;
|
|
536
|
+
/** Prinicipal/Identity for whom the role need to assigned. */
|
|
537
|
+
principal?: string;
|
|
538
|
+
/** Resource on which the roles needs to be granted for the principal. */
|
|
539
|
+
resource?: Resource;
|
|
540
|
+
/** List of roles that need to be granted. */
|
|
541
|
+
roles?: string[];
|
|
542
|
+
}
|
|
543
|
+
interface RuntimeActionSchema {
|
|
544
|
+
/** Output only. Name of the action. */
|
|
545
|
+
action?: string;
|
|
546
|
+
/** Output only. List of input parameter metadata for the action. */
|
|
547
|
+
inputParameters?: InputParameter[];
|
|
548
|
+
/** Output only. List of result field metadata. */
|
|
549
|
+
resultMetadata?: ResultMetadata[];
|
|
550
|
+
}
|
|
551
|
+
interface RuntimeConfig {
|
|
552
|
+
/** Output only. Pub/Sub subscription for connd to receive message. E.g. projects/{project-id}/subscriptions/{topic-id} */
|
|
553
|
+
conndSubscription?: string;
|
|
554
|
+
/** Output only. Pub/Sub topic for connd to send message. E.g. projects/{project-id}/topics/{topic-id} */
|
|
555
|
+
conndTopic?: string;
|
|
556
|
+
/** Output only. Pub/Sub subscription for control plane to receive message. E.g. projects/{project-id}/subscriptions/{topic-id} */
|
|
557
|
+
controlPlaneSubscription?: string;
|
|
558
|
+
/** Output only. Pub/Sub topic for control plne to send message. communication. E.g. projects/{project-id}/topics/{topic-id} */
|
|
559
|
+
controlPlaneTopic?: string;
|
|
560
|
+
/** Output only. location_id of the runtime location. E.g. "us-west1". */
|
|
561
|
+
locationId?: string;
|
|
562
|
+
/** Output only. Name of the runtimeConfig resource. Format: projects/{project}/locations/{location}/runtimeConfig */
|
|
563
|
+
name?: string;
|
|
564
|
+
/** Output only. The endpoint of the connectors runtime ingress. */
|
|
565
|
+
runtimeEndpoint?: string;
|
|
566
|
+
/** Output only. The Cloud Storage bucket that stores connector's schema reports. */
|
|
567
|
+
schemaGcsBucket?: string;
|
|
568
|
+
/** Output only. The name of the Service Directory service name. */
|
|
569
|
+
serviceDirectory?: string;
|
|
570
|
+
/** Output only. The state of the location. */
|
|
571
|
+
state?: string;
|
|
572
|
+
}
|
|
573
|
+
interface RuntimeEntitySchema {
|
|
574
|
+
/** Output only. Name of the entity. */
|
|
575
|
+
entity?: string;
|
|
576
|
+
/** Output only. List of fields in the entity. */
|
|
577
|
+
fields?: Field[];
|
|
578
|
+
}
|
|
579
|
+
interface Secret {
|
|
580
|
+
/** The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. */
|
|
581
|
+
secretVersion?: string;
|
|
582
|
+
}
|
|
583
|
+
interface SetIamPolicyRequest {
|
|
584
|
+
/**
|
|
585
|
+
* 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
|
|
586
|
+
* services (such as Projects) might reject them.
|
|
587
|
+
*/
|
|
588
|
+
policy?: Policy;
|
|
589
|
+
/**
|
|
590
|
+
* 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:
|
|
591
|
+
* `paths: "bindings, etag"`
|
|
592
|
+
*/
|
|
593
|
+
updateMask?: string;
|
|
594
|
+
}
|
|
595
|
+
interface Source {
|
|
596
|
+
/** Field identifier. For example config vaiable name. */
|
|
597
|
+
fieldId?: string;
|
|
598
|
+
/** Type of the source. */
|
|
599
|
+
sourceType?: string;
|
|
600
|
+
}
|
|
601
|
+
interface SshPublicKey {
|
|
602
|
+
/** Format of SSH Client cert. */
|
|
603
|
+
certType?: string;
|
|
604
|
+
/** This is an optional field used in case client has enabled multi-factor authentication */
|
|
605
|
+
password?: Secret;
|
|
606
|
+
/** SSH Client Cert. It should contain both public and private key. */
|
|
607
|
+
sshClientCert?: Secret;
|
|
608
|
+
/** Password (passphrase) for ssh client certificate if it has one. */
|
|
609
|
+
sshClientCertPass?: Secret;
|
|
610
|
+
/** The user account used to authenticate. */
|
|
611
|
+
username?: string;
|
|
612
|
+
}
|
|
613
|
+
interface Status {
|
|
614
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
615
|
+
code?: number;
|
|
616
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
617
|
+
details?: Array<{ [P in string]: any }>;
|
|
618
|
+
/**
|
|
619
|
+
* 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
|
|
620
|
+
* client.
|
|
621
|
+
*/
|
|
622
|
+
message?: string;
|
|
623
|
+
}
|
|
624
|
+
interface SupportedRuntimeFeatures {
|
|
625
|
+
/** Specifies if the connector supports action apis like 'executeAction'. */
|
|
626
|
+
actionApis?: boolean;
|
|
627
|
+
/** Specifies if the connector supports entity apis like 'createEntity'. */
|
|
628
|
+
entityApis?: boolean;
|
|
629
|
+
/** Specifies if the connector supports 'ExecuteSqlQuery' operation. */
|
|
630
|
+
sqlQuery?: boolean;
|
|
631
|
+
}
|
|
632
|
+
interface TestIamPermissionsRequest {
|
|
633
|
+
/**
|
|
634
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
635
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
636
|
+
*/
|
|
637
|
+
permissions?: string[];
|
|
638
|
+
}
|
|
639
|
+
interface TestIamPermissionsResponse {
|
|
640
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
641
|
+
permissions?: string[];
|
|
642
|
+
}
|
|
643
|
+
interface UserPassword {
|
|
644
|
+
/** Secret version reference containing the password. */
|
|
645
|
+
password?: Secret;
|
|
646
|
+
/** Username. */
|
|
647
|
+
username?: string;
|
|
648
|
+
}
|
|
649
|
+
interface RuntimeActionSchemasResource {
|
|
650
|
+
/** List schema of a runtime actions filtered by action name. */
|
|
651
|
+
list(request?: {
|
|
652
|
+
/** V1 error format. */
|
|
653
|
+
"$.xgafv"?: string;
|
|
654
|
+
/** OAuth access token. */
|
|
655
|
+
access_token?: string;
|
|
656
|
+
/** Data format for response. */
|
|
657
|
+
alt?: string;
|
|
658
|
+
/** JSONP */
|
|
659
|
+
callback?: string;
|
|
660
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
661
|
+
fields?: string;
|
|
662
|
+
/**
|
|
663
|
+
* Required. Filter Format: action="{actionId}" Only action field is supported with literal equality operator. Accepted filter example: action="CancelOrder" Wildcards are not
|
|
664
|
+
* supported in the filter currently.
|
|
665
|
+
*/
|
|
666
|
+
filter?: string;
|
|
667
|
+
/** 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. */
|
|
668
|
+
key?: string;
|
|
669
|
+
/** OAuth 2.0 token for the current user. */
|
|
670
|
+
oauth_token?: string;
|
|
671
|
+
/** Page size. */
|
|
672
|
+
pageSize?: number;
|
|
673
|
+
/** Page token. */
|
|
674
|
+
pageToken?: string;
|
|
675
|
+
/** Required. Parent resource of RuntimeActionSchema Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
676
|
+
parent: string;
|
|
677
|
+
/** Returns response with indentations and line breaks. */
|
|
678
|
+
prettyPrint?: boolean;
|
|
679
|
+
/** 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. */
|
|
680
|
+
quotaUser?: string;
|
|
681
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
682
|
+
upload_protocol?: string;
|
|
683
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
684
|
+
uploadType?: string;
|
|
685
|
+
}): Request<ListRuntimeActionSchemasResponse>;
|
|
686
|
+
}
|
|
687
|
+
interface RuntimeEntitySchemasResource {
|
|
688
|
+
/** List schema of a runtime entities filtered by entity name. */
|
|
689
|
+
list(request?: {
|
|
690
|
+
/** V1 error format. */
|
|
691
|
+
"$.xgafv"?: string;
|
|
692
|
+
/** OAuth access token. */
|
|
693
|
+
access_token?: string;
|
|
694
|
+
/** Data format for response. */
|
|
695
|
+
alt?: string;
|
|
696
|
+
/** JSONP */
|
|
697
|
+
callback?: string;
|
|
698
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
699
|
+
fields?: string;
|
|
700
|
+
/**
|
|
701
|
+
* Required. Filter Format: entity="{entityId}" Only entity field is supported with literal equality operator. Accepted filter example: entity="Order" Wildcards are not supported
|
|
702
|
+
* in the filter currently.
|
|
703
|
+
*/
|
|
704
|
+
filter?: string;
|
|
705
|
+
/** 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. */
|
|
706
|
+
key?: string;
|
|
707
|
+
/** OAuth 2.0 token for the current user. */
|
|
708
|
+
oauth_token?: string;
|
|
709
|
+
/** Page size. */
|
|
710
|
+
pageSize?: number;
|
|
711
|
+
/** Page token. */
|
|
712
|
+
pageToken?: string;
|
|
713
|
+
/** Required. Parent resource of RuntimeEntitySchema Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
714
|
+
parent: string;
|
|
715
|
+
/** Returns response with indentations and line breaks. */
|
|
716
|
+
prettyPrint?: boolean;
|
|
717
|
+
/** 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. */
|
|
718
|
+
quotaUser?: string;
|
|
719
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
720
|
+
upload_protocol?: string;
|
|
721
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
722
|
+
uploadType?: string;
|
|
723
|
+
}): Request<ListRuntimeEntitySchemasResponse>;
|
|
724
|
+
}
|
|
725
|
+
interface ConnectionsResource {
|
|
726
|
+
/** Creates a new Connection in a given project and location. */
|
|
727
|
+
create(request: {
|
|
728
|
+
/** V1 error format. */
|
|
729
|
+
"$.xgafv"?: string;
|
|
730
|
+
/** OAuth access token. */
|
|
731
|
+
access_token?: string;
|
|
732
|
+
/** Data format for response. */
|
|
733
|
+
alt?: string;
|
|
734
|
+
/** JSONP */
|
|
735
|
+
callback?: string;
|
|
736
|
+
/** Required. Identifier to assign to the Connection. Must be unique within scope of the parent resource. */
|
|
737
|
+
connectionId?: string;
|
|
738
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
739
|
+
fields?: string;
|
|
740
|
+
/** 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. */
|
|
741
|
+
key?: string;
|
|
742
|
+
/** OAuth 2.0 token for the current user. */
|
|
743
|
+
oauth_token?: string;
|
|
744
|
+
/** Required. Parent resource of the Connection, of the form: `projects/*/locations/*` */
|
|
745
|
+
parent: string;
|
|
746
|
+
/** Returns response with indentations and line breaks. */
|
|
747
|
+
prettyPrint?: boolean;
|
|
748
|
+
/** 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. */
|
|
749
|
+
quotaUser?: string;
|
|
750
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
751
|
+
upload_protocol?: string;
|
|
752
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
753
|
+
uploadType?: string;
|
|
754
|
+
/** Request body */
|
|
755
|
+
resource: Connection;
|
|
756
|
+
}): Request<Operation>;
|
|
757
|
+
create(request: {
|
|
758
|
+
/** V1 error format. */
|
|
759
|
+
"$.xgafv"?: string;
|
|
760
|
+
/** OAuth access token. */
|
|
761
|
+
access_token?: string;
|
|
762
|
+
/** Data format for response. */
|
|
763
|
+
alt?: string;
|
|
764
|
+
/** JSONP */
|
|
765
|
+
callback?: string;
|
|
766
|
+
/** Required. Identifier to assign to the Connection. Must be unique within scope of the parent resource. */
|
|
767
|
+
connectionId?: string;
|
|
768
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
769
|
+
fields?: string;
|
|
770
|
+
/** 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. */
|
|
771
|
+
key?: string;
|
|
772
|
+
/** OAuth 2.0 token for the current user. */
|
|
773
|
+
oauth_token?: string;
|
|
774
|
+
/** Required. Parent resource of the Connection, of the form: `projects/*/locations/*` */
|
|
775
|
+
parent: string;
|
|
776
|
+
/** Returns response with indentations and line breaks. */
|
|
777
|
+
prettyPrint?: boolean;
|
|
778
|
+
/** 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. */
|
|
779
|
+
quotaUser?: string;
|
|
780
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
781
|
+
upload_protocol?: string;
|
|
782
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
783
|
+
uploadType?: string;
|
|
784
|
+
},
|
|
785
|
+
body: Connection): Request<Operation>;
|
|
786
|
+
/** Deletes a single Connection. */
|
|
787
|
+
delete(request?: {
|
|
788
|
+
/** V1 error format. */
|
|
789
|
+
"$.xgafv"?: string;
|
|
790
|
+
/** OAuth access token. */
|
|
791
|
+
access_token?: string;
|
|
792
|
+
/** Data format for response. */
|
|
793
|
+
alt?: string;
|
|
794
|
+
/** JSONP */
|
|
795
|
+
callback?: string;
|
|
796
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
797
|
+
fields?: string;
|
|
798
|
+
/** 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. */
|
|
799
|
+
key?: string;
|
|
800
|
+
/** Required. Resource name of the form: `projects/*/locations/*/connections/*` */
|
|
801
|
+
name: 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
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
809
|
+
upload_protocol?: string;
|
|
810
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
811
|
+
uploadType?: string;
|
|
812
|
+
}): Request<Operation>;
|
|
813
|
+
/** Gets details of a single Connection. */
|
|
814
|
+
get(request?: {
|
|
815
|
+
/** V1 error format. */
|
|
816
|
+
"$.xgafv"?: string;
|
|
817
|
+
/** OAuth access token. */
|
|
818
|
+
access_token?: string;
|
|
819
|
+
/** Data format for response. */
|
|
820
|
+
alt?: string;
|
|
821
|
+
/** JSONP */
|
|
822
|
+
callback?: string;
|
|
823
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
824
|
+
fields?: string;
|
|
825
|
+
/** 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. */
|
|
826
|
+
key?: string;
|
|
827
|
+
/** Required. Resource name of the form: `projects/*/locations/*/connections/*` */
|
|
828
|
+
name: string;
|
|
829
|
+
/** OAuth 2.0 token for the current user. */
|
|
830
|
+
oauth_token?: string;
|
|
831
|
+
/** Returns response with indentations and line breaks. */
|
|
832
|
+
prettyPrint?: boolean;
|
|
833
|
+
/** 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. */
|
|
834
|
+
quotaUser?: string;
|
|
835
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
836
|
+
upload_protocol?: string;
|
|
837
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
838
|
+
uploadType?: string;
|
|
839
|
+
/** Specifies which fields of the Connection are returned in the response. Defaults to `BASIC` view. */
|
|
840
|
+
view?: string;
|
|
841
|
+
}): Request<Connection>;
|
|
842
|
+
/** Gets schema metadata of a connection. SchemaMetadata is a singleton resource for each connection. */
|
|
843
|
+
getConnectionSchemaMetadata(request?: {
|
|
844
|
+
/** V1 error format. */
|
|
845
|
+
"$.xgafv"?: string;
|
|
846
|
+
/** OAuth access token. */
|
|
847
|
+
access_token?: string;
|
|
848
|
+
/** Data format for response. */
|
|
849
|
+
alt?: string;
|
|
850
|
+
/** JSONP */
|
|
851
|
+
callback?: string;
|
|
852
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
853
|
+
fields?: string;
|
|
854
|
+
/** 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. */
|
|
855
|
+
key?: string;
|
|
856
|
+
/** Required. Connection name Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata */
|
|
857
|
+
name: string;
|
|
858
|
+
/** OAuth 2.0 token for the current user. */
|
|
859
|
+
oauth_token?: string;
|
|
860
|
+
/** Returns response with indentations and line breaks. */
|
|
861
|
+
prettyPrint?: boolean;
|
|
862
|
+
/** 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. */
|
|
863
|
+
quotaUser?: string;
|
|
864
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
865
|
+
upload_protocol?: string;
|
|
866
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
867
|
+
uploadType?: string;
|
|
868
|
+
}): Request<ConnectionSchemaMetadata>;
|
|
869
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
870
|
+
getIamPolicy(request?: {
|
|
871
|
+
/** V1 error format. */
|
|
872
|
+
"$.xgafv"?: string;
|
|
873
|
+
/** OAuth access token. */
|
|
874
|
+
access_token?: string;
|
|
875
|
+
/** Data format for response. */
|
|
876
|
+
alt?: string;
|
|
877
|
+
/** JSONP */
|
|
878
|
+
callback?: string;
|
|
879
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
880
|
+
fields?: string;
|
|
881
|
+
/** 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. */
|
|
882
|
+
key?: string;
|
|
883
|
+
/** OAuth 2.0 token for the current user. */
|
|
884
|
+
oauth_token?: string;
|
|
885
|
+
/**
|
|
886
|
+
* 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
|
|
887
|
+
* 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
|
|
888
|
+
* 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
|
|
889
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
890
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
891
|
+
*/
|
|
892
|
+
"options.requestedPolicyVersion"?: number;
|
|
893
|
+
/** Returns response with indentations and line breaks. */
|
|
894
|
+
prettyPrint?: boolean;
|
|
895
|
+
/** 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. */
|
|
896
|
+
quotaUser?: string;
|
|
897
|
+
/**
|
|
898
|
+
* 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
|
|
899
|
+
* field.
|
|
900
|
+
*/
|
|
901
|
+
resource: string;
|
|
902
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
903
|
+
upload_protocol?: string;
|
|
904
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
905
|
+
uploadType?: string;
|
|
906
|
+
}): Request<Policy>;
|
|
907
|
+
/** Lists Connections in a given project and location. */
|
|
908
|
+
list(request?: {
|
|
909
|
+
/** V1 error format. */
|
|
910
|
+
"$.xgafv"?: string;
|
|
911
|
+
/** OAuth access token. */
|
|
912
|
+
access_token?: string;
|
|
913
|
+
/** Data format for response. */
|
|
914
|
+
alt?: string;
|
|
915
|
+
/** JSONP */
|
|
916
|
+
callback?: string;
|
|
917
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
918
|
+
fields?: string;
|
|
919
|
+
/** Filter. */
|
|
920
|
+
filter?: string;
|
|
921
|
+
/** 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. */
|
|
922
|
+
key?: string;
|
|
923
|
+
/** OAuth 2.0 token for the current user. */
|
|
924
|
+
oauth_token?: string;
|
|
925
|
+
/** Order by parameters. */
|
|
926
|
+
orderBy?: string;
|
|
927
|
+
/** Page size. */
|
|
928
|
+
pageSize?: number;
|
|
929
|
+
/** Page token. */
|
|
930
|
+
pageToken?: string;
|
|
931
|
+
/** Required. Parent resource of the Connection, of the form: `projects/*/locations/*` */
|
|
932
|
+
parent: string;
|
|
933
|
+
/** Returns response with indentations and line breaks. */
|
|
934
|
+
prettyPrint?: boolean;
|
|
935
|
+
/** 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. */
|
|
936
|
+
quotaUser?: string;
|
|
937
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
938
|
+
upload_protocol?: string;
|
|
939
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
940
|
+
uploadType?: string;
|
|
941
|
+
/** Specifies which fields of the Connection are returned in the response. Defaults to `BASIC` view. */
|
|
942
|
+
view?: string;
|
|
943
|
+
}): Request<ListConnectionsResponse>;
|
|
944
|
+
/** Updates the parameters of a single Connection. */
|
|
945
|
+
patch(request: {
|
|
946
|
+
/** V1 error format. */
|
|
947
|
+
"$.xgafv"?: string;
|
|
948
|
+
/** OAuth access token. */
|
|
949
|
+
access_token?: string;
|
|
950
|
+
/** Data format for response. */
|
|
951
|
+
alt?: string;
|
|
952
|
+
/** JSONP */
|
|
953
|
+
callback?: string;
|
|
954
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
955
|
+
fields?: string;
|
|
956
|
+
/** 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. */
|
|
957
|
+
key?: string;
|
|
958
|
+
/** Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
959
|
+
name: string;
|
|
960
|
+
/** OAuth 2.0 token for the current user. */
|
|
961
|
+
oauth_token?: string;
|
|
962
|
+
/** Returns response with indentations and line breaks. */
|
|
963
|
+
prettyPrint?: boolean;
|
|
964
|
+
/** 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. */
|
|
965
|
+
quotaUser?: string;
|
|
966
|
+
/**
|
|
967
|
+
* Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the
|
|
968
|
+
* resource, 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.
|
|
969
|
+
*/
|
|
970
|
+
updateMask?: string;
|
|
971
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
972
|
+
upload_protocol?: string;
|
|
973
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
974
|
+
uploadType?: string;
|
|
975
|
+
/** Request body */
|
|
976
|
+
resource: Connection;
|
|
977
|
+
}): Request<Operation>;
|
|
978
|
+
patch(request: {
|
|
979
|
+
/** V1 error format. */
|
|
980
|
+
"$.xgafv"?: string;
|
|
981
|
+
/** OAuth access token. */
|
|
982
|
+
access_token?: string;
|
|
983
|
+
/** Data format for response. */
|
|
984
|
+
alt?: string;
|
|
985
|
+
/** JSONP */
|
|
986
|
+
callback?: string;
|
|
987
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
988
|
+
fields?: string;
|
|
989
|
+
/** 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. */
|
|
990
|
+
key?: string;
|
|
991
|
+
/** Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
992
|
+
name: string;
|
|
993
|
+
/** OAuth 2.0 token for the current user. */
|
|
994
|
+
oauth_token?: string;
|
|
995
|
+
/** Returns response with indentations and line breaks. */
|
|
996
|
+
prettyPrint?: boolean;
|
|
997
|
+
/** 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. */
|
|
998
|
+
quotaUser?: string;
|
|
999
|
+
/**
|
|
1000
|
+
* Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the
|
|
1001
|
+
* resource, 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.
|
|
1002
|
+
*/
|
|
1003
|
+
updateMask?: string;
|
|
1004
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1005
|
+
upload_protocol?: string;
|
|
1006
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1007
|
+
uploadType?: string;
|
|
1008
|
+
},
|
|
1009
|
+
body: Connection): Request<Operation>;
|
|
1010
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1011
|
+
setIamPolicy(request: {
|
|
1012
|
+
/** V1 error format. */
|
|
1013
|
+
"$.xgafv"?: string;
|
|
1014
|
+
/** OAuth access token. */
|
|
1015
|
+
access_token?: string;
|
|
1016
|
+
/** Data format for response. */
|
|
1017
|
+
alt?: string;
|
|
1018
|
+
/** JSONP */
|
|
1019
|
+
callback?: string;
|
|
1020
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1021
|
+
fields?: string;
|
|
1022
|
+
/** 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. */
|
|
1023
|
+
key?: string;
|
|
1024
|
+
/** OAuth 2.0 token for the current user. */
|
|
1025
|
+
oauth_token?: string;
|
|
1026
|
+
/** Returns response with indentations and line breaks. */
|
|
1027
|
+
prettyPrint?: boolean;
|
|
1028
|
+
/** 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. */
|
|
1029
|
+
quotaUser?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* 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
|
|
1032
|
+
* field.
|
|
1033
|
+
*/
|
|
1034
|
+
resource: string;
|
|
1035
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1036
|
+
upload_protocol?: string;
|
|
1037
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1038
|
+
uploadType?: string;
|
|
1039
|
+
},
|
|
1040
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1041
|
+
/**
|
|
1042
|
+
* 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
|
|
1043
|
+
* 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.
|
|
1044
|
+
*/
|
|
1045
|
+
testIamPermissions(request: {
|
|
1046
|
+
/** V1 error format. */
|
|
1047
|
+
"$.xgafv"?: string;
|
|
1048
|
+
/** OAuth access token. */
|
|
1049
|
+
access_token?: string;
|
|
1050
|
+
/** Data format for response. */
|
|
1051
|
+
alt?: string;
|
|
1052
|
+
/** JSONP */
|
|
1053
|
+
callback?: string;
|
|
1054
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1055
|
+
fields?: string;
|
|
1056
|
+
/** 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. */
|
|
1057
|
+
key?: string;
|
|
1058
|
+
/** OAuth 2.0 token for the current user. */
|
|
1059
|
+
oauth_token?: string;
|
|
1060
|
+
/** Returns response with indentations and line breaks. */
|
|
1061
|
+
prettyPrint?: boolean;
|
|
1062
|
+
/** 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. */
|
|
1063
|
+
quotaUser?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* 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
|
|
1066
|
+
* this field.
|
|
1067
|
+
*/
|
|
1068
|
+
resource: string;
|
|
1069
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1070
|
+
upload_protocol?: string;
|
|
1071
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1072
|
+
uploadType?: string;
|
|
1073
|
+
},
|
|
1074
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1075
|
+
runtimeActionSchemas: RuntimeActionSchemasResource;
|
|
1076
|
+
runtimeEntitySchemas: RuntimeEntitySchemasResource;
|
|
1077
|
+
}
|
|
1078
|
+
interface OperationsResource {
|
|
1079
|
+
/**
|
|
1080
|
+
* 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
|
|
1081
|
+
* 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
|
|
1082
|
+
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
1083
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
1084
|
+
*/
|
|
1085
|
+
cancel(request: {
|
|
1086
|
+
/** V1 error format. */
|
|
1087
|
+
"$.xgafv"?: string;
|
|
1088
|
+
/** OAuth access token. */
|
|
1089
|
+
access_token?: string;
|
|
1090
|
+
/** Data format for response. */
|
|
1091
|
+
alt?: string;
|
|
1092
|
+
/** JSONP */
|
|
1093
|
+
callback?: string;
|
|
1094
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1095
|
+
fields?: string;
|
|
1096
|
+
/** 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. */
|
|
1097
|
+
key?: string;
|
|
1098
|
+
/** The name of the operation resource to be cancelled. */
|
|
1099
|
+
name: string;
|
|
1100
|
+
/** OAuth 2.0 token for the current user. */
|
|
1101
|
+
oauth_token?: string;
|
|
1102
|
+
/** Returns response with indentations and line breaks. */
|
|
1103
|
+
prettyPrint?: boolean;
|
|
1104
|
+
/** 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. */
|
|
1105
|
+
quotaUser?: string;
|
|
1106
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1107
|
+
upload_protocol?: string;
|
|
1108
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1109
|
+
uploadType?: string;
|
|
1110
|
+
/** Request body */
|
|
1111
|
+
resource: CancelOperationRequest;
|
|
1112
|
+
}): Request<{}>;
|
|
1113
|
+
cancel(request: {
|
|
1114
|
+
/** V1 error format. */
|
|
1115
|
+
"$.xgafv"?: string;
|
|
1116
|
+
/** OAuth access token. */
|
|
1117
|
+
access_token?: string;
|
|
1118
|
+
/** Data format for response. */
|
|
1119
|
+
alt?: string;
|
|
1120
|
+
/** JSONP */
|
|
1121
|
+
callback?: string;
|
|
1122
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1123
|
+
fields?: string;
|
|
1124
|
+
/** 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. */
|
|
1125
|
+
key?: string;
|
|
1126
|
+
/** The name of the operation resource to be cancelled. */
|
|
1127
|
+
name: string;
|
|
1128
|
+
/** OAuth 2.0 token for the current user. */
|
|
1129
|
+
oauth_token?: string;
|
|
1130
|
+
/** Returns response with indentations and line breaks. */
|
|
1131
|
+
prettyPrint?: boolean;
|
|
1132
|
+
/** 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. */
|
|
1133
|
+
quotaUser?: string;
|
|
1134
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1135
|
+
upload_protocol?: string;
|
|
1136
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1137
|
+
uploadType?: string;
|
|
1138
|
+
},
|
|
1139
|
+
body: CancelOperationRequest): Request<{}>;
|
|
1140
|
+
/**
|
|
1141
|
+
* 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
|
|
1142
|
+
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
1143
|
+
*/
|
|
1144
|
+
delete(request?: {
|
|
1145
|
+
/** V1 error format. */
|
|
1146
|
+
"$.xgafv"?: string;
|
|
1147
|
+
/** OAuth access token. */
|
|
1148
|
+
access_token?: string;
|
|
1149
|
+
/** Data format for response. */
|
|
1150
|
+
alt?: string;
|
|
1151
|
+
/** JSONP */
|
|
1152
|
+
callback?: string;
|
|
1153
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1154
|
+
fields?: string;
|
|
1155
|
+
/** 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. */
|
|
1156
|
+
key?: string;
|
|
1157
|
+
/** The name of the operation resource to be deleted. */
|
|
1158
|
+
name: string;
|
|
1159
|
+
/** OAuth 2.0 token for the current user. */
|
|
1160
|
+
oauth_token?: string;
|
|
1161
|
+
/** Returns response with indentations and line breaks. */
|
|
1162
|
+
prettyPrint?: boolean;
|
|
1163
|
+
/** 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. */
|
|
1164
|
+
quotaUser?: string;
|
|
1165
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1166
|
+
upload_protocol?: string;
|
|
1167
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1168
|
+
uploadType?: string;
|
|
1169
|
+
}): Request<{}>;
|
|
1170
|
+
/** 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. */
|
|
1171
|
+
get(request?: {
|
|
1172
|
+
/** V1 error format. */
|
|
1173
|
+
"$.xgafv"?: string;
|
|
1174
|
+
/** OAuth access token. */
|
|
1175
|
+
access_token?: string;
|
|
1176
|
+
/** Data format for response. */
|
|
1177
|
+
alt?: string;
|
|
1178
|
+
/** JSONP */
|
|
1179
|
+
callback?: string;
|
|
1180
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1181
|
+
fields?: string;
|
|
1182
|
+
/** 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. */
|
|
1183
|
+
key?: string;
|
|
1184
|
+
/** The name of the operation resource. */
|
|
1185
|
+
name: string;
|
|
1186
|
+
/** OAuth 2.0 token for the current user. */
|
|
1187
|
+
oauth_token?: string;
|
|
1188
|
+
/** Returns response with indentations and line breaks. */
|
|
1189
|
+
prettyPrint?: boolean;
|
|
1190
|
+
/** 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. */
|
|
1191
|
+
quotaUser?: string;
|
|
1192
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1193
|
+
upload_protocol?: string;
|
|
1194
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1195
|
+
uploadType?: string;
|
|
1196
|
+
}): Request<Operation>;
|
|
1197
|
+
/**
|
|
1198
|
+
* 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
|
|
1199
|
+
* 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
|
|
1200
|
+
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
1201
|
+
* ensure the name binding is the parent resource, without the operations collection id.
|
|
1202
|
+
*/
|
|
1203
|
+
list(request?: {
|
|
1204
|
+
/** V1 error format. */
|
|
1205
|
+
"$.xgafv"?: string;
|
|
1206
|
+
/** OAuth access token. */
|
|
1207
|
+
access_token?: string;
|
|
1208
|
+
/** Data format for response. */
|
|
1209
|
+
alt?: string;
|
|
1210
|
+
/** JSONP */
|
|
1211
|
+
callback?: string;
|
|
1212
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1213
|
+
fields?: string;
|
|
1214
|
+
/** The standard list filter. */
|
|
1215
|
+
filter?: string;
|
|
1216
|
+
/** 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. */
|
|
1217
|
+
key?: string;
|
|
1218
|
+
/** The name of the operation's parent resource. */
|
|
1219
|
+
name: string;
|
|
1220
|
+
/** OAuth 2.0 token for the current user. */
|
|
1221
|
+
oauth_token?: string;
|
|
1222
|
+
/** The standard list page size. */
|
|
1223
|
+
pageSize?: number;
|
|
1224
|
+
/** The standard list page token. */
|
|
1225
|
+
pageToken?: string;
|
|
1226
|
+
/** Returns response with indentations and line breaks. */
|
|
1227
|
+
prettyPrint?: boolean;
|
|
1228
|
+
/** 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. */
|
|
1229
|
+
quotaUser?: string;
|
|
1230
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1231
|
+
upload_protocol?: string;
|
|
1232
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1233
|
+
uploadType?: string;
|
|
1234
|
+
}): Request<ListOperationsResponse>;
|
|
1235
|
+
}
|
|
1236
|
+
interface VersionsResource {
|
|
1237
|
+
/** Gets details of a single connector version. */
|
|
1238
|
+
get(request?: {
|
|
1239
|
+
/** V1 error format. */
|
|
1240
|
+
"$.xgafv"?: string;
|
|
1241
|
+
/** OAuth access token. */
|
|
1242
|
+
access_token?: string;
|
|
1243
|
+
/** Data format for response. */
|
|
1244
|
+
alt?: string;
|
|
1245
|
+
/** JSONP */
|
|
1246
|
+
callback?: string;
|
|
1247
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1248
|
+
fields?: string;
|
|
1249
|
+
/** 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. */
|
|
1250
|
+
key?: string;
|
|
1251
|
+
/** Required. Resource name of the form: `projects/*/locations/*/providers/*/connectors/*/versions/*` Only global location is supported for ConnectorVersion resource. */
|
|
1252
|
+
name: string;
|
|
1253
|
+
/** OAuth 2.0 token for the current user. */
|
|
1254
|
+
oauth_token?: string;
|
|
1255
|
+
/** Returns response with indentations and line breaks. */
|
|
1256
|
+
prettyPrint?: boolean;
|
|
1257
|
+
/** 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. */
|
|
1258
|
+
quotaUser?: string;
|
|
1259
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1260
|
+
upload_protocol?: string;
|
|
1261
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1262
|
+
uploadType?: string;
|
|
1263
|
+
/** Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `CUSTOMER` view. */
|
|
1264
|
+
view?: string;
|
|
1265
|
+
}): Request<ConnectorVersion>;
|
|
1266
|
+
/** Lists Connector Versions in a given project and location. */
|
|
1267
|
+
list(request?: {
|
|
1268
|
+
/** V1 error format. */
|
|
1269
|
+
"$.xgafv"?: string;
|
|
1270
|
+
/** OAuth access token. */
|
|
1271
|
+
access_token?: string;
|
|
1272
|
+
/** Data format for response. */
|
|
1273
|
+
alt?: string;
|
|
1274
|
+
/** JSONP */
|
|
1275
|
+
callback?: string;
|
|
1276
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1277
|
+
fields?: string;
|
|
1278
|
+
/** 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. */
|
|
1279
|
+
key?: string;
|
|
1280
|
+
/** OAuth 2.0 token for the current user. */
|
|
1281
|
+
oauth_token?: string;
|
|
1282
|
+
/** Page size. */
|
|
1283
|
+
pageSize?: number;
|
|
1284
|
+
/** Page token. */
|
|
1285
|
+
pageToken?: string;
|
|
1286
|
+
/** Required. Parent resource of the connectors, of the form: `projects/*/locations/*/providers/*/connectors/*` Only global location is supported for ConnectorVersion resource. */
|
|
1287
|
+
parent: string;
|
|
1288
|
+
/** Returns response with indentations and line breaks. */
|
|
1289
|
+
prettyPrint?: boolean;
|
|
1290
|
+
/** 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. */
|
|
1291
|
+
quotaUser?: string;
|
|
1292
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1293
|
+
upload_protocol?: string;
|
|
1294
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1295
|
+
uploadType?: string;
|
|
1296
|
+
/** Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `BASIC` view. */
|
|
1297
|
+
view?: string;
|
|
1298
|
+
}): Request<ListConnectorVersionsResponse>;
|
|
1299
|
+
}
|
|
1300
|
+
interface ConnectorsResource {
|
|
1301
|
+
/** Gets details of a single Connector. */
|
|
1302
|
+
get(request?: {
|
|
1303
|
+
/** V1 error format. */
|
|
1304
|
+
"$.xgafv"?: string;
|
|
1305
|
+
/** OAuth access token. */
|
|
1306
|
+
access_token?: string;
|
|
1307
|
+
/** Data format for response. */
|
|
1308
|
+
alt?: string;
|
|
1309
|
+
/** JSONP */
|
|
1310
|
+
callback?: string;
|
|
1311
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1312
|
+
fields?: string;
|
|
1313
|
+
/** 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. */
|
|
1314
|
+
key?: string;
|
|
1315
|
+
/** Required. Resource name of the form: `projects/*/locations/*/providers/*/connectors/*` Only global location is supported for Connector resource. */
|
|
1316
|
+
name: string;
|
|
1317
|
+
/** OAuth 2.0 token for the current user. */
|
|
1318
|
+
oauth_token?: string;
|
|
1319
|
+
/** Returns response with indentations and line breaks. */
|
|
1320
|
+
prettyPrint?: boolean;
|
|
1321
|
+
/** 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. */
|
|
1322
|
+
quotaUser?: string;
|
|
1323
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1324
|
+
upload_protocol?: string;
|
|
1325
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1326
|
+
uploadType?: string;
|
|
1327
|
+
}): Request<Connector>;
|
|
1328
|
+
/** Lists Connectors in a given project and location. */
|
|
1329
|
+
list(request?: {
|
|
1330
|
+
/** V1 error format. */
|
|
1331
|
+
"$.xgafv"?: string;
|
|
1332
|
+
/** OAuth access token. */
|
|
1333
|
+
access_token?: string;
|
|
1334
|
+
/** Data format for response. */
|
|
1335
|
+
alt?: string;
|
|
1336
|
+
/** JSONP */
|
|
1337
|
+
callback?: string;
|
|
1338
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1339
|
+
fields?: string;
|
|
1340
|
+
/** 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. */
|
|
1341
|
+
key?: string;
|
|
1342
|
+
/** OAuth 2.0 token for the current user. */
|
|
1343
|
+
oauth_token?: string;
|
|
1344
|
+
/** Page size. */
|
|
1345
|
+
pageSize?: number;
|
|
1346
|
+
/** Page token. */
|
|
1347
|
+
pageToken?: string;
|
|
1348
|
+
/** Required. Parent resource of the connectors, of the form: `projects/*/locations/*/providers/*` Only global location is supported for Connector resource. */
|
|
1349
|
+
parent: string;
|
|
1350
|
+
/** Returns response with indentations and line breaks. */
|
|
1351
|
+
prettyPrint?: boolean;
|
|
1352
|
+
/** 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. */
|
|
1353
|
+
quotaUser?: string;
|
|
1354
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1355
|
+
upload_protocol?: string;
|
|
1356
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1357
|
+
uploadType?: string;
|
|
1358
|
+
}): Request<ListConnectorsResponse>;
|
|
1359
|
+
versions: VersionsResource;
|
|
1360
|
+
}
|
|
1361
|
+
interface ProvidersResource {
|
|
1362
|
+
/** Gets details of a provider. */
|
|
1363
|
+
get(request?: {
|
|
1364
|
+
/** V1 error format. */
|
|
1365
|
+
"$.xgafv"?: string;
|
|
1366
|
+
/** OAuth access token. */
|
|
1367
|
+
access_token?: string;
|
|
1368
|
+
/** Data format for response. */
|
|
1369
|
+
alt?: string;
|
|
1370
|
+
/** JSONP */
|
|
1371
|
+
callback?: string;
|
|
1372
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1373
|
+
fields?: string;
|
|
1374
|
+
/** 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. */
|
|
1375
|
+
key?: string;
|
|
1376
|
+
/** Required. Resource name of the form: `projects/*/locations/*/providers/*` Only global location is supported for Provider resource. */
|
|
1377
|
+
name: string;
|
|
1378
|
+
/** OAuth 2.0 token for the current user. */
|
|
1379
|
+
oauth_token?: string;
|
|
1380
|
+
/** Returns response with indentations and line breaks. */
|
|
1381
|
+
prettyPrint?: boolean;
|
|
1382
|
+
/** 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. */
|
|
1383
|
+
quotaUser?: string;
|
|
1384
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1385
|
+
upload_protocol?: string;
|
|
1386
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1387
|
+
uploadType?: string;
|
|
1388
|
+
}): Request<Provider>;
|
|
1389
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1390
|
+
getIamPolicy(request?: {
|
|
1391
|
+
/** V1 error format. */
|
|
1392
|
+
"$.xgafv"?: string;
|
|
1393
|
+
/** OAuth access token. */
|
|
1394
|
+
access_token?: string;
|
|
1395
|
+
/** Data format for response. */
|
|
1396
|
+
alt?: string;
|
|
1397
|
+
/** JSONP */
|
|
1398
|
+
callback?: string;
|
|
1399
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1400
|
+
fields?: string;
|
|
1401
|
+
/** 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. */
|
|
1402
|
+
key?: string;
|
|
1403
|
+
/** OAuth 2.0 token for the current user. */
|
|
1404
|
+
oauth_token?: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* 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
|
|
1407
|
+
* 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
|
|
1408
|
+
* 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
|
|
1409
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1410
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1411
|
+
*/
|
|
1412
|
+
"options.requestedPolicyVersion"?: number;
|
|
1413
|
+
/** Returns response with indentations and line breaks. */
|
|
1414
|
+
prettyPrint?: boolean;
|
|
1415
|
+
/** 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. */
|
|
1416
|
+
quotaUser?: string;
|
|
1417
|
+
/**
|
|
1418
|
+
* 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
|
|
1419
|
+
* field.
|
|
1420
|
+
*/
|
|
1421
|
+
resource: string;
|
|
1422
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1423
|
+
upload_protocol?: string;
|
|
1424
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1425
|
+
uploadType?: string;
|
|
1426
|
+
}): Request<Policy>;
|
|
1427
|
+
/** Lists Providers in a given project and location. */
|
|
1428
|
+
list(request?: {
|
|
1429
|
+
/** V1 error format. */
|
|
1430
|
+
"$.xgafv"?: string;
|
|
1431
|
+
/** OAuth access token. */
|
|
1432
|
+
access_token?: string;
|
|
1433
|
+
/** Data format for response. */
|
|
1434
|
+
alt?: string;
|
|
1435
|
+
/** JSONP */
|
|
1436
|
+
callback?: string;
|
|
1437
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1438
|
+
fields?: string;
|
|
1439
|
+
/** 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. */
|
|
1440
|
+
key?: string;
|
|
1441
|
+
/** OAuth 2.0 token for the current user. */
|
|
1442
|
+
oauth_token?: string;
|
|
1443
|
+
/** Page size. */
|
|
1444
|
+
pageSize?: number;
|
|
1445
|
+
/** Page token. */
|
|
1446
|
+
pageToken?: string;
|
|
1447
|
+
/** Required. Parent resource of the API, of the form: `projects/*/locations/*` Only global location is supported for Provider resource. */
|
|
1448
|
+
parent: string;
|
|
1449
|
+
/** Returns response with indentations and line breaks. */
|
|
1450
|
+
prettyPrint?: boolean;
|
|
1451
|
+
/** 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. */
|
|
1452
|
+
quotaUser?: string;
|
|
1453
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1454
|
+
upload_protocol?: string;
|
|
1455
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1456
|
+
uploadType?: string;
|
|
1457
|
+
}): Request<ListProvidersResponse>;
|
|
1458
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1459
|
+
setIamPolicy(request: {
|
|
1460
|
+
/** V1 error format. */
|
|
1461
|
+
"$.xgafv"?: string;
|
|
1462
|
+
/** OAuth access token. */
|
|
1463
|
+
access_token?: string;
|
|
1464
|
+
/** Data format for response. */
|
|
1465
|
+
alt?: string;
|
|
1466
|
+
/** JSONP */
|
|
1467
|
+
callback?: string;
|
|
1468
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1469
|
+
fields?: string;
|
|
1470
|
+
/** 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. */
|
|
1471
|
+
key?: string;
|
|
1472
|
+
/** OAuth 2.0 token for the current user. */
|
|
1473
|
+
oauth_token?: string;
|
|
1474
|
+
/** Returns response with indentations and line breaks. */
|
|
1475
|
+
prettyPrint?: boolean;
|
|
1476
|
+
/** 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. */
|
|
1477
|
+
quotaUser?: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* 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
|
|
1480
|
+
* field.
|
|
1481
|
+
*/
|
|
1482
|
+
resource: string;
|
|
1483
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1484
|
+
upload_protocol?: string;
|
|
1485
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1486
|
+
uploadType?: string;
|
|
1487
|
+
},
|
|
1488
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1489
|
+
/**
|
|
1490
|
+
* 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
|
|
1491
|
+
* 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.
|
|
1492
|
+
*/
|
|
1493
|
+
testIamPermissions(request: {
|
|
1494
|
+
/** V1 error format. */
|
|
1495
|
+
"$.xgafv"?: string;
|
|
1496
|
+
/** OAuth access token. */
|
|
1497
|
+
access_token?: string;
|
|
1498
|
+
/** Data format for response. */
|
|
1499
|
+
alt?: string;
|
|
1500
|
+
/** JSONP */
|
|
1501
|
+
callback?: string;
|
|
1502
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1503
|
+
fields?: string;
|
|
1504
|
+
/** 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. */
|
|
1505
|
+
key?: string;
|
|
1506
|
+
/** OAuth 2.0 token for the current user. */
|
|
1507
|
+
oauth_token?: string;
|
|
1508
|
+
/** Returns response with indentations and line breaks. */
|
|
1509
|
+
prettyPrint?: boolean;
|
|
1510
|
+
/** 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. */
|
|
1511
|
+
quotaUser?: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* 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
|
|
1514
|
+
* this field.
|
|
1515
|
+
*/
|
|
1516
|
+
resource: string;
|
|
1517
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1518
|
+
upload_protocol?: string;
|
|
1519
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1520
|
+
uploadType?: string;
|
|
1521
|
+
},
|
|
1522
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1523
|
+
connectors: ConnectorsResource;
|
|
1524
|
+
}
|
|
1525
|
+
interface LocationsResource {
|
|
1526
|
+
/** Gets information about a location. */
|
|
1527
|
+
get(request?: {
|
|
1528
|
+
/** V1 error format. */
|
|
1529
|
+
"$.xgafv"?: string;
|
|
1530
|
+
/** OAuth access token. */
|
|
1531
|
+
access_token?: string;
|
|
1532
|
+
/** Data format for response. */
|
|
1533
|
+
alt?: string;
|
|
1534
|
+
/** JSONP */
|
|
1535
|
+
callback?: string;
|
|
1536
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1537
|
+
fields?: string;
|
|
1538
|
+
/** 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. */
|
|
1539
|
+
key?: string;
|
|
1540
|
+
/** Resource name for the location. */
|
|
1541
|
+
name: string;
|
|
1542
|
+
/** OAuth 2.0 token for the current user. */
|
|
1543
|
+
oauth_token?: string;
|
|
1544
|
+
/** Returns response with indentations and line breaks. */
|
|
1545
|
+
prettyPrint?: boolean;
|
|
1546
|
+
/** 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. */
|
|
1547
|
+
quotaUser?: string;
|
|
1548
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1549
|
+
upload_protocol?: string;
|
|
1550
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1551
|
+
uploadType?: string;
|
|
1552
|
+
}): Request<Location>;
|
|
1553
|
+
/** Gets the runtimeConfig of a location. RuntimeConfig is a singleton resource for each location. */
|
|
1554
|
+
getRuntimeConfig(request?: {
|
|
1555
|
+
/** V1 error format. */
|
|
1556
|
+
"$.xgafv"?: string;
|
|
1557
|
+
/** OAuth access token. */
|
|
1558
|
+
access_token?: string;
|
|
1559
|
+
/** Data format for response. */
|
|
1560
|
+
alt?: string;
|
|
1561
|
+
/** JSONP */
|
|
1562
|
+
callback?: string;
|
|
1563
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1564
|
+
fields?: string;
|
|
1565
|
+
/** 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. */
|
|
1566
|
+
key?: string;
|
|
1567
|
+
/** Required. Resource name of the form: `projects/*/locations/*/runtimeConfig` */
|
|
1568
|
+
name: string;
|
|
1569
|
+
/** OAuth 2.0 token for the current user. */
|
|
1570
|
+
oauth_token?: string;
|
|
1571
|
+
/** Returns response with indentations and line breaks. */
|
|
1572
|
+
prettyPrint?: boolean;
|
|
1573
|
+
/** 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. */
|
|
1574
|
+
quotaUser?: 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
|
+
}): Request<RuntimeConfig>;
|
|
1580
|
+
/** Lists information about the supported locations for this service. */
|
|
1581
|
+
list(request?: {
|
|
1582
|
+
/** V1 error format. */
|
|
1583
|
+
"$.xgafv"?: string;
|
|
1584
|
+
/** OAuth access token. */
|
|
1585
|
+
access_token?: string;
|
|
1586
|
+
/** Data format for response. */
|
|
1587
|
+
alt?: string;
|
|
1588
|
+
/** JSONP */
|
|
1589
|
+
callback?: string;
|
|
1590
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1591
|
+
fields?: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* 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
|
|
1594
|
+
* [AIP-160](https://google.aip.dev/160).
|
|
1595
|
+
*/
|
|
1596
|
+
filter?: string;
|
|
1597
|
+
/** 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. */
|
|
1598
|
+
key?: string;
|
|
1599
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
1600
|
+
name: string;
|
|
1601
|
+
/** OAuth 2.0 token for the current user. */
|
|
1602
|
+
oauth_token?: string;
|
|
1603
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1604
|
+
pageSize?: number;
|
|
1605
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1606
|
+
pageToken?: string;
|
|
1607
|
+
/** Returns response with indentations and line breaks. */
|
|
1608
|
+
prettyPrint?: boolean;
|
|
1609
|
+
/** 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. */
|
|
1610
|
+
quotaUser?: string;
|
|
1611
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1612
|
+
upload_protocol?: string;
|
|
1613
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1614
|
+
uploadType?: string;
|
|
1615
|
+
}): Request<ListLocationsResponse>;
|
|
1616
|
+
connections: ConnectionsResource;
|
|
1617
|
+
operations: OperationsResource;
|
|
1618
|
+
providers: ProvidersResource;
|
|
1619
|
+
}
|
|
1620
|
+
interface ProjectsResource {
|
|
1621
|
+
locations: LocationsResource;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
const projects: ProjectsResource;
|
|
1625
|
+
}
|
|
1626
|
+
}
|