@maxim_mazurok/gapi.client.eventarc-v1 0.0.20231027 → 0.0.20231129
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 +1566 -2447
- package/package.json +6 -6
- package/readme.md +17 -12
- package/tests.ts +0 -468
- package/tsconfig.json +0 -18
- package/tslint.json +0 -6
package/index.d.ts
CHANGED
|
@@ -9,2457 +9,1576 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://eventarc.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231129
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
/** Load Eventarc API v1 */
|
|
18
|
+
function load(
|
|
19
|
+
urlOrObject: 'https://eventarc.googleapis.com/$discovery/rest?version=v1'
|
|
20
|
+
): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: 'eventarc', version: 'v1'): Promise<void>;
|
|
23
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
24
|
+
function load(name: 'eventarc', version: 'v1', callback: () => any): void;
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
location?:
|
|
221
|
-
string;
|
|
222
|
-
/** 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. */
|
|
223
|
-
title?:
|
|
224
|
-
string;
|
|
225
|
-
}
|
|
226
|
-
interface FilteringAttribute {
|
|
227
|
-
/** Output only. Attribute used for filtering the event type. */
|
|
228
|
-
attribute?:
|
|
229
|
-
string;
|
|
230
|
-
/** Output only. Description of the purpose of the attribute. */
|
|
231
|
-
description?:
|
|
232
|
-
string;
|
|
233
|
-
/** Output only. If true, the attribute accepts matching expressions in the Eventarc PathPattern format. */
|
|
234
|
-
pathPatternSupported?:
|
|
235
|
-
boolean;
|
|
236
|
-
/** Output only. If true, the triggers for this provider should always specify a filter on these attributes. Trigger creation will fail otherwise. */
|
|
237
|
-
required?:
|
|
238
|
-
boolean;
|
|
239
|
-
}
|
|
240
|
-
interface GKE {
|
|
241
|
-
/** Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created. */
|
|
242
|
-
cluster?:
|
|
243
|
-
string;
|
|
244
|
-
/**
|
|
245
|
-
* Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for
|
|
246
|
-
* example, us-central1) for regional clusters.
|
|
247
|
-
*/
|
|
248
|
-
location?:
|
|
249
|
-
string;
|
|
250
|
-
/** Required. The namespace the GKE service is running in. */
|
|
251
|
-
namespace?:
|
|
252
|
-
string;
|
|
253
|
-
/**
|
|
254
|
-
* Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples:
|
|
255
|
-
* "/route", "route", "route/subroute".
|
|
256
|
-
*/
|
|
257
|
-
path?:
|
|
258
|
-
string;
|
|
259
|
-
/** Required. Name of the GKE service. */
|
|
260
|
-
service?:
|
|
261
|
-
string;
|
|
262
|
-
}
|
|
263
|
-
interface GoogleChannelConfig {
|
|
264
|
-
/**
|
|
265
|
-
* Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern
|
|
266
|
-
* `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
|
267
|
-
*/
|
|
268
|
-
cryptoKeyName?:
|
|
269
|
-
string;
|
|
270
|
-
/** Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. */
|
|
271
|
-
name?:
|
|
272
|
-
string;
|
|
273
|
-
/** Output only. The last-modified time. */
|
|
274
|
-
updateTime?:
|
|
275
|
-
string;
|
|
276
|
-
}
|
|
277
|
-
// tslint:disable-next-line:no-empty-interface
|
|
278
|
-
interface GoogleLongrunningCancelOperationRequest {
|
|
279
|
-
}
|
|
280
|
-
interface GoogleLongrunningListOperationsResponse {
|
|
281
|
-
/** The standard List next-page token. */
|
|
282
|
-
nextPageToken?:
|
|
283
|
-
string;
|
|
284
|
-
/** A list of operations that matches the specified filter in the request. */
|
|
285
|
-
operations?:
|
|
286
|
-
GoogleLongrunningOperation[];
|
|
287
|
-
}
|
|
288
|
-
interface GoogleLongrunningOperation {
|
|
289
|
-
/** 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. */
|
|
290
|
-
done?:
|
|
291
|
-
boolean;
|
|
292
|
-
/** The error result of the operation in case of failure or cancellation. */
|
|
293
|
-
error?:
|
|
294
|
-
GoogleRpcStatus;
|
|
295
|
-
/**
|
|
296
|
-
* 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
|
|
297
|
-
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
298
|
-
*/
|
|
299
|
-
metadata?:
|
|
300
|
-
{ [P in string]: any };
|
|
301
|
-
/**
|
|
302
|
-
* 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
|
|
303
|
-
* with `operations/{unique_id}`.
|
|
304
|
-
*/
|
|
305
|
-
name?:
|
|
306
|
-
string;
|
|
307
|
-
/**
|
|
308
|
-
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
|
|
309
|
-
* method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
|
|
310
|
-
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
311
|
-
*/
|
|
312
|
-
response?:
|
|
313
|
-
{ [P in string]: any };
|
|
314
|
-
}
|
|
315
|
-
interface GoogleRpcStatus {
|
|
316
|
-
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
317
|
-
code?:
|
|
318
|
-
number;
|
|
319
|
-
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
320
|
-
details?:
|
|
321
|
-
Array<{ [P in string]: any }>;
|
|
322
|
-
/**
|
|
323
|
-
* 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
|
|
324
|
-
* client.
|
|
325
|
-
*/
|
|
326
|
-
message?:
|
|
327
|
-
string;
|
|
328
|
-
}
|
|
329
|
-
interface HttpEndpoint {
|
|
330
|
-
/**
|
|
331
|
-
* Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS
|
|
332
|
-
* protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud
|
|
333
|
-
* DNS.
|
|
334
|
-
*/
|
|
335
|
-
uri?:
|
|
336
|
-
string;
|
|
337
|
-
}
|
|
338
|
-
interface ListChannelConnectionsResponse {
|
|
339
|
-
/** The requested channel connections, up to the number specified in `page_size`. */
|
|
340
|
-
channelConnections?:
|
|
341
|
-
ChannelConnection[];
|
|
342
|
-
/** A page token that can be sent to `ListChannelConnections` to request the next page. If this is empty, then there are no more pages. */
|
|
343
|
-
nextPageToken?:
|
|
344
|
-
string;
|
|
345
|
-
/** Unreachable resources, if any. */
|
|
346
|
-
unreachable?:
|
|
347
|
-
string[];
|
|
348
|
-
}
|
|
349
|
-
interface ListChannelsResponse {
|
|
350
|
-
/** The requested channels, up to the number specified in `page_size`. */
|
|
351
|
-
channels?:
|
|
352
|
-
Channel[];
|
|
353
|
-
/** A page token that can be sent to `ListChannels` to request the next page. If this is empty, then there are no more pages. */
|
|
354
|
-
nextPageToken?:
|
|
355
|
-
string;
|
|
356
|
-
/** Unreachable resources, if any. */
|
|
357
|
-
unreachable?:
|
|
358
|
-
string[];
|
|
359
|
-
}
|
|
360
|
-
interface ListLocationsResponse {
|
|
361
|
-
/** A list of locations that matches the specified filter in the request. */
|
|
362
|
-
locations?:
|
|
363
|
-
Location[];
|
|
364
|
-
/** The standard List next-page token. */
|
|
365
|
-
nextPageToken?:
|
|
366
|
-
string;
|
|
367
|
-
}
|
|
368
|
-
interface ListProvidersResponse {
|
|
369
|
-
/** A page token that can be sent to `ListProviders` to request the next page. If this is empty, then there are no more pages. */
|
|
370
|
-
nextPageToken?:
|
|
371
|
-
string;
|
|
372
|
-
/** The requested providers, up to the number specified in `page_size`. */
|
|
373
|
-
providers?:
|
|
374
|
-
Provider[];
|
|
375
|
-
/** Unreachable resources, if any. */
|
|
376
|
-
unreachable?:
|
|
377
|
-
string[];
|
|
378
|
-
}
|
|
379
|
-
interface ListTriggersResponse {
|
|
380
|
-
/** A page token that can be sent to `ListTriggers` to request the next page. If this is empty, then there are no more pages. */
|
|
381
|
-
nextPageToken?:
|
|
382
|
-
string;
|
|
383
|
-
/** The requested triggers, up to the number specified in `page_size`. */
|
|
384
|
-
triggers?:
|
|
385
|
-
Trigger[];
|
|
386
|
-
/** Unreachable resources, if any. */
|
|
387
|
-
unreachable?:
|
|
388
|
-
string[];
|
|
389
|
-
}
|
|
390
|
-
interface Location {
|
|
391
|
-
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
392
|
-
displayName?:
|
|
393
|
-
string;
|
|
394
|
-
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
395
|
-
labels?:
|
|
396
|
-
{ [P in string]: string };
|
|
397
|
-
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
398
|
-
locationId?:
|
|
399
|
-
string;
|
|
400
|
-
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
401
|
-
metadata?:
|
|
402
|
-
{ [P in string]: any };
|
|
403
|
-
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
404
|
-
name?:
|
|
405
|
-
string;
|
|
406
|
-
}
|
|
407
|
-
interface NetworkConfig {
|
|
408
|
-
/** Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` */
|
|
409
|
-
networkAttachment?:
|
|
410
|
-
string;
|
|
411
|
-
}
|
|
412
|
-
interface OperationMetadata {
|
|
413
|
-
/** Output only. API version used to start the operation. */
|
|
414
|
-
apiVersion?:
|
|
415
|
-
string;
|
|
416
|
-
/** Output only. The time the operation was created. */
|
|
417
|
-
createTime?:
|
|
418
|
-
string;
|
|
419
|
-
/** Output only. The time the operation finished running. */
|
|
420
|
-
endTime?:
|
|
421
|
-
string;
|
|
422
|
-
/**
|
|
423
|
-
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a
|
|
424
|
-
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
425
|
-
*/
|
|
426
|
-
requestedCancellation?:
|
|
427
|
-
boolean;
|
|
428
|
-
/** Output only. Human-readable status of the operation, if any. */
|
|
429
|
-
statusMessage?:
|
|
430
|
-
string;
|
|
431
|
-
/** Output only. Server-defined resource path for the target of the operation. */
|
|
432
|
-
target?:
|
|
433
|
-
string;
|
|
434
|
-
/** Output only. Name of the verb executed by the operation. */
|
|
435
|
-
verb?:
|
|
436
|
-
string;
|
|
437
|
-
}
|
|
438
|
-
interface Policy {
|
|
439
|
-
/** Specifies cloud audit logging configuration for this policy. */
|
|
440
|
-
auditConfigs?:
|
|
441
|
-
AuditConfig[];
|
|
442
|
-
/**
|
|
443
|
-
* 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`
|
|
444
|
-
* 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
|
|
445
|
-
* 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
|
|
446
|
-
* 1,450 principals to the `bindings` in the `Policy`.
|
|
447
|
-
*/
|
|
448
|
-
bindings?:
|
|
449
|
-
Binding[];
|
|
450
|
-
/**
|
|
451
|
-
* `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
|
|
452
|
-
* 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
|
|
453
|
-
* 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
|
|
454
|
-
* 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`
|
|
455
|
-
* policy, and all of the conditions in the version `3` policy are lost.
|
|
456
|
-
*/
|
|
457
|
-
etag?:
|
|
458
|
-
string;
|
|
459
|
-
/**
|
|
460
|
-
* 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
|
|
461
|
-
* 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
|
|
462
|
-
* 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
|
|
463
|
-
* 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`
|
|
464
|
-
* 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
|
|
465
|
-
* 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).
|
|
466
|
-
*/
|
|
467
|
-
version?:
|
|
468
|
-
number;
|
|
469
|
-
}
|
|
470
|
-
interface Provider {
|
|
471
|
-
/** Output only. Human friendly name for the Provider. For example "Cloud Storage". */
|
|
472
|
-
displayName?:
|
|
473
|
-
string;
|
|
474
|
-
/** Output only. Event types for this provider. */
|
|
475
|
-
eventTypes?:
|
|
476
|
-
EventType[];
|
|
477
|
-
/** Output only. In `projects/{project}/locations/{location}/providers/{provider_id}` format. */
|
|
478
|
-
name?:
|
|
479
|
-
string;
|
|
480
|
-
}
|
|
481
|
-
interface Pubsub {
|
|
482
|
-
/**
|
|
483
|
-
* Output only. The name of the Pub/Sub subscription created and managed by Eventarc as a transport for the event delivery. Format:
|
|
484
|
-
* `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
|
485
|
-
*/
|
|
486
|
-
subscription?:
|
|
487
|
-
string;
|
|
488
|
-
/**
|
|
489
|
-
* Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an
|
|
490
|
-
* existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion.
|
|
491
|
-
*/
|
|
492
|
-
topic?:
|
|
493
|
-
string;
|
|
494
|
-
}
|
|
495
|
-
interface SetIamPolicyRequest {
|
|
496
|
-
/**
|
|
497
|
-
* 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
|
|
498
|
-
* services (such as Projects) might reject them.
|
|
499
|
-
*/
|
|
500
|
-
policy?:
|
|
501
|
-
Policy;
|
|
502
|
-
/**
|
|
503
|
-
* 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:
|
|
504
|
-
* `paths: "bindings, etag"`
|
|
505
|
-
*/
|
|
506
|
-
updateMask?:
|
|
507
|
-
string;
|
|
508
|
-
}
|
|
509
|
-
interface StateCondition {
|
|
510
|
-
/** The canonical code of the condition. */
|
|
511
|
-
code?:
|
|
512
|
-
string;
|
|
513
|
-
/** Human-readable message. */
|
|
514
|
-
message?:
|
|
515
|
-
string;
|
|
516
|
-
}
|
|
517
|
-
interface TestIamPermissionsRequest {
|
|
518
|
-
/**
|
|
519
|
-
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
520
|
-
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
521
|
-
*/
|
|
522
|
-
permissions?:
|
|
523
|
-
string[];
|
|
524
|
-
}
|
|
525
|
-
interface TestIamPermissionsResponse {
|
|
526
|
-
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
527
|
-
permissions?:
|
|
528
|
-
string[];
|
|
529
|
-
}
|
|
530
|
-
interface Transport {
|
|
531
|
-
/** The Pub/Sub topic and subscription used by Eventarc as a transport intermediary. */
|
|
532
|
-
pubsub?:
|
|
533
|
-
Pubsub;
|
|
534
|
-
}
|
|
535
|
-
interface Trigger {
|
|
536
|
-
/**
|
|
537
|
-
* Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events
|
|
538
|
-
* from Eventarc SaaS partners.
|
|
539
|
-
*/
|
|
540
|
-
channel?:
|
|
541
|
-
string;
|
|
542
|
-
/** Output only. The reason(s) why a trigger is in FAILED state. */
|
|
543
|
-
conditions?:
|
|
544
|
-
{ [P in string]: StateCondition };
|
|
545
|
-
/** Output only. The creation time. */
|
|
546
|
-
createTime?:
|
|
547
|
-
string;
|
|
548
|
-
/** Required. Destination specifies where the events should be sent to. */
|
|
549
|
-
destination?:
|
|
550
|
-
Destination;
|
|
551
|
-
/**
|
|
552
|
-
* Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value
|
|
553
|
-
* before proceeding.
|
|
554
|
-
*/
|
|
555
|
-
etag?:
|
|
556
|
-
string;
|
|
557
|
-
/**
|
|
558
|
-
* Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not
|
|
559
|
-
* defined.
|
|
560
|
-
*/
|
|
561
|
-
eventDataContentType?:
|
|
562
|
-
string;
|
|
563
|
-
/** Required. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination. */
|
|
564
|
-
eventFilters?:
|
|
565
|
-
EventFilter[];
|
|
566
|
-
/** Optional. User labels attached to the triggers that can be used to group resources. */
|
|
567
|
-
labels?:
|
|
568
|
-
{ [P in string]: string };
|
|
569
|
-
/** Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format. */
|
|
570
|
-
name?:
|
|
571
|
-
string;
|
|
572
|
-
/**
|
|
573
|
-
* Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be
|
|
574
|
-
* granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions)
|
|
575
|
-
* page specific to the trigger destination.
|
|
576
|
-
*/
|
|
577
|
-
serviceAccount?:
|
|
578
|
-
string;
|
|
579
|
-
/**
|
|
580
|
-
* Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This
|
|
581
|
-
* information can be used for debugging purposes.
|
|
582
|
-
*/
|
|
583
|
-
transport?:
|
|
584
|
-
Transport;
|
|
585
|
-
/** Output only. Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */
|
|
586
|
-
uid?:
|
|
587
|
-
string;
|
|
588
|
-
/** Output only. The last-modified time. */
|
|
589
|
-
updateTime?:
|
|
590
|
-
string;
|
|
591
|
-
}
|
|
592
|
-
interface ChannelConnectionsResource {
|
|
593
|
-
/** Create a new ChannelConnection in a particular project and location. */
|
|
594
|
-
create(request: {
|
|
595
|
-
/** V1 error format. */
|
|
596
|
-
"$.xgafv"?:
|
|
597
|
-
string;
|
|
598
|
-
/** OAuth access token. */
|
|
599
|
-
access_token?:
|
|
600
|
-
string;
|
|
601
|
-
/** Data format for response. */
|
|
602
|
-
alt?:
|
|
603
|
-
string;
|
|
604
|
-
/** JSONP */
|
|
605
|
-
callback?:
|
|
606
|
-
string;
|
|
607
|
-
/** Required. The user-provided ID to be assigned to the channel connection. */
|
|
608
|
-
channelConnectionId?:
|
|
609
|
-
string;
|
|
610
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
611
|
-
fields?:
|
|
612
|
-
string;
|
|
613
|
-
/** 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. */
|
|
614
|
-
key?:
|
|
615
|
-
string;
|
|
616
|
-
/** OAuth 2.0 token for the current user. */
|
|
617
|
-
oauth_token?:
|
|
618
|
-
string;
|
|
619
|
-
/** Required. The parent collection in which to add this channel connection. */
|
|
620
|
-
parent:
|
|
621
|
-
string;
|
|
622
|
-
/** Returns response with indentations and line breaks. */
|
|
623
|
-
prettyPrint?:
|
|
624
|
-
boolean;
|
|
625
|
-
/** 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. */
|
|
626
|
-
quotaUser?:
|
|
627
|
-
string;
|
|
628
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
629
|
-
upload_protocol?:
|
|
630
|
-
string;
|
|
631
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
632
|
-
uploadType?:
|
|
633
|
-
string;
|
|
634
|
-
/** Request body */
|
|
635
|
-
resource:
|
|
636
|
-
ChannelConnection;
|
|
637
|
-
}): Request<GoogleLongrunningOperation>;
|
|
638
|
-
create(request: {
|
|
639
|
-
/** V1 error format. */
|
|
640
|
-
"$.xgafv"?:
|
|
641
|
-
string;
|
|
642
|
-
/** OAuth access token. */
|
|
643
|
-
access_token?:
|
|
644
|
-
string;
|
|
645
|
-
/** Data format for response. */
|
|
646
|
-
alt?:
|
|
647
|
-
string;
|
|
648
|
-
/** JSONP */
|
|
649
|
-
callback?:
|
|
650
|
-
string;
|
|
651
|
-
/** Required. The user-provided ID to be assigned to the channel connection. */
|
|
652
|
-
channelConnectionId?:
|
|
653
|
-
string;
|
|
654
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
655
|
-
fields?:
|
|
656
|
-
string;
|
|
657
|
-
/** 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. */
|
|
658
|
-
key?:
|
|
659
|
-
string;
|
|
660
|
-
/** OAuth 2.0 token for the current user. */
|
|
661
|
-
oauth_token?:
|
|
662
|
-
string;
|
|
663
|
-
/** Required. The parent collection in which to add this channel connection. */
|
|
664
|
-
parent:
|
|
665
|
-
string;
|
|
666
|
-
/** Returns response with indentations and line breaks. */
|
|
667
|
-
prettyPrint?:
|
|
668
|
-
boolean;
|
|
669
|
-
/** 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. */
|
|
670
|
-
quotaUser?:
|
|
671
|
-
string;
|
|
672
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
673
|
-
upload_protocol?:
|
|
674
|
-
string;
|
|
675
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
676
|
-
uploadType?:
|
|
677
|
-
string;
|
|
678
|
-
},
|
|
679
|
-
body: ChannelConnection): Request<GoogleLongrunningOperation>;
|
|
680
|
-
/** Delete a single ChannelConnection. */
|
|
681
|
-
delete(request?: {
|
|
682
|
-
/** V1 error format. */
|
|
683
|
-
"$.xgafv"?:
|
|
684
|
-
string;
|
|
685
|
-
/** OAuth access token. */
|
|
686
|
-
access_token?:
|
|
687
|
-
string;
|
|
688
|
-
/** Data format for response. */
|
|
689
|
-
alt?:
|
|
690
|
-
string;
|
|
691
|
-
/** JSONP */
|
|
692
|
-
callback?:
|
|
693
|
-
string;
|
|
694
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
695
|
-
fields?:
|
|
696
|
-
string;
|
|
697
|
-
/** 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. */
|
|
698
|
-
key?:
|
|
699
|
-
string;
|
|
700
|
-
/** Required. The name of the channel connection to delete. */
|
|
701
|
-
name:
|
|
702
|
-
string;
|
|
703
|
-
/** OAuth 2.0 token for the current user. */
|
|
704
|
-
oauth_token?:
|
|
705
|
-
string;
|
|
706
|
-
/** Returns response with indentations and line breaks. */
|
|
707
|
-
prettyPrint?:
|
|
708
|
-
boolean;
|
|
709
|
-
/** 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. */
|
|
710
|
-
quotaUser?:
|
|
711
|
-
string;
|
|
712
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
713
|
-
upload_protocol?:
|
|
714
|
-
string;
|
|
715
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
716
|
-
uploadType?:
|
|
717
|
-
string;
|
|
718
|
-
}): Request<GoogleLongrunningOperation>;
|
|
719
|
-
/** Get a single ChannelConnection. */
|
|
720
|
-
get(request?: {
|
|
721
|
-
/** V1 error format. */
|
|
722
|
-
"$.xgafv"?:
|
|
723
|
-
string;
|
|
724
|
-
/** OAuth access token. */
|
|
725
|
-
access_token?:
|
|
726
|
-
string;
|
|
727
|
-
/** Data format for response. */
|
|
728
|
-
alt?:
|
|
729
|
-
string;
|
|
730
|
-
/** JSONP */
|
|
731
|
-
callback?:
|
|
732
|
-
string;
|
|
733
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
734
|
-
fields?:
|
|
735
|
-
string;
|
|
736
|
-
/** 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. */
|
|
737
|
-
key?:
|
|
738
|
-
string;
|
|
739
|
-
/** Required. The name of the channel connection to get. */
|
|
740
|
-
name:
|
|
741
|
-
string;
|
|
742
|
-
/** OAuth 2.0 token for the current user. */
|
|
743
|
-
oauth_token?:
|
|
744
|
-
string;
|
|
745
|
-
/** Returns response with indentations and line breaks. */
|
|
746
|
-
prettyPrint?:
|
|
747
|
-
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?:
|
|
750
|
-
string;
|
|
751
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
752
|
-
upload_protocol?:
|
|
753
|
-
string;
|
|
754
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
755
|
-
uploadType?:
|
|
756
|
-
string;
|
|
757
|
-
}): Request<ChannelConnection>;
|
|
758
|
-
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
759
|
-
getIamPolicy(request?: {
|
|
760
|
-
/** V1 error format. */
|
|
761
|
-
"$.xgafv"?:
|
|
762
|
-
string;
|
|
763
|
-
/** OAuth access token. */
|
|
764
|
-
access_token?:
|
|
765
|
-
string;
|
|
766
|
-
/** Data format for response. */
|
|
767
|
-
alt?:
|
|
768
|
-
string;
|
|
769
|
-
/** JSONP */
|
|
770
|
-
callback?:
|
|
771
|
-
string;
|
|
772
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
773
|
-
fields?:
|
|
774
|
-
string;
|
|
775
|
-
/** 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. */
|
|
776
|
-
key?:
|
|
777
|
-
string;
|
|
778
|
-
/** OAuth 2.0 token for the current user. */
|
|
779
|
-
oauth_token?:
|
|
780
|
-
string;
|
|
781
|
-
/**
|
|
782
|
-
* 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
|
|
783
|
-
* 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
|
|
784
|
-
* 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
|
|
785
|
-
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
786
|
-
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
787
|
-
*/
|
|
788
|
-
"options.requestedPolicyVersion"?:
|
|
789
|
-
number;
|
|
790
|
-
/** Returns response with indentations and line breaks. */
|
|
791
|
-
prettyPrint?:
|
|
792
|
-
boolean;
|
|
793
|
-
/** 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. */
|
|
794
|
-
quotaUser?:
|
|
795
|
-
string;
|
|
796
|
-
/**
|
|
797
|
-
* 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
|
|
798
|
-
* field.
|
|
799
|
-
*/
|
|
800
|
-
resource:
|
|
801
|
-
string;
|
|
802
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
803
|
-
upload_protocol?:
|
|
804
|
-
string;
|
|
805
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
806
|
-
uploadType?:
|
|
807
|
-
string;
|
|
808
|
-
}): Request<Policy>;
|
|
809
|
-
/** List channel connections. */
|
|
810
|
-
list(request?: {
|
|
811
|
-
/** V1 error format. */
|
|
812
|
-
"$.xgafv"?:
|
|
813
|
-
string;
|
|
814
|
-
/** OAuth access token. */
|
|
815
|
-
access_token?:
|
|
816
|
-
string;
|
|
817
|
-
/** Data format for response. */
|
|
818
|
-
alt?:
|
|
819
|
-
string;
|
|
820
|
-
/** JSONP */
|
|
821
|
-
callback?:
|
|
822
|
-
string;
|
|
823
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
824
|
-
fields?:
|
|
825
|
-
string;
|
|
826
|
-
/** 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. */
|
|
827
|
-
key?:
|
|
828
|
-
string;
|
|
829
|
-
/** OAuth 2.0 token for the current user. */
|
|
830
|
-
oauth_token?:
|
|
831
|
-
string;
|
|
832
|
-
/** The maximum number of channel connections to return on each page. Note: The service may send fewer responses. */
|
|
833
|
-
pageSize?:
|
|
834
|
-
number;
|
|
835
|
-
/**
|
|
836
|
-
* The page token; provide the value from the `next_page_token` field in a previous `ListChannelConnections` call to retrieve the subsequent page. When paginating, all other
|
|
837
|
-
* parameters provided to `ListChannelConnetions` match the call that provided the page token.
|
|
838
|
-
*/
|
|
839
|
-
pageToken?:
|
|
840
|
-
string;
|
|
841
|
-
/** Required. The parent collection from which to list channel connections. */
|
|
842
|
-
parent:
|
|
843
|
-
string;
|
|
844
|
-
/** Returns response with indentations and line breaks. */
|
|
845
|
-
prettyPrint?:
|
|
846
|
-
boolean;
|
|
847
|
-
/** 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. */
|
|
848
|
-
quotaUser?:
|
|
849
|
-
string;
|
|
850
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
851
|
-
upload_protocol?:
|
|
852
|
-
string;
|
|
853
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
854
|
-
uploadType?:
|
|
855
|
-
string;
|
|
856
|
-
}): Request<ListChannelConnectionsResponse>;
|
|
857
|
-
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
858
|
-
setIamPolicy(request: {
|
|
859
|
-
/** V1 error format. */
|
|
860
|
-
"$.xgafv"?:
|
|
861
|
-
string;
|
|
862
|
-
/** OAuth access token. */
|
|
863
|
-
access_token?:
|
|
864
|
-
string;
|
|
865
|
-
/** Data format for response. */
|
|
866
|
-
alt?:
|
|
867
|
-
string;
|
|
868
|
-
/** JSONP */
|
|
869
|
-
callback?:
|
|
870
|
-
string;
|
|
871
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
872
|
-
fields?:
|
|
873
|
-
string;
|
|
874
|
-
/** 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. */
|
|
875
|
-
key?:
|
|
876
|
-
string;
|
|
877
|
-
/** OAuth 2.0 token for the current user. */
|
|
878
|
-
oauth_token?:
|
|
879
|
-
string;
|
|
880
|
-
/** Returns response with indentations and line breaks. */
|
|
881
|
-
prettyPrint?:
|
|
882
|
-
boolean;
|
|
883
|
-
/** 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. */
|
|
884
|
-
quotaUser?:
|
|
885
|
-
string;
|
|
886
|
-
/**
|
|
887
|
-
* 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
|
|
888
|
-
* field.
|
|
889
|
-
*/
|
|
890
|
-
resource:
|
|
891
|
-
string;
|
|
892
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
893
|
-
upload_protocol?:
|
|
894
|
-
string;
|
|
895
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
896
|
-
uploadType?:
|
|
897
|
-
string;
|
|
898
|
-
},
|
|
899
|
-
body: SetIamPolicyRequest): Request<Policy>;
|
|
900
|
-
/**
|
|
901
|
-
* 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
|
|
902
|
-
* 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.
|
|
903
|
-
*/
|
|
904
|
-
testIamPermissions(request: {
|
|
905
|
-
/** V1 error format. */
|
|
906
|
-
"$.xgafv"?:
|
|
907
|
-
string;
|
|
908
|
-
/** OAuth access token. */
|
|
909
|
-
access_token?:
|
|
910
|
-
string;
|
|
911
|
-
/** Data format for response. */
|
|
912
|
-
alt?:
|
|
913
|
-
string;
|
|
914
|
-
/** JSONP */
|
|
915
|
-
callback?:
|
|
916
|
-
string;
|
|
917
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
918
|
-
fields?:
|
|
919
|
-
string;
|
|
920
|
-
/** 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. */
|
|
921
|
-
key?:
|
|
922
|
-
string;
|
|
923
|
-
/** OAuth 2.0 token for the current user. */
|
|
924
|
-
oauth_token?:
|
|
925
|
-
string;
|
|
926
|
-
/** Returns response with indentations and line breaks. */
|
|
927
|
-
prettyPrint?:
|
|
928
|
-
boolean;
|
|
929
|
-
/** 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. */
|
|
930
|
-
quotaUser?:
|
|
931
|
-
string;
|
|
932
|
-
/**
|
|
933
|
-
* 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
|
|
934
|
-
* this field.
|
|
935
|
-
*/
|
|
936
|
-
resource:
|
|
937
|
-
string;
|
|
938
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
939
|
-
upload_protocol?:
|
|
940
|
-
string;
|
|
941
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
942
|
-
uploadType?:
|
|
943
|
-
string;
|
|
944
|
-
},
|
|
945
|
-
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
946
|
-
}
|
|
947
|
-
interface ChannelsResource {
|
|
948
|
-
/** Create a new channel in a particular project and location. */
|
|
949
|
-
create(request: {
|
|
950
|
-
/** V1 error format. */
|
|
951
|
-
"$.xgafv"?:
|
|
952
|
-
string;
|
|
953
|
-
/** OAuth access token. */
|
|
954
|
-
access_token?:
|
|
955
|
-
string;
|
|
956
|
-
/** Data format for response. */
|
|
957
|
-
alt?:
|
|
958
|
-
string;
|
|
959
|
-
/** JSONP */
|
|
960
|
-
callback?:
|
|
961
|
-
string;
|
|
962
|
-
/** Required. The user-provided ID to be assigned to the channel. */
|
|
963
|
-
channelId?:
|
|
964
|
-
string;
|
|
965
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
966
|
-
fields?:
|
|
967
|
-
string;
|
|
968
|
-
/** 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. */
|
|
969
|
-
key?:
|
|
970
|
-
string;
|
|
971
|
-
/** OAuth 2.0 token for the current user. */
|
|
972
|
-
oauth_token?:
|
|
973
|
-
string;
|
|
974
|
-
/** Required. The parent collection in which to add this channel. */
|
|
975
|
-
parent:
|
|
976
|
-
string;
|
|
977
|
-
/** Returns response with indentations and line breaks. */
|
|
978
|
-
prettyPrint?:
|
|
979
|
-
boolean;
|
|
980
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
981
|
-
quotaUser?:
|
|
982
|
-
string;
|
|
983
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
984
|
-
upload_protocol?:
|
|
985
|
-
string;
|
|
986
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
987
|
-
uploadType?:
|
|
988
|
-
string;
|
|
989
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
990
|
-
validateOnly?:
|
|
991
|
-
boolean;
|
|
992
|
-
/** Request body */
|
|
993
|
-
resource:
|
|
994
|
-
Channel;
|
|
995
|
-
}): Request<GoogleLongrunningOperation>;
|
|
996
|
-
create(request: {
|
|
997
|
-
/** V1 error format. */
|
|
998
|
-
"$.xgafv"?:
|
|
999
|
-
string;
|
|
1000
|
-
/** OAuth access token. */
|
|
1001
|
-
access_token?:
|
|
1002
|
-
string;
|
|
1003
|
-
/** Data format for response. */
|
|
1004
|
-
alt?:
|
|
1005
|
-
string;
|
|
1006
|
-
/** JSONP */
|
|
1007
|
-
callback?:
|
|
1008
|
-
string;
|
|
1009
|
-
/** Required. The user-provided ID to be assigned to the channel. */
|
|
1010
|
-
channelId?:
|
|
1011
|
-
string;
|
|
1012
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1013
|
-
fields?:
|
|
1014
|
-
string;
|
|
1015
|
-
/** 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. */
|
|
1016
|
-
key?:
|
|
1017
|
-
string;
|
|
1018
|
-
/** OAuth 2.0 token for the current user. */
|
|
1019
|
-
oauth_token?:
|
|
1020
|
-
string;
|
|
1021
|
-
/** Required. The parent collection in which to add this channel. */
|
|
1022
|
-
parent:
|
|
1023
|
-
string;
|
|
1024
|
-
/** Returns response with indentations and line breaks. */
|
|
1025
|
-
prettyPrint?:
|
|
1026
|
-
boolean;
|
|
1027
|
-
/** 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. */
|
|
1028
|
-
quotaUser?:
|
|
1029
|
-
string;
|
|
1030
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1031
|
-
upload_protocol?:
|
|
1032
|
-
string;
|
|
1033
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1034
|
-
uploadType?:
|
|
1035
|
-
string;
|
|
1036
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1037
|
-
validateOnly?:
|
|
1038
|
-
boolean;
|
|
1039
|
-
},
|
|
1040
|
-
body: Channel): Request<GoogleLongrunningOperation>;
|
|
1041
|
-
/** Delete a single channel. */
|
|
1042
|
-
delete(request?: {
|
|
1043
|
-
/** V1 error format. */
|
|
1044
|
-
"$.xgafv"?:
|
|
1045
|
-
string;
|
|
1046
|
-
/** OAuth access token. */
|
|
1047
|
-
access_token?:
|
|
1048
|
-
string;
|
|
1049
|
-
/** Data format for response. */
|
|
1050
|
-
alt?:
|
|
1051
|
-
string;
|
|
1052
|
-
/** JSONP */
|
|
1053
|
-
callback?:
|
|
1054
|
-
string;
|
|
1055
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1056
|
-
fields?:
|
|
1057
|
-
string;
|
|
1058
|
-
/** 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. */
|
|
1059
|
-
key?:
|
|
1060
|
-
string;
|
|
1061
|
-
/** Required. The name of the channel to be deleted. */
|
|
1062
|
-
name:
|
|
1063
|
-
string;
|
|
1064
|
-
/** OAuth 2.0 token for the current user. */
|
|
1065
|
-
oauth_token?:
|
|
1066
|
-
string;
|
|
1067
|
-
/** Returns response with indentations and line breaks. */
|
|
1068
|
-
prettyPrint?:
|
|
1069
|
-
boolean;
|
|
1070
|
-
/** 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. */
|
|
1071
|
-
quotaUser?:
|
|
1072
|
-
string;
|
|
1073
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1074
|
-
upload_protocol?:
|
|
1075
|
-
string;
|
|
1076
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1077
|
-
uploadType?:
|
|
1078
|
-
string;
|
|
1079
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1080
|
-
validateOnly?:
|
|
1081
|
-
boolean;
|
|
1082
|
-
}): Request<GoogleLongrunningOperation>;
|
|
1083
|
-
/** Get a single Channel. */
|
|
1084
|
-
get(request?: {
|
|
1085
|
-
/** V1 error format. */
|
|
1086
|
-
"$.xgafv"?:
|
|
1087
|
-
string;
|
|
1088
|
-
/** OAuth access token. */
|
|
1089
|
-
access_token?:
|
|
1090
|
-
string;
|
|
1091
|
-
/** Data format for response. */
|
|
1092
|
-
alt?:
|
|
1093
|
-
string;
|
|
1094
|
-
/** JSONP */
|
|
1095
|
-
callback?:
|
|
1096
|
-
string;
|
|
1097
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1098
|
-
fields?:
|
|
1099
|
-
string;
|
|
1100
|
-
/** 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. */
|
|
1101
|
-
key?:
|
|
1102
|
-
string;
|
|
1103
|
-
/** Required. The name of the channel to get. */
|
|
1104
|
-
name:
|
|
1105
|
-
string;
|
|
1106
|
-
/** OAuth 2.0 token for the current user. */
|
|
1107
|
-
oauth_token?:
|
|
1108
|
-
string;
|
|
1109
|
-
/** Returns response with indentations and line breaks. */
|
|
1110
|
-
prettyPrint?:
|
|
1111
|
-
boolean;
|
|
1112
|
-
/** 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. */
|
|
1113
|
-
quotaUser?:
|
|
1114
|
-
string;
|
|
1115
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1116
|
-
upload_protocol?:
|
|
1117
|
-
string;
|
|
1118
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1119
|
-
uploadType?:
|
|
1120
|
-
string;
|
|
1121
|
-
}): Request<Channel>;
|
|
1122
|
-
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1123
|
-
getIamPolicy(request?: {
|
|
1124
|
-
/** V1 error format. */
|
|
1125
|
-
"$.xgafv"?:
|
|
1126
|
-
string;
|
|
1127
|
-
/** OAuth access token. */
|
|
1128
|
-
access_token?:
|
|
1129
|
-
string;
|
|
1130
|
-
/** Data format for response. */
|
|
1131
|
-
alt?:
|
|
1132
|
-
string;
|
|
1133
|
-
/** JSONP */
|
|
1134
|
-
callback?:
|
|
1135
|
-
string;
|
|
1136
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1137
|
-
fields?:
|
|
1138
|
-
string;
|
|
1139
|
-
/** 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. */
|
|
1140
|
-
key?:
|
|
1141
|
-
string;
|
|
1142
|
-
/** OAuth 2.0 token for the current user. */
|
|
1143
|
-
oauth_token?:
|
|
1144
|
-
string;
|
|
1145
|
-
/**
|
|
1146
|
-
* 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
|
|
1147
|
-
* 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
|
|
1148
|
-
* 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
|
|
1149
|
-
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1150
|
-
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1151
|
-
*/
|
|
1152
|
-
"options.requestedPolicyVersion"?:
|
|
1153
|
-
number;
|
|
1154
|
-
/** Returns response with indentations and line breaks. */
|
|
1155
|
-
prettyPrint?:
|
|
1156
|
-
boolean;
|
|
1157
|
-
/** 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. */
|
|
1158
|
-
quotaUser?:
|
|
1159
|
-
string;
|
|
1160
|
-
/**
|
|
1161
|
-
* 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
|
|
1162
|
-
* field.
|
|
1163
|
-
*/
|
|
1164
|
-
resource:
|
|
1165
|
-
string;
|
|
1166
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1167
|
-
upload_protocol?:
|
|
1168
|
-
string;
|
|
1169
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1170
|
-
uploadType?:
|
|
1171
|
-
string;
|
|
1172
|
-
}): Request<Policy>;
|
|
1173
|
-
/** List channels. */
|
|
1174
|
-
list(request?: {
|
|
1175
|
-
/** V1 error format. */
|
|
1176
|
-
"$.xgafv"?:
|
|
1177
|
-
string;
|
|
1178
|
-
/** OAuth access token. */
|
|
1179
|
-
access_token?:
|
|
1180
|
-
string;
|
|
1181
|
-
/** Data format for response. */
|
|
1182
|
-
alt?:
|
|
1183
|
-
string;
|
|
1184
|
-
/** JSONP */
|
|
1185
|
-
callback?:
|
|
1186
|
-
string;
|
|
1187
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1188
|
-
fields?:
|
|
1189
|
-
string;
|
|
1190
|
-
/** 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. */
|
|
1191
|
-
key?:
|
|
1192
|
-
string;
|
|
1193
|
-
/** OAuth 2.0 token for the current user. */
|
|
1194
|
-
oauth_token?:
|
|
1195
|
-
string;
|
|
1196
|
-
/**
|
|
1197
|
-
* The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field,
|
|
1198
|
-
* append a `desc` suffix; for example: `name desc, channel_id`.
|
|
1199
|
-
*/
|
|
1200
|
-
orderBy?:
|
|
1201
|
-
string;
|
|
1202
|
-
/** The maximum number of channels to return on each page. Note: The service may send fewer. */
|
|
1203
|
-
pageSize?:
|
|
1204
|
-
number;
|
|
1205
|
-
/**
|
|
1206
|
-
* The page token; provide the value from the `next_page_token` field in a previous `ListChannels` call to retrieve the subsequent page. When paginating, all other parameters
|
|
1207
|
-
* provided to `ListChannels` must match the call that provided the page token.
|
|
1208
|
-
*/
|
|
1209
|
-
pageToken?:
|
|
1210
|
-
string;
|
|
1211
|
-
/** Required. The parent collection to list channels on. */
|
|
1212
|
-
parent:
|
|
1213
|
-
string;
|
|
1214
|
-
/** Returns response with indentations and line breaks. */
|
|
1215
|
-
prettyPrint?:
|
|
1216
|
-
boolean;
|
|
1217
|
-
/** 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. */
|
|
1218
|
-
quotaUser?:
|
|
1219
|
-
string;
|
|
1220
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1221
|
-
upload_protocol?:
|
|
1222
|
-
string;
|
|
1223
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1224
|
-
uploadType?:
|
|
1225
|
-
string;
|
|
1226
|
-
}): Request<ListChannelsResponse>;
|
|
1227
|
-
/** Update a single channel. */
|
|
1228
|
-
patch(request: {
|
|
1229
|
-
/** V1 error format. */
|
|
1230
|
-
"$.xgafv"?:
|
|
1231
|
-
string;
|
|
1232
|
-
/** OAuth access token. */
|
|
1233
|
-
access_token?:
|
|
1234
|
-
string;
|
|
1235
|
-
/** Data format for response. */
|
|
1236
|
-
alt?:
|
|
1237
|
-
string;
|
|
1238
|
-
/** JSONP */
|
|
1239
|
-
callback?:
|
|
1240
|
-
string;
|
|
1241
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1242
|
-
fields?:
|
|
1243
|
-
string;
|
|
1244
|
-
/** 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. */
|
|
1245
|
-
key?:
|
|
1246
|
-
string;
|
|
1247
|
-
/**
|
|
1248
|
-
* Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}`
|
|
1249
|
-
* format.
|
|
1250
|
-
*/
|
|
1251
|
-
name:
|
|
1252
|
-
string;
|
|
1253
|
-
/** OAuth 2.0 token for the current user. */
|
|
1254
|
-
oauth_token?:
|
|
1255
|
-
string;
|
|
1256
|
-
/** Returns response with indentations and line breaks. */
|
|
1257
|
-
prettyPrint?:
|
|
1258
|
-
boolean;
|
|
1259
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1260
|
-
quotaUser?:
|
|
1261
|
-
string;
|
|
1262
|
-
/**
|
|
1263
|
-
* The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields,
|
|
1264
|
-
* provide a field mask of "*".
|
|
1265
|
-
*/
|
|
1266
|
-
updateMask?:
|
|
1267
|
-
string;
|
|
1268
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1269
|
-
upload_protocol?:
|
|
1270
|
-
string;
|
|
1271
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1272
|
-
uploadType?:
|
|
1273
|
-
string;
|
|
1274
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1275
|
-
validateOnly?:
|
|
1276
|
-
boolean;
|
|
1277
|
-
/** Request body */
|
|
1278
|
-
resource:
|
|
1279
|
-
Channel;
|
|
1280
|
-
}): Request<GoogleLongrunningOperation>;
|
|
1281
|
-
patch(request: {
|
|
1282
|
-
/** V1 error format. */
|
|
1283
|
-
"$.xgafv"?:
|
|
1284
|
-
string;
|
|
1285
|
-
/** OAuth access token. */
|
|
1286
|
-
access_token?:
|
|
1287
|
-
string;
|
|
1288
|
-
/** Data format for response. */
|
|
1289
|
-
alt?:
|
|
1290
|
-
string;
|
|
1291
|
-
/** JSONP */
|
|
1292
|
-
callback?:
|
|
1293
|
-
string;
|
|
1294
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1295
|
-
fields?:
|
|
1296
|
-
string;
|
|
1297
|
-
/** 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. */
|
|
1298
|
-
key?:
|
|
1299
|
-
string;
|
|
1300
|
-
/**
|
|
1301
|
-
* Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}`
|
|
1302
|
-
* format.
|
|
1303
|
-
*/
|
|
1304
|
-
name:
|
|
1305
|
-
string;
|
|
1306
|
-
/** OAuth 2.0 token for the current user. */
|
|
1307
|
-
oauth_token?:
|
|
1308
|
-
string;
|
|
1309
|
-
/** Returns response with indentations and line breaks. */
|
|
1310
|
-
prettyPrint?:
|
|
1311
|
-
boolean;
|
|
1312
|
-
/** 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. */
|
|
1313
|
-
quotaUser?:
|
|
1314
|
-
string;
|
|
1315
|
-
/**
|
|
1316
|
-
* The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields,
|
|
1317
|
-
* provide a field mask of "*".
|
|
1318
|
-
*/
|
|
1319
|
-
updateMask?:
|
|
1320
|
-
string;
|
|
1321
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1322
|
-
upload_protocol?:
|
|
1323
|
-
string;
|
|
1324
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1325
|
-
uploadType?:
|
|
1326
|
-
string;
|
|
1327
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1328
|
-
validateOnly?:
|
|
1329
|
-
boolean;
|
|
1330
|
-
},
|
|
1331
|
-
body: Channel): Request<GoogleLongrunningOperation>;
|
|
1332
|
-
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1333
|
-
setIamPolicy(request: {
|
|
1334
|
-
/** V1 error format. */
|
|
1335
|
-
"$.xgafv"?:
|
|
1336
|
-
string;
|
|
1337
|
-
/** OAuth access token. */
|
|
1338
|
-
access_token?:
|
|
1339
|
-
string;
|
|
1340
|
-
/** Data format for response. */
|
|
1341
|
-
alt?:
|
|
1342
|
-
string;
|
|
1343
|
-
/** JSONP */
|
|
1344
|
-
callback?:
|
|
1345
|
-
string;
|
|
1346
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1347
|
-
fields?:
|
|
1348
|
-
string;
|
|
1349
|
-
/** 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. */
|
|
1350
|
-
key?:
|
|
1351
|
-
string;
|
|
1352
|
-
/** OAuth 2.0 token for the current user. */
|
|
1353
|
-
oauth_token?:
|
|
1354
|
-
string;
|
|
1355
|
-
/** Returns response with indentations and line breaks. */
|
|
1356
|
-
prettyPrint?:
|
|
1357
|
-
boolean;
|
|
1358
|
-
/** 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. */
|
|
1359
|
-
quotaUser?:
|
|
1360
|
-
string;
|
|
1361
|
-
/**
|
|
1362
|
-
* 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
|
|
1363
|
-
* field.
|
|
1364
|
-
*/
|
|
1365
|
-
resource:
|
|
1366
|
-
string;
|
|
1367
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1368
|
-
upload_protocol?:
|
|
1369
|
-
string;
|
|
1370
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1371
|
-
uploadType?:
|
|
1372
|
-
string;
|
|
1373
|
-
},
|
|
1374
|
-
body: SetIamPolicyRequest): Request<Policy>;
|
|
1375
|
-
/**
|
|
1376
|
-
* 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
|
|
1377
|
-
* 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.
|
|
1378
|
-
*/
|
|
1379
|
-
testIamPermissions(request: {
|
|
1380
|
-
/** V1 error format. */
|
|
1381
|
-
"$.xgafv"?:
|
|
1382
|
-
string;
|
|
1383
|
-
/** OAuth access token. */
|
|
1384
|
-
access_token?:
|
|
1385
|
-
string;
|
|
1386
|
-
/** Data format for response. */
|
|
1387
|
-
alt?:
|
|
1388
|
-
string;
|
|
1389
|
-
/** JSONP */
|
|
1390
|
-
callback?:
|
|
1391
|
-
string;
|
|
1392
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1393
|
-
fields?:
|
|
1394
|
-
string;
|
|
1395
|
-
/** 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. */
|
|
1396
|
-
key?:
|
|
1397
|
-
string;
|
|
1398
|
-
/** OAuth 2.0 token for the current user. */
|
|
1399
|
-
oauth_token?:
|
|
1400
|
-
string;
|
|
1401
|
-
/** Returns response with indentations and line breaks. */
|
|
1402
|
-
prettyPrint?:
|
|
1403
|
-
boolean;
|
|
1404
|
-
/** 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. */
|
|
1405
|
-
quotaUser?:
|
|
1406
|
-
string;
|
|
1407
|
-
/**
|
|
1408
|
-
* 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
|
|
1409
|
-
* this field.
|
|
1410
|
-
*/
|
|
1411
|
-
resource:
|
|
1412
|
-
string;
|
|
1413
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1414
|
-
upload_protocol?:
|
|
1415
|
-
string;
|
|
1416
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1417
|
-
uploadType?:
|
|
1418
|
-
string;
|
|
1419
|
-
},
|
|
1420
|
-
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1421
|
-
}
|
|
1422
|
-
interface OperationsResource {
|
|
1423
|
-
/**
|
|
1424
|
-
* 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
|
|
1425
|
-
* 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
|
|
1426
|
-
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
1427
|
-
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
1428
|
-
*/
|
|
1429
|
-
cancel(request: {
|
|
1430
|
-
/** V1 error format. */
|
|
1431
|
-
"$.xgafv"?:
|
|
1432
|
-
string;
|
|
1433
|
-
/** OAuth access token. */
|
|
1434
|
-
access_token?:
|
|
1435
|
-
string;
|
|
1436
|
-
/** Data format for response. */
|
|
1437
|
-
alt?:
|
|
1438
|
-
string;
|
|
1439
|
-
/** JSONP */
|
|
1440
|
-
callback?:
|
|
1441
|
-
string;
|
|
1442
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1443
|
-
fields?:
|
|
1444
|
-
string;
|
|
1445
|
-
/** 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. */
|
|
1446
|
-
key?:
|
|
1447
|
-
string;
|
|
1448
|
-
/** The name of the operation resource to be cancelled. */
|
|
1449
|
-
name:
|
|
1450
|
-
string;
|
|
1451
|
-
/** OAuth 2.0 token for the current user. */
|
|
1452
|
-
oauth_token?:
|
|
1453
|
-
string;
|
|
1454
|
-
/** Returns response with indentations and line breaks. */
|
|
1455
|
-
prettyPrint?:
|
|
1456
|
-
boolean;
|
|
1457
|
-
/** 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. */
|
|
1458
|
-
quotaUser?:
|
|
1459
|
-
string;
|
|
1460
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1461
|
-
upload_protocol?:
|
|
1462
|
-
string;
|
|
1463
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1464
|
-
uploadType?:
|
|
1465
|
-
string;
|
|
1466
|
-
/** Request body */
|
|
1467
|
-
resource:
|
|
1468
|
-
GoogleLongrunningCancelOperationRequest;
|
|
1469
|
-
}): Request<{}>;
|
|
1470
|
-
cancel(request: {
|
|
1471
|
-
/** V1 error format. */
|
|
1472
|
-
"$.xgafv"?:
|
|
1473
|
-
string;
|
|
1474
|
-
/** OAuth access token. */
|
|
1475
|
-
access_token?:
|
|
1476
|
-
string;
|
|
1477
|
-
/** Data format for response. */
|
|
1478
|
-
alt?:
|
|
1479
|
-
string;
|
|
1480
|
-
/** JSONP */
|
|
1481
|
-
callback?:
|
|
1482
|
-
string;
|
|
1483
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1484
|
-
fields?:
|
|
1485
|
-
string;
|
|
1486
|
-
/** 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. */
|
|
1487
|
-
key?:
|
|
1488
|
-
string;
|
|
1489
|
-
/** The name of the operation resource to be cancelled. */
|
|
1490
|
-
name:
|
|
1491
|
-
string;
|
|
1492
|
-
/** OAuth 2.0 token for the current user. */
|
|
1493
|
-
oauth_token?:
|
|
1494
|
-
string;
|
|
1495
|
-
/** Returns response with indentations and line breaks. */
|
|
1496
|
-
prettyPrint?:
|
|
1497
|
-
boolean;
|
|
1498
|
-
/** 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. */
|
|
1499
|
-
quotaUser?:
|
|
1500
|
-
string;
|
|
1501
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1502
|
-
upload_protocol?:
|
|
1503
|
-
string;
|
|
1504
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1505
|
-
uploadType?:
|
|
1506
|
-
string;
|
|
1507
|
-
},
|
|
1508
|
-
body: GoogleLongrunningCancelOperationRequest): Request<{}>;
|
|
1509
|
-
/**
|
|
1510
|
-
* 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
|
|
1511
|
-
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
1512
|
-
*/
|
|
1513
|
-
delete(request?: {
|
|
1514
|
-
/** V1 error format. */
|
|
1515
|
-
"$.xgafv"?:
|
|
1516
|
-
string;
|
|
1517
|
-
/** OAuth access token. */
|
|
1518
|
-
access_token?:
|
|
1519
|
-
string;
|
|
1520
|
-
/** Data format for response. */
|
|
1521
|
-
alt?:
|
|
1522
|
-
string;
|
|
1523
|
-
/** JSONP */
|
|
1524
|
-
callback?:
|
|
1525
|
-
string;
|
|
1526
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1527
|
-
fields?:
|
|
1528
|
-
string;
|
|
1529
|
-
/** 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. */
|
|
1530
|
-
key?:
|
|
1531
|
-
string;
|
|
1532
|
-
/** The name of the operation resource to be deleted. */
|
|
1533
|
-
name:
|
|
1534
|
-
string;
|
|
1535
|
-
/** OAuth 2.0 token for the current user. */
|
|
1536
|
-
oauth_token?:
|
|
1537
|
-
string;
|
|
1538
|
-
/** Returns response with indentations and line breaks. */
|
|
1539
|
-
prettyPrint?:
|
|
1540
|
-
boolean;
|
|
1541
|
-
/** 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. */
|
|
1542
|
-
quotaUser?:
|
|
1543
|
-
string;
|
|
1544
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1545
|
-
upload_protocol?:
|
|
1546
|
-
string;
|
|
1547
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1548
|
-
uploadType?:
|
|
1549
|
-
string;
|
|
1550
|
-
}): Request<{}>;
|
|
1551
|
-
/** 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. */
|
|
1552
|
-
get(request?: {
|
|
1553
|
-
/** V1 error format. */
|
|
1554
|
-
"$.xgafv"?:
|
|
1555
|
-
string;
|
|
1556
|
-
/** OAuth access token. */
|
|
1557
|
-
access_token?:
|
|
1558
|
-
string;
|
|
1559
|
-
/** Data format for response. */
|
|
1560
|
-
alt?:
|
|
1561
|
-
string;
|
|
1562
|
-
/** JSONP */
|
|
1563
|
-
callback?:
|
|
1564
|
-
string;
|
|
1565
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1566
|
-
fields?:
|
|
1567
|
-
string;
|
|
1568
|
-
/** 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. */
|
|
1569
|
-
key?:
|
|
1570
|
-
string;
|
|
1571
|
-
/** The name of the operation resource. */
|
|
1572
|
-
name:
|
|
1573
|
-
string;
|
|
1574
|
-
/** OAuth 2.0 token for the current user. */
|
|
1575
|
-
oauth_token?:
|
|
1576
|
-
string;
|
|
1577
|
-
/** Returns response with indentations and line breaks. */
|
|
1578
|
-
prettyPrint?:
|
|
1579
|
-
boolean;
|
|
1580
|
-
/** 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. */
|
|
1581
|
-
quotaUser?:
|
|
1582
|
-
string;
|
|
1583
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1584
|
-
upload_protocol?:
|
|
1585
|
-
string;
|
|
1586
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1587
|
-
uploadType?:
|
|
1588
|
-
string;
|
|
1589
|
-
}): Request<GoogleLongrunningOperation>;
|
|
1590
|
-
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1591
|
-
list(request?: {
|
|
1592
|
-
/** V1 error format. */
|
|
1593
|
-
"$.xgafv"?:
|
|
1594
|
-
string;
|
|
1595
|
-
/** OAuth access token. */
|
|
1596
|
-
access_token?:
|
|
1597
|
-
string;
|
|
1598
|
-
/** Data format for response. */
|
|
1599
|
-
alt?:
|
|
1600
|
-
string;
|
|
1601
|
-
/** JSONP */
|
|
1602
|
-
callback?:
|
|
1603
|
-
string;
|
|
1604
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1605
|
-
fields?:
|
|
1606
|
-
string;
|
|
1607
|
-
/** The standard list filter. */
|
|
1608
|
-
filter?:
|
|
1609
|
-
string;
|
|
1610
|
-
/** 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. */
|
|
1611
|
-
key?:
|
|
1612
|
-
string;
|
|
1613
|
-
/** The name of the operation's parent resource. */
|
|
1614
|
-
name:
|
|
1615
|
-
string;
|
|
1616
|
-
/** OAuth 2.0 token for the current user. */
|
|
1617
|
-
oauth_token?:
|
|
1618
|
-
string;
|
|
1619
|
-
/** The standard list page size. */
|
|
1620
|
-
pageSize?:
|
|
1621
|
-
number;
|
|
1622
|
-
/** The standard list page token. */
|
|
1623
|
-
pageToken?:
|
|
1624
|
-
string;
|
|
1625
|
-
/** Returns response with indentations and line breaks. */
|
|
1626
|
-
prettyPrint?:
|
|
1627
|
-
boolean;
|
|
1628
|
-
/** 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. */
|
|
1629
|
-
quotaUser?:
|
|
1630
|
-
string;
|
|
1631
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1632
|
-
upload_protocol?:
|
|
1633
|
-
string;
|
|
1634
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1635
|
-
uploadType?:
|
|
1636
|
-
string;
|
|
1637
|
-
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1638
|
-
}
|
|
1639
|
-
interface ProvidersResource {
|
|
1640
|
-
/** Get a single Provider. */
|
|
1641
|
-
get(request?: {
|
|
1642
|
-
/** V1 error format. */
|
|
1643
|
-
"$.xgafv"?:
|
|
1644
|
-
string;
|
|
1645
|
-
/** OAuth access token. */
|
|
1646
|
-
access_token?:
|
|
1647
|
-
string;
|
|
1648
|
-
/** Data format for response. */
|
|
1649
|
-
alt?:
|
|
1650
|
-
string;
|
|
1651
|
-
/** JSONP */
|
|
1652
|
-
callback?:
|
|
1653
|
-
string;
|
|
1654
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1655
|
-
fields?:
|
|
1656
|
-
string;
|
|
1657
|
-
/** 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. */
|
|
1658
|
-
key?:
|
|
1659
|
-
string;
|
|
1660
|
-
/** Required. The name of the provider to get. */
|
|
1661
|
-
name:
|
|
1662
|
-
string;
|
|
1663
|
-
/** OAuth 2.0 token for the current user. */
|
|
1664
|
-
oauth_token?:
|
|
1665
|
-
string;
|
|
1666
|
-
/** Returns response with indentations and line breaks. */
|
|
1667
|
-
prettyPrint?:
|
|
1668
|
-
boolean;
|
|
1669
|
-
/** 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. */
|
|
1670
|
-
quotaUser?:
|
|
1671
|
-
string;
|
|
1672
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1673
|
-
upload_protocol?:
|
|
1674
|
-
string;
|
|
1675
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1676
|
-
uploadType?:
|
|
1677
|
-
string;
|
|
1678
|
-
}): Request<Provider>;
|
|
1679
|
-
/** List providers. */
|
|
1680
|
-
list(request?: {
|
|
1681
|
-
/** V1 error format. */
|
|
1682
|
-
"$.xgafv"?:
|
|
1683
|
-
string;
|
|
1684
|
-
/** OAuth access token. */
|
|
1685
|
-
access_token?:
|
|
1686
|
-
string;
|
|
1687
|
-
/** Data format for response. */
|
|
1688
|
-
alt?:
|
|
1689
|
-
string;
|
|
1690
|
-
/** JSONP */
|
|
1691
|
-
callback?:
|
|
1692
|
-
string;
|
|
1693
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1694
|
-
fields?:
|
|
1695
|
-
string;
|
|
1696
|
-
/** The filter field that the list request will filter on. */
|
|
1697
|
-
filter?:
|
|
1698
|
-
string;
|
|
1699
|
-
/** 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. */
|
|
1700
|
-
key?:
|
|
1701
|
-
string;
|
|
1702
|
-
/** OAuth 2.0 token for the current user. */
|
|
1703
|
-
oauth_token?:
|
|
1704
|
-
string;
|
|
1705
|
-
/**
|
|
1706
|
-
* The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting oder is ascending. To specify descending order for a field,
|
|
1707
|
-
* append a `desc` suffix; for example: `name desc, _id`.
|
|
1708
|
-
*/
|
|
1709
|
-
orderBy?:
|
|
1710
|
-
string;
|
|
1711
|
-
/** The maximum number of providers to return on each page. */
|
|
1712
|
-
pageSize?:
|
|
1713
|
-
number;
|
|
1714
|
-
/**
|
|
1715
|
-
* The page token; provide the value from the `next_page_token` field in a previous `ListProviders` call to retrieve the subsequent page. When paginating, all other parameters
|
|
1716
|
-
* provided to `ListProviders` must match the call that provided the page token.
|
|
1717
|
-
*/
|
|
1718
|
-
pageToken?:
|
|
1719
|
-
string;
|
|
1720
|
-
/** Required. The parent of the provider to get. */
|
|
1721
|
-
parent:
|
|
1722
|
-
string;
|
|
1723
|
-
/** Returns response with indentations and line breaks. */
|
|
1724
|
-
prettyPrint?:
|
|
1725
|
-
boolean;
|
|
1726
|
-
/** 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. */
|
|
1727
|
-
quotaUser?:
|
|
1728
|
-
string;
|
|
1729
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1730
|
-
upload_protocol?:
|
|
1731
|
-
string;
|
|
1732
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1733
|
-
uploadType?:
|
|
1734
|
-
string;
|
|
1735
|
-
}): Request<ListProvidersResponse>;
|
|
1736
|
-
}
|
|
1737
|
-
interface TriggersResource {
|
|
1738
|
-
/** Create a new trigger in a particular project and location. */
|
|
1739
|
-
create(request: {
|
|
1740
|
-
/** V1 error format. */
|
|
1741
|
-
"$.xgafv"?:
|
|
1742
|
-
string;
|
|
1743
|
-
/** OAuth access token. */
|
|
1744
|
-
access_token?:
|
|
1745
|
-
string;
|
|
1746
|
-
/** Data format for response. */
|
|
1747
|
-
alt?:
|
|
1748
|
-
string;
|
|
1749
|
-
/** JSONP */
|
|
1750
|
-
callback?:
|
|
1751
|
-
string;
|
|
1752
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1753
|
-
fields?:
|
|
1754
|
-
string;
|
|
1755
|
-
/** 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. */
|
|
1756
|
-
key?:
|
|
1757
|
-
string;
|
|
1758
|
-
/** OAuth 2.0 token for the current user. */
|
|
1759
|
-
oauth_token?:
|
|
1760
|
-
string;
|
|
1761
|
-
/** Required. The parent collection in which to add this trigger. */
|
|
1762
|
-
parent:
|
|
1763
|
-
string;
|
|
1764
|
-
/** Returns response with indentations and line breaks. */
|
|
1765
|
-
prettyPrint?:
|
|
1766
|
-
boolean;
|
|
1767
|
-
/** 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. */
|
|
1768
|
-
quotaUser?:
|
|
1769
|
-
string;
|
|
1770
|
-
/** Required. The user-provided ID to be assigned to the trigger. */
|
|
1771
|
-
triggerId?:
|
|
1772
|
-
string;
|
|
1773
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1774
|
-
upload_protocol?:
|
|
1775
|
-
string;
|
|
1776
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1777
|
-
uploadType?:
|
|
1778
|
-
string;
|
|
1779
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1780
|
-
validateOnly?:
|
|
1781
|
-
boolean;
|
|
1782
|
-
/** Request body */
|
|
1783
|
-
resource:
|
|
1784
|
-
Trigger;
|
|
1785
|
-
}): Request<GoogleLongrunningOperation>;
|
|
1786
|
-
create(request: {
|
|
1787
|
-
/** V1 error format. */
|
|
1788
|
-
"$.xgafv"?:
|
|
1789
|
-
string;
|
|
1790
|
-
/** OAuth access token. */
|
|
1791
|
-
access_token?:
|
|
1792
|
-
string;
|
|
1793
|
-
/** Data format for response. */
|
|
1794
|
-
alt?:
|
|
1795
|
-
string;
|
|
1796
|
-
/** JSONP */
|
|
1797
|
-
callback?:
|
|
1798
|
-
string;
|
|
1799
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1800
|
-
fields?:
|
|
1801
|
-
string;
|
|
1802
|
-
/** 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. */
|
|
1803
|
-
key?:
|
|
1804
|
-
string;
|
|
1805
|
-
/** OAuth 2.0 token for the current user. */
|
|
1806
|
-
oauth_token?:
|
|
1807
|
-
string;
|
|
1808
|
-
/** Required. The parent collection in which to add this trigger. */
|
|
1809
|
-
parent:
|
|
1810
|
-
string;
|
|
1811
|
-
/** Returns response with indentations and line breaks. */
|
|
1812
|
-
prettyPrint?:
|
|
1813
|
-
boolean;
|
|
1814
|
-
/** 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. */
|
|
1815
|
-
quotaUser?:
|
|
1816
|
-
string;
|
|
1817
|
-
/** Required. The user-provided ID to be assigned to the trigger. */
|
|
1818
|
-
triggerId?:
|
|
1819
|
-
string;
|
|
1820
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1821
|
-
upload_protocol?:
|
|
1822
|
-
string;
|
|
1823
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1824
|
-
uploadType?:
|
|
1825
|
-
string;
|
|
1826
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1827
|
-
validateOnly?:
|
|
1828
|
-
boolean;
|
|
1829
|
-
},
|
|
1830
|
-
body: Trigger): Request<GoogleLongrunningOperation>;
|
|
1831
|
-
/** Delete a single trigger. */
|
|
1832
|
-
delete(request?: {
|
|
1833
|
-
/** V1 error format. */
|
|
1834
|
-
"$.xgafv"?:
|
|
1835
|
-
string;
|
|
1836
|
-
/** OAuth access token. */
|
|
1837
|
-
access_token?:
|
|
1838
|
-
string;
|
|
1839
|
-
/** If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server. */
|
|
1840
|
-
allowMissing?:
|
|
1841
|
-
boolean;
|
|
1842
|
-
/** Data format for response. */
|
|
1843
|
-
alt?:
|
|
1844
|
-
string;
|
|
1845
|
-
/** JSONP */
|
|
1846
|
-
callback?:
|
|
1847
|
-
string;
|
|
1848
|
-
/** If provided, the trigger will only be deleted if the etag matches the current etag on the resource. */
|
|
1849
|
-
etag?:
|
|
1850
|
-
string;
|
|
1851
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1852
|
-
fields?:
|
|
1853
|
-
string;
|
|
1854
|
-
/** 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. */
|
|
1855
|
-
key?:
|
|
1856
|
-
string;
|
|
1857
|
-
/** Required. The name of the trigger to be deleted. */
|
|
1858
|
-
name:
|
|
1859
|
-
string;
|
|
1860
|
-
/** OAuth 2.0 token for the current user. */
|
|
1861
|
-
oauth_token?:
|
|
1862
|
-
string;
|
|
1863
|
-
/** Returns response with indentations and line breaks. */
|
|
1864
|
-
prettyPrint?:
|
|
1865
|
-
boolean;
|
|
1866
|
-
/** 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. */
|
|
1867
|
-
quotaUser?:
|
|
1868
|
-
string;
|
|
1869
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1870
|
-
upload_protocol?:
|
|
1871
|
-
string;
|
|
1872
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1873
|
-
uploadType?:
|
|
1874
|
-
string;
|
|
1875
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1876
|
-
validateOnly?:
|
|
1877
|
-
boolean;
|
|
1878
|
-
}): Request<GoogleLongrunningOperation>;
|
|
1879
|
-
/** Get a single trigger. */
|
|
1880
|
-
get(request?: {
|
|
1881
|
-
/** V1 error format. */
|
|
1882
|
-
"$.xgafv"?:
|
|
1883
|
-
string;
|
|
1884
|
-
/** OAuth access token. */
|
|
1885
|
-
access_token?:
|
|
1886
|
-
string;
|
|
1887
|
-
/** Data format for response. */
|
|
1888
|
-
alt?:
|
|
1889
|
-
string;
|
|
1890
|
-
/** JSONP */
|
|
1891
|
-
callback?:
|
|
1892
|
-
string;
|
|
1893
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1894
|
-
fields?:
|
|
1895
|
-
string;
|
|
1896
|
-
/** 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. */
|
|
1897
|
-
key?:
|
|
1898
|
-
string;
|
|
1899
|
-
/** Required. The name of the trigger to get. */
|
|
1900
|
-
name:
|
|
1901
|
-
string;
|
|
1902
|
-
/** OAuth 2.0 token for the current user. */
|
|
1903
|
-
oauth_token?:
|
|
1904
|
-
string;
|
|
1905
|
-
/** Returns response with indentations and line breaks. */
|
|
1906
|
-
prettyPrint?:
|
|
1907
|
-
boolean;
|
|
1908
|
-
/** 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. */
|
|
1909
|
-
quotaUser?:
|
|
1910
|
-
string;
|
|
1911
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1912
|
-
upload_protocol?:
|
|
1913
|
-
string;
|
|
1914
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1915
|
-
uploadType?:
|
|
1916
|
-
string;
|
|
1917
|
-
}): Request<Trigger>;
|
|
1918
|
-
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1919
|
-
getIamPolicy(request?: {
|
|
1920
|
-
/** V1 error format. */
|
|
1921
|
-
"$.xgafv"?:
|
|
1922
|
-
string;
|
|
1923
|
-
/** OAuth access token. */
|
|
1924
|
-
access_token?:
|
|
1925
|
-
string;
|
|
1926
|
-
/** Data format for response. */
|
|
1927
|
-
alt?:
|
|
1928
|
-
string;
|
|
1929
|
-
/** JSONP */
|
|
1930
|
-
callback?:
|
|
1931
|
-
string;
|
|
1932
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1933
|
-
fields?:
|
|
1934
|
-
string;
|
|
1935
|
-
/** 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. */
|
|
1936
|
-
key?:
|
|
1937
|
-
string;
|
|
1938
|
-
/** OAuth 2.0 token for the current user. */
|
|
1939
|
-
oauth_token?:
|
|
1940
|
-
string;
|
|
1941
|
-
/**
|
|
1942
|
-
* 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
|
|
1943
|
-
* 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
|
|
1944
|
-
* 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
|
|
1945
|
-
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1946
|
-
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1947
|
-
*/
|
|
1948
|
-
"options.requestedPolicyVersion"?:
|
|
1949
|
-
number;
|
|
1950
|
-
/** Returns response with indentations and line breaks. */
|
|
1951
|
-
prettyPrint?:
|
|
1952
|
-
boolean;
|
|
1953
|
-
/** 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. */
|
|
1954
|
-
quotaUser?:
|
|
1955
|
-
string;
|
|
1956
|
-
/**
|
|
1957
|
-
* 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
|
|
1958
|
-
* field.
|
|
1959
|
-
*/
|
|
1960
|
-
resource:
|
|
1961
|
-
string;
|
|
1962
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1963
|
-
upload_protocol?:
|
|
1964
|
-
string;
|
|
1965
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1966
|
-
uploadType?:
|
|
1967
|
-
string;
|
|
1968
|
-
}): Request<Policy>;
|
|
1969
|
-
/** List triggers. */
|
|
1970
|
-
list(request?: {
|
|
1971
|
-
/** V1 error format. */
|
|
1972
|
-
"$.xgafv"?:
|
|
1973
|
-
string;
|
|
1974
|
-
/** OAuth access token. */
|
|
1975
|
-
access_token?:
|
|
1976
|
-
string;
|
|
1977
|
-
/** Data format for response. */
|
|
1978
|
-
alt?:
|
|
1979
|
-
string;
|
|
1980
|
-
/** JSONP */
|
|
1981
|
-
callback?:
|
|
1982
|
-
string;
|
|
1983
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1984
|
-
fields?:
|
|
1985
|
-
string;
|
|
1986
|
-
/**
|
|
1987
|
-
* Filter field. Used to filter the Triggers to be listed. Possible filters are described in https://google.aip.dev/160. For example, using "?filter=destination:gke" would list
|
|
1988
|
-
* only Triggers with a gke destination.
|
|
1989
|
-
*/
|
|
1990
|
-
filter?:
|
|
1991
|
-
string;
|
|
1992
|
-
/** 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. */
|
|
1993
|
-
key?:
|
|
1994
|
-
string;
|
|
1995
|
-
/** OAuth 2.0 token for the current user. */
|
|
1996
|
-
oauth_token?:
|
|
1997
|
-
string;
|
|
1998
|
-
/**
|
|
1999
|
-
* The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field,
|
|
2000
|
-
* append a `desc` suffix; for example: `name desc, trigger_id`.
|
|
2001
|
-
*/
|
|
2002
|
-
orderBy?:
|
|
2003
|
-
string;
|
|
2004
|
-
/** The maximum number of triggers to return on each page. Note: The service may send fewer. */
|
|
2005
|
-
pageSize?:
|
|
2006
|
-
number;
|
|
2007
|
-
/**
|
|
2008
|
-
* The page token; provide the value from the `next_page_token` field in a previous `ListTriggers` call to retrieve the subsequent page. When paginating, all other parameters
|
|
2009
|
-
* provided to `ListTriggers` must match the call that provided the page token.
|
|
2010
|
-
*/
|
|
2011
|
-
pageToken?:
|
|
2012
|
-
string;
|
|
2013
|
-
/** Required. The parent collection to list triggers on. */
|
|
2014
|
-
parent:
|
|
2015
|
-
string;
|
|
2016
|
-
/** Returns response with indentations and line breaks. */
|
|
2017
|
-
prettyPrint?:
|
|
2018
|
-
boolean;
|
|
2019
|
-
/** 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. */
|
|
2020
|
-
quotaUser?:
|
|
2021
|
-
string;
|
|
2022
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2023
|
-
upload_protocol?:
|
|
2024
|
-
string;
|
|
2025
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2026
|
-
uploadType?:
|
|
2027
|
-
string;
|
|
2028
|
-
}): Request<ListTriggersResponse>;
|
|
2029
|
-
/** Update a single trigger. */
|
|
2030
|
-
patch(request: {
|
|
2031
|
-
/** V1 error format. */
|
|
2032
|
-
"$.xgafv"?:
|
|
2033
|
-
string;
|
|
2034
|
-
/** OAuth access token. */
|
|
2035
|
-
access_token?:
|
|
2036
|
-
string;
|
|
2037
|
-
/** If set to true, and the trigger is not found, a new trigger will be created. In this situation, `update_mask` is ignored. */
|
|
2038
|
-
allowMissing?:
|
|
2039
|
-
boolean;
|
|
2040
|
-
/** Data format for response. */
|
|
2041
|
-
alt?:
|
|
2042
|
-
string;
|
|
2043
|
-
/** JSONP */
|
|
2044
|
-
callback?:
|
|
2045
|
-
string;
|
|
2046
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2047
|
-
fields?:
|
|
2048
|
-
string;
|
|
2049
|
-
/** 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. */
|
|
2050
|
-
key?:
|
|
2051
|
-
string;
|
|
2052
|
-
/** Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format. */
|
|
2053
|
-
name:
|
|
2054
|
-
string;
|
|
2055
|
-
/** OAuth 2.0 token for the current user. */
|
|
2056
|
-
oauth_token?:
|
|
2057
|
-
string;
|
|
2058
|
-
/** Returns response with indentations and line breaks. */
|
|
2059
|
-
prettyPrint?:
|
|
2060
|
-
boolean;
|
|
2061
|
-
/** 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. */
|
|
2062
|
-
quotaUser?:
|
|
2063
|
-
string;
|
|
2064
|
-
/**
|
|
2065
|
-
* The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields,
|
|
2066
|
-
* provide a field mask of "*".
|
|
2067
|
-
*/
|
|
2068
|
-
updateMask?:
|
|
2069
|
-
string;
|
|
2070
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2071
|
-
upload_protocol?:
|
|
2072
|
-
string;
|
|
2073
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2074
|
-
uploadType?:
|
|
2075
|
-
string;
|
|
2076
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
2077
|
-
validateOnly?:
|
|
2078
|
-
boolean;
|
|
2079
|
-
/** Request body */
|
|
2080
|
-
resource:
|
|
2081
|
-
Trigger;
|
|
2082
|
-
}): Request<GoogleLongrunningOperation>;
|
|
2083
|
-
patch(request: {
|
|
2084
|
-
/** V1 error format. */
|
|
2085
|
-
"$.xgafv"?:
|
|
2086
|
-
string;
|
|
2087
|
-
/** OAuth access token. */
|
|
2088
|
-
access_token?:
|
|
2089
|
-
string;
|
|
2090
|
-
/** If set to true, and the trigger is not found, a new trigger will be created. In this situation, `update_mask` is ignored. */
|
|
2091
|
-
allowMissing?:
|
|
2092
|
-
boolean;
|
|
2093
|
-
/** Data format for response. */
|
|
2094
|
-
alt?:
|
|
2095
|
-
string;
|
|
2096
|
-
/** JSONP */
|
|
2097
|
-
callback?:
|
|
2098
|
-
string;
|
|
2099
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2100
|
-
fields?:
|
|
2101
|
-
string;
|
|
2102
|
-
/** 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. */
|
|
2103
|
-
key?:
|
|
2104
|
-
string;
|
|
2105
|
-
/** Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format. */
|
|
2106
|
-
name:
|
|
2107
|
-
string;
|
|
2108
|
-
/** OAuth 2.0 token for the current user. */
|
|
2109
|
-
oauth_token?:
|
|
2110
|
-
string;
|
|
2111
|
-
/** Returns response with indentations and line breaks. */
|
|
2112
|
-
prettyPrint?:
|
|
2113
|
-
boolean;
|
|
2114
|
-
/** 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. */
|
|
2115
|
-
quotaUser?:
|
|
2116
|
-
string;
|
|
2117
|
-
/**
|
|
2118
|
-
* The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields,
|
|
2119
|
-
* provide a field mask of "*".
|
|
2120
|
-
*/
|
|
2121
|
-
updateMask?:
|
|
2122
|
-
string;
|
|
2123
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2124
|
-
upload_protocol?:
|
|
2125
|
-
string;
|
|
2126
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2127
|
-
uploadType?:
|
|
2128
|
-
string;
|
|
2129
|
-
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
2130
|
-
validateOnly?:
|
|
2131
|
-
boolean;
|
|
2132
|
-
},
|
|
2133
|
-
body: Trigger): Request<GoogleLongrunningOperation>;
|
|
2134
|
-
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2135
|
-
setIamPolicy(request: {
|
|
2136
|
-
/** V1 error format. */
|
|
2137
|
-
"$.xgafv"?:
|
|
2138
|
-
string;
|
|
2139
|
-
/** OAuth access token. */
|
|
2140
|
-
access_token?:
|
|
2141
|
-
string;
|
|
2142
|
-
/** Data format for response. */
|
|
2143
|
-
alt?:
|
|
2144
|
-
string;
|
|
2145
|
-
/** JSONP */
|
|
2146
|
-
callback?:
|
|
2147
|
-
string;
|
|
2148
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2149
|
-
fields?:
|
|
2150
|
-
string;
|
|
2151
|
-
/** 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. */
|
|
2152
|
-
key?:
|
|
2153
|
-
string;
|
|
2154
|
-
/** OAuth 2.0 token for the current user. */
|
|
2155
|
-
oauth_token?:
|
|
2156
|
-
string;
|
|
2157
|
-
/** Returns response with indentations and line breaks. */
|
|
2158
|
-
prettyPrint?:
|
|
2159
|
-
boolean;
|
|
2160
|
-
/** 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. */
|
|
2161
|
-
quotaUser?:
|
|
2162
|
-
string;
|
|
2163
|
-
/**
|
|
2164
|
-
* 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
|
|
2165
|
-
* field.
|
|
2166
|
-
*/
|
|
2167
|
-
resource:
|
|
2168
|
-
string;
|
|
2169
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2170
|
-
upload_protocol?:
|
|
2171
|
-
string;
|
|
2172
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2173
|
-
uploadType?:
|
|
2174
|
-
string;
|
|
2175
|
-
},
|
|
2176
|
-
body: SetIamPolicyRequest): Request<Policy>;
|
|
2177
|
-
/**
|
|
2178
|
-
* 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
|
|
2179
|
-
* 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.
|
|
2180
|
-
*/
|
|
2181
|
-
testIamPermissions(request: {
|
|
2182
|
-
/** V1 error format. */
|
|
2183
|
-
"$.xgafv"?:
|
|
2184
|
-
string;
|
|
2185
|
-
/** OAuth access token. */
|
|
2186
|
-
access_token?:
|
|
2187
|
-
string;
|
|
2188
|
-
/** Data format for response. */
|
|
2189
|
-
alt?:
|
|
2190
|
-
string;
|
|
2191
|
-
/** JSONP */
|
|
2192
|
-
callback?:
|
|
2193
|
-
string;
|
|
2194
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2195
|
-
fields?:
|
|
2196
|
-
string;
|
|
2197
|
-
/** 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. */
|
|
2198
|
-
key?:
|
|
2199
|
-
string;
|
|
2200
|
-
/** OAuth 2.0 token for the current user. */
|
|
2201
|
-
oauth_token?:
|
|
2202
|
-
string;
|
|
2203
|
-
/** Returns response with indentations and line breaks. */
|
|
2204
|
-
prettyPrint?:
|
|
2205
|
-
boolean;
|
|
2206
|
-
/** 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. */
|
|
2207
|
-
quotaUser?:
|
|
2208
|
-
string;
|
|
2209
|
-
/**
|
|
2210
|
-
* 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
|
|
2211
|
-
* this field.
|
|
2212
|
-
*/
|
|
2213
|
-
resource:
|
|
2214
|
-
string;
|
|
2215
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2216
|
-
upload_protocol?:
|
|
2217
|
-
string;
|
|
2218
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2219
|
-
uploadType?:
|
|
2220
|
-
string;
|
|
2221
|
-
},
|
|
2222
|
-
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
2223
|
-
}
|
|
2224
|
-
interface LocationsResource {
|
|
2225
|
-
/** Gets information about a location. */
|
|
2226
|
-
get(request?: {
|
|
2227
|
-
/** V1 error format. */
|
|
2228
|
-
"$.xgafv"?:
|
|
2229
|
-
string;
|
|
2230
|
-
/** OAuth access token. */
|
|
2231
|
-
access_token?:
|
|
2232
|
-
string;
|
|
2233
|
-
/** Data format for response. */
|
|
2234
|
-
alt?:
|
|
2235
|
-
string;
|
|
2236
|
-
/** JSONP */
|
|
2237
|
-
callback?:
|
|
2238
|
-
string;
|
|
2239
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2240
|
-
fields?:
|
|
2241
|
-
string;
|
|
2242
|
-
/** 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. */
|
|
2243
|
-
key?:
|
|
2244
|
-
string;
|
|
2245
|
-
/** Resource name for the location. */
|
|
2246
|
-
name:
|
|
2247
|
-
string;
|
|
2248
|
-
/** OAuth 2.0 token for the current user. */
|
|
2249
|
-
oauth_token?:
|
|
2250
|
-
string;
|
|
2251
|
-
/** Returns response with indentations and line breaks. */
|
|
2252
|
-
prettyPrint?:
|
|
2253
|
-
boolean;
|
|
2254
|
-
/** 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. */
|
|
2255
|
-
quotaUser?:
|
|
2256
|
-
string;
|
|
2257
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2258
|
-
upload_protocol?:
|
|
2259
|
-
string;
|
|
2260
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2261
|
-
uploadType?:
|
|
2262
|
-
string;
|
|
2263
|
-
}): Request<Location>;
|
|
2264
|
-
/** Get a GoogleChannelConfig */
|
|
2265
|
-
getGoogleChannelConfig(request?: {
|
|
2266
|
-
/** V1 error format. */
|
|
2267
|
-
"$.xgafv"?:
|
|
2268
|
-
string;
|
|
2269
|
-
/** OAuth access token. */
|
|
2270
|
-
access_token?:
|
|
2271
|
-
string;
|
|
2272
|
-
/** Data format for response. */
|
|
2273
|
-
alt?:
|
|
2274
|
-
string;
|
|
2275
|
-
/** JSONP */
|
|
2276
|
-
callback?:
|
|
2277
|
-
string;
|
|
2278
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2279
|
-
fields?:
|
|
2280
|
-
string;
|
|
2281
|
-
/** 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. */
|
|
2282
|
-
key?:
|
|
2283
|
-
string;
|
|
2284
|
-
/** Required. The name of the config to get. */
|
|
2285
|
-
name:
|
|
2286
|
-
string;
|
|
2287
|
-
/** OAuth 2.0 token for the current user. */
|
|
2288
|
-
oauth_token?:
|
|
2289
|
-
string;
|
|
2290
|
-
/** Returns response with indentations and line breaks. */
|
|
2291
|
-
prettyPrint?:
|
|
2292
|
-
boolean;
|
|
2293
|
-
/** 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. */
|
|
2294
|
-
quotaUser?:
|
|
2295
|
-
string;
|
|
2296
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2297
|
-
upload_protocol?:
|
|
2298
|
-
string;
|
|
2299
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2300
|
-
uploadType?:
|
|
2301
|
-
string;
|
|
2302
|
-
}): Request<GoogleChannelConfig>;
|
|
2303
|
-
/** Lists information about the supported locations for this service. */
|
|
2304
|
-
list(request?: {
|
|
2305
|
-
/** V1 error format. */
|
|
2306
|
-
"$.xgafv"?:
|
|
2307
|
-
string;
|
|
2308
|
-
/** OAuth access token. */
|
|
2309
|
-
access_token?:
|
|
2310
|
-
string;
|
|
2311
|
-
/** Data format for response. */
|
|
2312
|
-
alt?:
|
|
2313
|
-
string;
|
|
2314
|
-
/** JSONP */
|
|
2315
|
-
callback?:
|
|
2316
|
-
string;
|
|
2317
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2318
|
-
fields?:
|
|
2319
|
-
string;
|
|
2320
|
-
/**
|
|
2321
|
-
* 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
|
|
2322
|
-
* [AIP-160](https://google.aip.dev/160).
|
|
2323
|
-
*/
|
|
2324
|
-
filter?:
|
|
2325
|
-
string;
|
|
2326
|
-
/** 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. */
|
|
2327
|
-
key?:
|
|
2328
|
-
string;
|
|
2329
|
-
/** The resource that owns the locations collection, if applicable. */
|
|
2330
|
-
name:
|
|
2331
|
-
string;
|
|
2332
|
-
/** OAuth 2.0 token for the current user. */
|
|
2333
|
-
oauth_token?:
|
|
2334
|
-
string;
|
|
2335
|
-
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
2336
|
-
pageSize?:
|
|
2337
|
-
number;
|
|
2338
|
-
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
2339
|
-
pageToken?:
|
|
2340
|
-
string;
|
|
2341
|
-
/** Returns response with indentations and line breaks. */
|
|
2342
|
-
prettyPrint?:
|
|
2343
|
-
boolean;
|
|
2344
|
-
/** 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. */
|
|
2345
|
-
quotaUser?:
|
|
2346
|
-
string;
|
|
2347
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2348
|
-
upload_protocol?:
|
|
2349
|
-
string;
|
|
2350
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2351
|
-
uploadType?:
|
|
2352
|
-
string;
|
|
2353
|
-
}): Request<ListLocationsResponse>;
|
|
2354
|
-
/** Update a single GoogleChannelConfig */
|
|
2355
|
-
updateGoogleChannelConfig(request: {
|
|
2356
|
-
/** V1 error format. */
|
|
2357
|
-
"$.xgafv"?:
|
|
2358
|
-
string;
|
|
2359
|
-
/** OAuth access token. */
|
|
2360
|
-
access_token?:
|
|
2361
|
-
string;
|
|
2362
|
-
/** Data format for response. */
|
|
2363
|
-
alt?:
|
|
2364
|
-
string;
|
|
2365
|
-
/** JSONP */
|
|
2366
|
-
callback?:
|
|
2367
|
-
string;
|
|
2368
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2369
|
-
fields?:
|
|
2370
|
-
string;
|
|
2371
|
-
/** 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. */
|
|
2372
|
-
key?:
|
|
2373
|
-
string;
|
|
2374
|
-
/** Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. */
|
|
2375
|
-
name:
|
|
2376
|
-
string;
|
|
2377
|
-
/** OAuth 2.0 token for the current user. */
|
|
2378
|
-
oauth_token?:
|
|
2379
|
-
string;
|
|
2380
|
-
/** Returns response with indentations and line breaks. */
|
|
2381
|
-
prettyPrint?:
|
|
2382
|
-
boolean;
|
|
2383
|
-
/** 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. */
|
|
2384
|
-
quotaUser?:
|
|
2385
|
-
string;
|
|
2386
|
-
/**
|
|
2387
|
-
* The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields,
|
|
2388
|
-
* provide a field mask of "*".
|
|
2389
|
-
*/
|
|
2390
|
-
updateMask?:
|
|
2391
|
-
string;
|
|
2392
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2393
|
-
upload_protocol?:
|
|
2394
|
-
string;
|
|
2395
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2396
|
-
uploadType?:
|
|
2397
|
-
string;
|
|
2398
|
-
/** Request body */
|
|
2399
|
-
resource:
|
|
2400
|
-
GoogleChannelConfig;
|
|
2401
|
-
}): Request<GoogleChannelConfig>;
|
|
2402
|
-
updateGoogleChannelConfig(request: {
|
|
2403
|
-
/** V1 error format. */
|
|
2404
|
-
"$.xgafv"?:
|
|
2405
|
-
string;
|
|
2406
|
-
/** OAuth access token. */
|
|
2407
|
-
access_token?:
|
|
2408
|
-
string;
|
|
2409
|
-
/** Data format for response. */
|
|
2410
|
-
alt?:
|
|
2411
|
-
string;
|
|
2412
|
-
/** JSONP */
|
|
2413
|
-
callback?:
|
|
2414
|
-
string;
|
|
2415
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2416
|
-
fields?:
|
|
2417
|
-
string;
|
|
2418
|
-
/** 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. */
|
|
2419
|
-
key?:
|
|
2420
|
-
string;
|
|
2421
|
-
/** Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. */
|
|
2422
|
-
name:
|
|
2423
|
-
string;
|
|
2424
|
-
/** OAuth 2.0 token for the current user. */
|
|
2425
|
-
oauth_token?:
|
|
2426
|
-
string;
|
|
2427
|
-
/** Returns response with indentations and line breaks. */
|
|
2428
|
-
prettyPrint?:
|
|
2429
|
-
boolean;
|
|
2430
|
-
/** 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. */
|
|
2431
|
-
quotaUser?:
|
|
2432
|
-
string;
|
|
2433
|
-
/**
|
|
2434
|
-
* The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields,
|
|
2435
|
-
* provide a field mask of "*".
|
|
2436
|
-
*/
|
|
2437
|
-
updateMask?:
|
|
2438
|
-
string;
|
|
2439
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2440
|
-
upload_protocol?:
|
|
2441
|
-
string;
|
|
2442
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2443
|
-
uploadType?:
|
|
2444
|
-
string;
|
|
2445
|
-
},
|
|
2446
|
-
body: GoogleChannelConfig): Request<GoogleChannelConfig>;
|
|
2447
|
-
channelConnections:
|
|
2448
|
-
ChannelConnectionsResource;
|
|
2449
|
-
channels:
|
|
2450
|
-
ChannelsResource;
|
|
2451
|
-
operations:
|
|
2452
|
-
OperationsResource;
|
|
2453
|
-
providers:
|
|
2454
|
-
ProvidersResource;
|
|
2455
|
-
triggers:
|
|
2456
|
-
TriggersResource;
|
|
2457
|
-
}
|
|
2458
|
-
interface ProjectsResource {
|
|
2459
|
-
locations:
|
|
2460
|
-
LocationsResource;
|
|
2461
|
-
}
|
|
2462
|
-
|
|
2463
|
-
const projects: ProjectsResource;
|
|
26
|
+
namespace eventarc {
|
|
27
|
+
interface AuditConfig {
|
|
28
|
+
/** The configuration for logging of each type of permission. */
|
|
29
|
+
auditLogConfigs?: AuditLogConfig[];
|
|
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 services. */
|
|
31
|
+
service?: string;
|
|
32
|
+
}
|
|
33
|
+
interface AuditLogConfig {
|
|
34
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
35
|
+
exemptedMembers?: string[];
|
|
36
|
+
/** The log type that this config enables. */
|
|
37
|
+
logType?: string;
|
|
38
|
+
}
|
|
39
|
+
interface Binding {
|
|
40
|
+
/** 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`, 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 resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
41
|
+
condition?: Expr;
|
|
42
|
+
/** 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 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 account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `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`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `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. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service 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 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 the binding. */
|
|
43
|
+
members?: string[];
|
|
44
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
45
|
+
role?: string;
|
|
46
|
+
}
|
|
47
|
+
interface Channel {
|
|
48
|
+
/** Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing. */
|
|
49
|
+
activationToken?: string;
|
|
50
|
+
/** Output only. The creation time. */
|
|
51
|
+
createTime?: string;
|
|
52
|
+
/** Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. */
|
|
53
|
+
cryptoKeyName?: string;
|
|
54
|
+
/** Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format. */
|
|
55
|
+
name?: string;
|
|
56
|
+
/** The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`. */
|
|
57
|
+
provider?: string;
|
|
58
|
+
/** Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`. */
|
|
59
|
+
pubsubTopic?: string;
|
|
60
|
+
/** Output only. The state of a Channel. */
|
|
61
|
+
state?: string;
|
|
62
|
+
/** Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */
|
|
63
|
+
uid?: string;
|
|
64
|
+
/** Output only. The last-modified time. */
|
|
65
|
+
updateTime?: string;
|
|
66
|
+
}
|
|
67
|
+
interface ChannelConnection {
|
|
68
|
+
/** Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource. */
|
|
69
|
+
activationToken?: string;
|
|
70
|
+
/** Required. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format. */
|
|
71
|
+
channel?: string;
|
|
72
|
+
/** Output only. The creation time. */
|
|
73
|
+
createTime?: string;
|
|
74
|
+
/** Required. The name of the connection. */
|
|
75
|
+
name?: string;
|
|
76
|
+
/** Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted. */
|
|
77
|
+
uid?: string;
|
|
78
|
+
/** Output only. The last-modified time. */
|
|
79
|
+
updateTime?: string;
|
|
80
|
+
}
|
|
81
|
+
interface CloudRun {
|
|
82
|
+
/** Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". */
|
|
83
|
+
path?: string;
|
|
84
|
+
/** Required. The region the Cloud Run service is deployed in. */
|
|
85
|
+
region?: string;
|
|
86
|
+
/** Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed. */
|
|
87
|
+
service?: string;
|
|
88
|
+
}
|
|
89
|
+
interface Destination {
|
|
90
|
+
/** The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value. */
|
|
91
|
+
cloudFunction?: string;
|
|
92
|
+
/** Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger. */
|
|
93
|
+
cloudRun?: CloudRun;
|
|
94
|
+
/** A GKE service capable of receiving events. The service should be running in the same project as the trigger. */
|
|
95
|
+
gke?: GKE;
|
|
96
|
+
/** An HTTP endpoint destination described by an URI. */
|
|
97
|
+
httpEndpoint?: HttpEndpoint;
|
|
98
|
+
/** Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type. */
|
|
99
|
+
networkConfig?: NetworkConfig;
|
|
100
|
+
/** The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}` */
|
|
101
|
+
workflow?: string;
|
|
102
|
+
}
|
|
103
|
+
interface Empty {}
|
|
104
|
+
interface EventFilter {
|
|
105
|
+
/** Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' attribute. */
|
|
106
|
+
attribute?: string;
|
|
107
|
+
/** Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The allowed values are `path_pattern` and `match-path-pattern`. `path_pattern` is only allowed for GCFv1 triggers. */
|
|
108
|
+
operator?: string;
|
|
109
|
+
/** Required. The value for the attribute. */
|
|
110
|
+
value?: string;
|
|
111
|
+
}
|
|
112
|
+
interface EventType {
|
|
113
|
+
/** Output only. Human friendly description of what the event type is about. For example "Bucket created in Cloud Storage". */
|
|
114
|
+
description?: string;
|
|
115
|
+
/** Output only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto" */
|
|
116
|
+
eventSchemaUri?: string;
|
|
117
|
+
/** Output only. Filtering attributes for the event type. */
|
|
118
|
+
filteringAttributes?: FilteringAttribute[];
|
|
119
|
+
/** Output only. The full name of the event type (for example, "google.cloud.storage.object.v1.finalized"). In the form of {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be versioned and event schemas are guaranteed to remain backward compatible within one version. Note that event type versions and API versions do not need to match. */
|
|
120
|
+
type?: string;
|
|
121
|
+
}
|
|
122
|
+
interface Expr {
|
|
123
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
124
|
+
description?: string;
|
|
125
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
126
|
+
expression?: string;
|
|
127
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
128
|
+
location?: string;
|
|
129
|
+
/** 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. */
|
|
130
|
+
title?: string;
|
|
131
|
+
}
|
|
132
|
+
interface FilteringAttribute {
|
|
133
|
+
/** Output only. Attribute used for filtering the event type. */
|
|
134
|
+
attribute?: string;
|
|
135
|
+
/** Output only. Description of the purpose of the attribute. */
|
|
136
|
+
description?: string;
|
|
137
|
+
/** Output only. If true, the attribute accepts matching expressions in the Eventarc PathPattern format. */
|
|
138
|
+
pathPatternSupported?: boolean;
|
|
139
|
+
/** Output only. If true, the triggers for this provider should always specify a filter on these attributes. Trigger creation will fail otherwise. */
|
|
140
|
+
required?: boolean;
|
|
141
|
+
}
|
|
142
|
+
interface GKE {
|
|
143
|
+
/** Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created. */
|
|
144
|
+
cluster?: string;
|
|
145
|
+
/** Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters. */
|
|
146
|
+
location?: string;
|
|
147
|
+
/** Required. The namespace the GKE service is running in. */
|
|
148
|
+
namespace?: string;
|
|
149
|
+
/** Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". */
|
|
150
|
+
path?: string;
|
|
151
|
+
/** Required. Name of the GKE service. */
|
|
152
|
+
service?: string;
|
|
153
|
+
}
|
|
154
|
+
interface GoogleChannelConfig {
|
|
155
|
+
/** Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. */
|
|
156
|
+
cryptoKeyName?: string;
|
|
157
|
+
/** Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. */
|
|
158
|
+
name?: string;
|
|
159
|
+
/** Output only. The last-modified time. */
|
|
160
|
+
updateTime?: string;
|
|
161
|
+
}
|
|
162
|
+
interface GoogleLongrunningCancelOperationRequest {}
|
|
163
|
+
interface GoogleLongrunningListOperationsResponse {
|
|
164
|
+
/** The standard List next-page token. */
|
|
165
|
+
nextPageToken?: string;
|
|
166
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
167
|
+
operations?: GoogleLongrunningOperation[];
|
|
168
|
+
}
|
|
169
|
+
interface GoogleLongrunningOperation {
|
|
170
|
+
/** 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. */
|
|
171
|
+
done?: boolean;
|
|
172
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
173
|
+
error?: GoogleRpcStatus;
|
|
174
|
+
/** 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 metadata. Any method that returns a long-running operation should document the metadata type, if any. */
|
|
175
|
+
metadata?: {[P in string]: any};
|
|
176
|
+
/** 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 with `operations/{unique_id}`. */
|
|
177
|
+
name?: string;
|
|
178
|
+
/** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the 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 original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
|
|
179
|
+
response?: {[P in string]: any};
|
|
180
|
+
}
|
|
181
|
+
interface GoogleRpcStatus {
|
|
182
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
183
|
+
code?: number;
|
|
184
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
185
|
+
details?: Array<{[P in string]: any}>;
|
|
186
|
+
/** 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 client. */
|
|
187
|
+
message?: string;
|
|
188
|
+
}
|
|
189
|
+
interface HttpEndpoint {
|
|
190
|
+
/** Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS. */
|
|
191
|
+
uri?: string;
|
|
192
|
+
}
|
|
193
|
+
interface ListChannelConnectionsResponse {
|
|
194
|
+
/** The requested channel connections, up to the number specified in `page_size`. */
|
|
195
|
+
channelConnections?: ChannelConnection[];
|
|
196
|
+
/** A page token that can be sent to `ListChannelConnections` to request the next page. If this is empty, then there are no more pages. */
|
|
197
|
+
nextPageToken?: string;
|
|
198
|
+
/** Unreachable resources, if any. */
|
|
199
|
+
unreachable?: string[];
|
|
200
|
+
}
|
|
201
|
+
interface ListChannelsResponse {
|
|
202
|
+
/** The requested channels, up to the number specified in `page_size`. */
|
|
203
|
+
channels?: Channel[];
|
|
204
|
+
/** A page token that can be sent to `ListChannels` to request the next page. If this is empty, then there are no more pages. */
|
|
205
|
+
nextPageToken?: string;
|
|
206
|
+
/** Unreachable resources, if any. */
|
|
207
|
+
unreachable?: string[];
|
|
208
|
+
}
|
|
209
|
+
interface ListLocationsResponse {
|
|
210
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
211
|
+
locations?: Location[];
|
|
212
|
+
/** The standard List next-page token. */
|
|
213
|
+
nextPageToken?: string;
|
|
214
|
+
}
|
|
215
|
+
interface ListProvidersResponse {
|
|
216
|
+
/** A page token that can be sent to `ListProviders` to request the next page. If this is empty, then there are no more pages. */
|
|
217
|
+
nextPageToken?: string;
|
|
218
|
+
/** The requested providers, up to the number specified in `page_size`. */
|
|
219
|
+
providers?: Provider[];
|
|
220
|
+
/** Unreachable resources, if any. */
|
|
221
|
+
unreachable?: string[];
|
|
2464
222
|
}
|
|
223
|
+
interface ListTriggersResponse {
|
|
224
|
+
/** A page token that can be sent to `ListTriggers` to request the next page. If this is empty, then there are no more pages. */
|
|
225
|
+
nextPageToken?: string;
|
|
226
|
+
/** The requested triggers, up to the number specified in `page_size`. */
|
|
227
|
+
triggers?: Trigger[];
|
|
228
|
+
/** Unreachable resources, if any. */
|
|
229
|
+
unreachable?: string[];
|
|
230
|
+
}
|
|
231
|
+
interface Location {
|
|
232
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
233
|
+
displayName?: string;
|
|
234
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
235
|
+
labels?: {[P in string]: string};
|
|
236
|
+
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
237
|
+
locationId?: string;
|
|
238
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
239
|
+
metadata?: {[P in string]: any};
|
|
240
|
+
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
241
|
+
name?: string;
|
|
242
|
+
}
|
|
243
|
+
interface NetworkConfig {
|
|
244
|
+
/** Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` */
|
|
245
|
+
networkAttachment?: string;
|
|
246
|
+
}
|
|
247
|
+
interface OperationMetadata {
|
|
248
|
+
/** Output only. API version used to start the operation. */
|
|
249
|
+
apiVersion?: string;
|
|
250
|
+
/** Output only. The time the operation was created. */
|
|
251
|
+
createTime?: string;
|
|
252
|
+
/** Output only. The time the operation finished running. */
|
|
253
|
+
endTime?: string;
|
|
254
|
+
/** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
255
|
+
requestedCancellation?: boolean;
|
|
256
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
257
|
+
statusMessage?: string;
|
|
258
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
259
|
+
target?: string;
|
|
260
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
261
|
+
verb?: string;
|
|
262
|
+
}
|
|
263
|
+
interface Policy {
|
|
264
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
265
|
+
auditConfigs?: AuditConfig[];
|
|
266
|
+
/** 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` 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 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 1,450 principals to the `bindings` in the `Policy`. */
|
|
267
|
+
bindings?: Binding[];
|
|
268
|
+
/** `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 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 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 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` policy, and all of the conditions in the version `3` policy are lost. */
|
|
269
|
+
etag?: string;
|
|
270
|
+
/** 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 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 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 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` 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 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). */
|
|
271
|
+
version?: number;
|
|
272
|
+
}
|
|
273
|
+
interface Provider {
|
|
274
|
+
/** Output only. Human friendly name for the Provider. For example "Cloud Storage". */
|
|
275
|
+
displayName?: string;
|
|
276
|
+
/** Output only. Event types for this provider. */
|
|
277
|
+
eventTypes?: EventType[];
|
|
278
|
+
/** Output only. In `projects/{project}/locations/{location}/providers/{provider_id}` format. */
|
|
279
|
+
name?: string;
|
|
280
|
+
}
|
|
281
|
+
interface Pubsub {
|
|
282
|
+
/** Output only. The name of the Pub/Sub subscription created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`. */
|
|
283
|
+
subscription?: string;
|
|
284
|
+
/** Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion. */
|
|
285
|
+
topic?: string;
|
|
286
|
+
}
|
|
287
|
+
interface SetIamPolicyRequest {
|
|
288
|
+
/** 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 services (such as Projects) might reject them. */
|
|
289
|
+
policy?: Policy;
|
|
290
|
+
/** 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: `paths: "bindings, etag"` */
|
|
291
|
+
updateMask?: string;
|
|
292
|
+
}
|
|
293
|
+
interface StateCondition {
|
|
294
|
+
/** The canonical code of the condition. */
|
|
295
|
+
code?: string;
|
|
296
|
+
/** Human-readable message. */
|
|
297
|
+
message?: string;
|
|
298
|
+
}
|
|
299
|
+
interface TestIamPermissionsRequest {
|
|
300
|
+
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
301
|
+
permissions?: string[];
|
|
302
|
+
}
|
|
303
|
+
interface TestIamPermissionsResponse {
|
|
304
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
305
|
+
permissions?: string[];
|
|
306
|
+
}
|
|
307
|
+
interface Transport {
|
|
308
|
+
/** The Pub/Sub topic and subscription used by Eventarc as a transport intermediary. */
|
|
309
|
+
pubsub?: Pubsub;
|
|
310
|
+
}
|
|
311
|
+
interface Trigger {
|
|
312
|
+
/** Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. */
|
|
313
|
+
channel?: string;
|
|
314
|
+
/** Output only. The reason(s) why a trigger is in FAILED state. */
|
|
315
|
+
conditions?: {[P in string]: StateCondition};
|
|
316
|
+
/** Output only. The creation time. */
|
|
317
|
+
createTime?: string;
|
|
318
|
+
/** Required. Destination specifies where the events should be sent to. */
|
|
319
|
+
destination?: Destination;
|
|
320
|
+
/** Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding. */
|
|
321
|
+
etag?: string;
|
|
322
|
+
/** Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined. */
|
|
323
|
+
eventDataContentType?: string;
|
|
324
|
+
/** Required. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination. */
|
|
325
|
+
eventFilters?: EventFilter[];
|
|
326
|
+
/** Optional. User labels attached to the triggers that can be used to group resources. */
|
|
327
|
+
labels?: {[P in string]: string};
|
|
328
|
+
/** Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format. */
|
|
329
|
+
name?: string;
|
|
330
|
+
/** Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination. */
|
|
331
|
+
serviceAccount?: string;
|
|
332
|
+
/** Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes. */
|
|
333
|
+
transport?: Transport;
|
|
334
|
+
/** Output only. Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */
|
|
335
|
+
uid?: string;
|
|
336
|
+
/** Output only. The last-modified time. */
|
|
337
|
+
updateTime?: string;
|
|
338
|
+
}
|
|
339
|
+
interface ChannelConnectionsResource {
|
|
340
|
+
/** Create a new ChannelConnection in a particular project and location. */
|
|
341
|
+
create(request: {
|
|
342
|
+
/** V1 error format. */
|
|
343
|
+
'$.xgafv'?: string;
|
|
344
|
+
/** OAuth access token. */
|
|
345
|
+
access_token?: string;
|
|
346
|
+
/** Data format for response. */
|
|
347
|
+
alt?: string;
|
|
348
|
+
/** JSONP */
|
|
349
|
+
callback?: string;
|
|
350
|
+
/** Required. The user-provided ID to be assigned to the channel connection. */
|
|
351
|
+
channelConnectionId?: string;
|
|
352
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
353
|
+
fields?: string;
|
|
354
|
+
/** 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. */
|
|
355
|
+
key?: string;
|
|
356
|
+
/** OAuth 2.0 token for the current user. */
|
|
357
|
+
oauth_token?: string;
|
|
358
|
+
/** Required. The parent collection in which to add this channel connection. */
|
|
359
|
+
parent: string;
|
|
360
|
+
/** Returns response with indentations and line breaks. */
|
|
361
|
+
prettyPrint?: boolean;
|
|
362
|
+
/** 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. */
|
|
363
|
+
quotaUser?: string;
|
|
364
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
365
|
+
upload_protocol?: string;
|
|
366
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
367
|
+
uploadType?: string;
|
|
368
|
+
/** Request body */
|
|
369
|
+
resource: ChannelConnection;
|
|
370
|
+
}): Request<GoogleLongrunningOperation>;
|
|
371
|
+
create(
|
|
372
|
+
request: {
|
|
373
|
+
/** V1 error format. */
|
|
374
|
+
'$.xgafv'?: string;
|
|
375
|
+
/** OAuth access token. */
|
|
376
|
+
access_token?: string;
|
|
377
|
+
/** Data format for response. */
|
|
378
|
+
alt?: string;
|
|
379
|
+
/** JSONP */
|
|
380
|
+
callback?: string;
|
|
381
|
+
/** Required. The user-provided ID to be assigned to the channel connection. */
|
|
382
|
+
channelConnectionId?: string;
|
|
383
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
384
|
+
fields?: string;
|
|
385
|
+
/** 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. */
|
|
386
|
+
key?: string;
|
|
387
|
+
/** OAuth 2.0 token for the current user. */
|
|
388
|
+
oauth_token?: string;
|
|
389
|
+
/** Required. The parent collection in which to add this channel connection. */
|
|
390
|
+
parent: string;
|
|
391
|
+
/** Returns response with indentations and line breaks. */
|
|
392
|
+
prettyPrint?: boolean;
|
|
393
|
+
/** 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. */
|
|
394
|
+
quotaUser?: string;
|
|
395
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
396
|
+
upload_protocol?: string;
|
|
397
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
398
|
+
uploadType?: string;
|
|
399
|
+
},
|
|
400
|
+
body: ChannelConnection
|
|
401
|
+
): Request<GoogleLongrunningOperation>;
|
|
402
|
+
/** Delete a single ChannelConnection. */
|
|
403
|
+
delete(request?: {
|
|
404
|
+
/** V1 error format. */
|
|
405
|
+
'$.xgafv'?: string;
|
|
406
|
+
/** OAuth access token. */
|
|
407
|
+
access_token?: string;
|
|
408
|
+
/** Data format for response. */
|
|
409
|
+
alt?: string;
|
|
410
|
+
/** JSONP */
|
|
411
|
+
callback?: string;
|
|
412
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
413
|
+
fields?: string;
|
|
414
|
+
/** 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. */
|
|
415
|
+
key?: string;
|
|
416
|
+
/** Required. The name of the channel connection to delete. */
|
|
417
|
+
name: string;
|
|
418
|
+
/** OAuth 2.0 token for the current user. */
|
|
419
|
+
oauth_token?: string;
|
|
420
|
+
/** Returns response with indentations and line breaks. */
|
|
421
|
+
prettyPrint?: boolean;
|
|
422
|
+
/** 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. */
|
|
423
|
+
quotaUser?: string;
|
|
424
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
425
|
+
upload_protocol?: string;
|
|
426
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
427
|
+
uploadType?: string;
|
|
428
|
+
}): Request<GoogleLongrunningOperation>;
|
|
429
|
+
/** Get a single ChannelConnection. */
|
|
430
|
+
get(request?: {
|
|
431
|
+
/** V1 error format. */
|
|
432
|
+
'$.xgafv'?: string;
|
|
433
|
+
/** OAuth access token. */
|
|
434
|
+
access_token?: string;
|
|
435
|
+
/** Data format for response. */
|
|
436
|
+
alt?: string;
|
|
437
|
+
/** JSONP */
|
|
438
|
+
callback?: string;
|
|
439
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
440
|
+
fields?: string;
|
|
441
|
+
/** 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. */
|
|
442
|
+
key?: string;
|
|
443
|
+
/** Required. The name of the channel connection to get. */
|
|
444
|
+
name: string;
|
|
445
|
+
/** OAuth 2.0 token for the current user. */
|
|
446
|
+
oauth_token?: string;
|
|
447
|
+
/** Returns response with indentations and line breaks. */
|
|
448
|
+
prettyPrint?: boolean;
|
|
449
|
+
/** 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. */
|
|
450
|
+
quotaUser?: string;
|
|
451
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
452
|
+
upload_protocol?: string;
|
|
453
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
454
|
+
uploadType?: string;
|
|
455
|
+
}): Request<ChannelConnection>;
|
|
456
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
457
|
+
getIamPolicy(request?: {
|
|
458
|
+
/** V1 error format. */
|
|
459
|
+
'$.xgafv'?: string;
|
|
460
|
+
/** OAuth access token. */
|
|
461
|
+
access_token?: string;
|
|
462
|
+
/** Data format for response. */
|
|
463
|
+
alt?: string;
|
|
464
|
+
/** JSONP */
|
|
465
|
+
callback?: string;
|
|
466
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
467
|
+
fields?: string;
|
|
468
|
+
/** 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. */
|
|
469
|
+
key?: string;
|
|
470
|
+
/** OAuth 2.0 token for the current user. */
|
|
471
|
+
oauth_token?: string;
|
|
472
|
+
/** 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 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 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 role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
473
|
+
'options.requestedPolicyVersion'?: number;
|
|
474
|
+
/** Returns response with indentations and line breaks. */
|
|
475
|
+
prettyPrint?: boolean;
|
|
476
|
+
/** 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. */
|
|
477
|
+
quotaUser?: string;
|
|
478
|
+
/** 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 field. */
|
|
479
|
+
resource: string;
|
|
480
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
481
|
+
upload_protocol?: string;
|
|
482
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
483
|
+
uploadType?: string;
|
|
484
|
+
}): Request<Policy>;
|
|
485
|
+
/** List channel connections. */
|
|
486
|
+
list(request?: {
|
|
487
|
+
/** V1 error format. */
|
|
488
|
+
'$.xgafv'?: string;
|
|
489
|
+
/** OAuth access token. */
|
|
490
|
+
access_token?: string;
|
|
491
|
+
/** Data format for response. */
|
|
492
|
+
alt?: string;
|
|
493
|
+
/** JSONP */
|
|
494
|
+
callback?: string;
|
|
495
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
496
|
+
fields?: string;
|
|
497
|
+
/** 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. */
|
|
498
|
+
key?: string;
|
|
499
|
+
/** OAuth 2.0 token for the current user. */
|
|
500
|
+
oauth_token?: string;
|
|
501
|
+
/** The maximum number of channel connections to return on each page. Note: The service may send fewer responses. */
|
|
502
|
+
pageSize?: number;
|
|
503
|
+
/** The page token; provide the value from the `next_page_token` field in a previous `ListChannelConnections` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListChannelConnetions` match the call that provided the page token. */
|
|
504
|
+
pageToken?: string;
|
|
505
|
+
/** Required. The parent collection from which to list channel connections. */
|
|
506
|
+
parent: string;
|
|
507
|
+
/** Returns response with indentations and line breaks. */
|
|
508
|
+
prettyPrint?: boolean;
|
|
509
|
+
/** 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. */
|
|
510
|
+
quotaUser?: string;
|
|
511
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
512
|
+
upload_protocol?: string;
|
|
513
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
514
|
+
uploadType?: string;
|
|
515
|
+
}): Request<ListChannelConnectionsResponse>;
|
|
516
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
517
|
+
setIamPolicy(
|
|
518
|
+
request: {
|
|
519
|
+
/** V1 error format. */
|
|
520
|
+
'$.xgafv'?: string;
|
|
521
|
+
/** OAuth access token. */
|
|
522
|
+
access_token?: string;
|
|
523
|
+
/** Data format for response. */
|
|
524
|
+
alt?: string;
|
|
525
|
+
/** JSONP */
|
|
526
|
+
callback?: string;
|
|
527
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
528
|
+
fields?: string;
|
|
529
|
+
/** 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. */
|
|
530
|
+
key?: string;
|
|
531
|
+
/** OAuth 2.0 token for the current user. */
|
|
532
|
+
oauth_token?: string;
|
|
533
|
+
/** Returns response with indentations and line breaks. */
|
|
534
|
+
prettyPrint?: boolean;
|
|
535
|
+
/** 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. */
|
|
536
|
+
quotaUser?: string;
|
|
537
|
+
/** 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 field. */
|
|
538
|
+
resource: string;
|
|
539
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
540
|
+
upload_protocol?: string;
|
|
541
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
542
|
+
uploadType?: string;
|
|
543
|
+
},
|
|
544
|
+
body: SetIamPolicyRequest
|
|
545
|
+
): Request<Policy>;
|
|
546
|
+
/** 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 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. */
|
|
547
|
+
testIamPermissions(
|
|
548
|
+
request: {
|
|
549
|
+
/** V1 error format. */
|
|
550
|
+
'$.xgafv'?: string;
|
|
551
|
+
/** OAuth access token. */
|
|
552
|
+
access_token?: string;
|
|
553
|
+
/** Data format for response. */
|
|
554
|
+
alt?: string;
|
|
555
|
+
/** JSONP */
|
|
556
|
+
callback?: string;
|
|
557
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
558
|
+
fields?: string;
|
|
559
|
+
/** 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. */
|
|
560
|
+
key?: string;
|
|
561
|
+
/** OAuth 2.0 token for the current user. */
|
|
562
|
+
oauth_token?: string;
|
|
563
|
+
/** Returns response with indentations and line breaks. */
|
|
564
|
+
prettyPrint?: boolean;
|
|
565
|
+
/** 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. */
|
|
566
|
+
quotaUser?: string;
|
|
567
|
+
/** 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 this field. */
|
|
568
|
+
resource: string;
|
|
569
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
570
|
+
upload_protocol?: string;
|
|
571
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
572
|
+
uploadType?: string;
|
|
573
|
+
},
|
|
574
|
+
body: TestIamPermissionsRequest
|
|
575
|
+
): Request<TestIamPermissionsResponse>;
|
|
576
|
+
}
|
|
577
|
+
interface ChannelsResource {
|
|
578
|
+
/** Create a new channel in a particular project and location. */
|
|
579
|
+
create(request: {
|
|
580
|
+
/** V1 error format. */
|
|
581
|
+
'$.xgafv'?: string;
|
|
582
|
+
/** OAuth access token. */
|
|
583
|
+
access_token?: string;
|
|
584
|
+
/** Data format for response. */
|
|
585
|
+
alt?: string;
|
|
586
|
+
/** JSONP */
|
|
587
|
+
callback?: string;
|
|
588
|
+
/** Required. The user-provided ID to be assigned to the channel. */
|
|
589
|
+
channelId?: string;
|
|
590
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
591
|
+
fields?: string;
|
|
592
|
+
/** 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. */
|
|
593
|
+
key?: string;
|
|
594
|
+
/** OAuth 2.0 token for the current user. */
|
|
595
|
+
oauth_token?: string;
|
|
596
|
+
/** Required. The parent collection in which to add this channel. */
|
|
597
|
+
parent: string;
|
|
598
|
+
/** Returns response with indentations and line breaks. */
|
|
599
|
+
prettyPrint?: boolean;
|
|
600
|
+
/** 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. */
|
|
601
|
+
quotaUser?: string;
|
|
602
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
603
|
+
upload_protocol?: string;
|
|
604
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
605
|
+
uploadType?: string;
|
|
606
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
607
|
+
validateOnly?: boolean;
|
|
608
|
+
/** Request body */
|
|
609
|
+
resource: Channel;
|
|
610
|
+
}): Request<GoogleLongrunningOperation>;
|
|
611
|
+
create(
|
|
612
|
+
request: {
|
|
613
|
+
/** V1 error format. */
|
|
614
|
+
'$.xgafv'?: string;
|
|
615
|
+
/** OAuth access token. */
|
|
616
|
+
access_token?: string;
|
|
617
|
+
/** Data format for response. */
|
|
618
|
+
alt?: string;
|
|
619
|
+
/** JSONP */
|
|
620
|
+
callback?: string;
|
|
621
|
+
/** Required. The user-provided ID to be assigned to the channel. */
|
|
622
|
+
channelId?: string;
|
|
623
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
624
|
+
fields?: string;
|
|
625
|
+
/** 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. */
|
|
626
|
+
key?: string;
|
|
627
|
+
/** OAuth 2.0 token for the current user. */
|
|
628
|
+
oauth_token?: string;
|
|
629
|
+
/** Required. The parent collection in which to add this channel. */
|
|
630
|
+
parent: string;
|
|
631
|
+
/** Returns response with indentations and line breaks. */
|
|
632
|
+
prettyPrint?: boolean;
|
|
633
|
+
/** 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. */
|
|
634
|
+
quotaUser?: string;
|
|
635
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
636
|
+
upload_protocol?: string;
|
|
637
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
638
|
+
uploadType?: string;
|
|
639
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
640
|
+
validateOnly?: boolean;
|
|
641
|
+
},
|
|
642
|
+
body: Channel
|
|
643
|
+
): Request<GoogleLongrunningOperation>;
|
|
644
|
+
/** Delete a single channel. */
|
|
645
|
+
delete(request?: {
|
|
646
|
+
/** V1 error format. */
|
|
647
|
+
'$.xgafv'?: string;
|
|
648
|
+
/** OAuth access token. */
|
|
649
|
+
access_token?: string;
|
|
650
|
+
/** Data format for response. */
|
|
651
|
+
alt?: string;
|
|
652
|
+
/** JSONP */
|
|
653
|
+
callback?: string;
|
|
654
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
655
|
+
fields?: string;
|
|
656
|
+
/** 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. */
|
|
657
|
+
key?: string;
|
|
658
|
+
/** Required. The name of the channel to be deleted. */
|
|
659
|
+
name: string;
|
|
660
|
+
/** OAuth 2.0 token for the current user. */
|
|
661
|
+
oauth_token?: string;
|
|
662
|
+
/** Returns response with indentations and line breaks. */
|
|
663
|
+
prettyPrint?: boolean;
|
|
664
|
+
/** 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. */
|
|
665
|
+
quotaUser?: string;
|
|
666
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
667
|
+
upload_protocol?: string;
|
|
668
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
669
|
+
uploadType?: string;
|
|
670
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
671
|
+
validateOnly?: boolean;
|
|
672
|
+
}): Request<GoogleLongrunningOperation>;
|
|
673
|
+
/** Get a single Channel. */
|
|
674
|
+
get(request?: {
|
|
675
|
+
/** V1 error format. */
|
|
676
|
+
'$.xgafv'?: string;
|
|
677
|
+
/** OAuth access token. */
|
|
678
|
+
access_token?: string;
|
|
679
|
+
/** Data format for response. */
|
|
680
|
+
alt?: string;
|
|
681
|
+
/** JSONP */
|
|
682
|
+
callback?: string;
|
|
683
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
684
|
+
fields?: string;
|
|
685
|
+
/** 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. */
|
|
686
|
+
key?: string;
|
|
687
|
+
/** Required. The name of the channel to get. */
|
|
688
|
+
name: string;
|
|
689
|
+
/** OAuth 2.0 token for the current user. */
|
|
690
|
+
oauth_token?: string;
|
|
691
|
+
/** Returns response with indentations and line breaks. */
|
|
692
|
+
prettyPrint?: boolean;
|
|
693
|
+
/** 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. */
|
|
694
|
+
quotaUser?: string;
|
|
695
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
696
|
+
upload_protocol?: string;
|
|
697
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
698
|
+
uploadType?: string;
|
|
699
|
+
}): Request<Channel>;
|
|
700
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
701
|
+
getIamPolicy(request?: {
|
|
702
|
+
/** V1 error format. */
|
|
703
|
+
'$.xgafv'?: string;
|
|
704
|
+
/** OAuth access token. */
|
|
705
|
+
access_token?: string;
|
|
706
|
+
/** Data format for response. */
|
|
707
|
+
alt?: string;
|
|
708
|
+
/** JSONP */
|
|
709
|
+
callback?: string;
|
|
710
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
711
|
+
fields?: string;
|
|
712
|
+
/** 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. */
|
|
713
|
+
key?: string;
|
|
714
|
+
/** OAuth 2.0 token for the current user. */
|
|
715
|
+
oauth_token?: string;
|
|
716
|
+
/** 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 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 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 role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
717
|
+
'options.requestedPolicyVersion'?: number;
|
|
718
|
+
/** Returns response with indentations and line breaks. */
|
|
719
|
+
prettyPrint?: boolean;
|
|
720
|
+
/** 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. */
|
|
721
|
+
quotaUser?: string;
|
|
722
|
+
/** 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 field. */
|
|
723
|
+
resource: string;
|
|
724
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
725
|
+
upload_protocol?: string;
|
|
726
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
727
|
+
uploadType?: string;
|
|
728
|
+
}): Request<Policy>;
|
|
729
|
+
/** List channels. */
|
|
730
|
+
list(request?: {
|
|
731
|
+
/** V1 error format. */
|
|
732
|
+
'$.xgafv'?: string;
|
|
733
|
+
/** OAuth access token. */
|
|
734
|
+
access_token?: string;
|
|
735
|
+
/** Data format for response. */
|
|
736
|
+
alt?: string;
|
|
737
|
+
/** JSONP */
|
|
738
|
+
callback?: string;
|
|
739
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
740
|
+
fields?: string;
|
|
741
|
+
/** 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. */
|
|
742
|
+
key?: string;
|
|
743
|
+
/** OAuth 2.0 token for the current user. */
|
|
744
|
+
oauth_token?: string;
|
|
745
|
+
/** The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, channel_id`. */
|
|
746
|
+
orderBy?: string;
|
|
747
|
+
/** The maximum number of channels to return on each page. Note: The service may send fewer. */
|
|
748
|
+
pageSize?: number;
|
|
749
|
+
/** The page token; provide the value from the `next_page_token` field in a previous `ListChannels` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListChannels` must match the call that provided the page token. */
|
|
750
|
+
pageToken?: string;
|
|
751
|
+
/** Required. The parent collection to list channels on. */
|
|
752
|
+
parent: string;
|
|
753
|
+
/** Returns response with indentations and line breaks. */
|
|
754
|
+
prettyPrint?: boolean;
|
|
755
|
+
/** 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. */
|
|
756
|
+
quotaUser?: string;
|
|
757
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
758
|
+
upload_protocol?: string;
|
|
759
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
760
|
+
uploadType?: string;
|
|
761
|
+
}): Request<ListChannelsResponse>;
|
|
762
|
+
/** Update a single channel. */
|
|
763
|
+
patch(request: {
|
|
764
|
+
/** V1 error format. */
|
|
765
|
+
'$.xgafv'?: string;
|
|
766
|
+
/** OAuth access token. */
|
|
767
|
+
access_token?: string;
|
|
768
|
+
/** Data format for response. */
|
|
769
|
+
alt?: string;
|
|
770
|
+
/** JSONP */
|
|
771
|
+
callback?: string;
|
|
772
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
773
|
+
fields?: string;
|
|
774
|
+
/** 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. */
|
|
775
|
+
key?: string;
|
|
776
|
+
/** Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format. */
|
|
777
|
+
name: string;
|
|
778
|
+
/** OAuth 2.0 token for the current user. */
|
|
779
|
+
oauth_token?: string;
|
|
780
|
+
/** Returns response with indentations and line breaks. */
|
|
781
|
+
prettyPrint?: boolean;
|
|
782
|
+
/** 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. */
|
|
783
|
+
quotaUser?: string;
|
|
784
|
+
/** The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
|
|
785
|
+
updateMask?: string;
|
|
786
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
787
|
+
upload_protocol?: string;
|
|
788
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
789
|
+
uploadType?: string;
|
|
790
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
791
|
+
validateOnly?: boolean;
|
|
792
|
+
/** Request body */
|
|
793
|
+
resource: Channel;
|
|
794
|
+
}): Request<GoogleLongrunningOperation>;
|
|
795
|
+
patch(
|
|
796
|
+
request: {
|
|
797
|
+
/** V1 error format. */
|
|
798
|
+
'$.xgafv'?: string;
|
|
799
|
+
/** OAuth access token. */
|
|
800
|
+
access_token?: string;
|
|
801
|
+
/** Data format for response. */
|
|
802
|
+
alt?: string;
|
|
803
|
+
/** JSONP */
|
|
804
|
+
callback?: string;
|
|
805
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
806
|
+
fields?: string;
|
|
807
|
+
/** 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. */
|
|
808
|
+
key?: string;
|
|
809
|
+
/** Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format. */
|
|
810
|
+
name: string;
|
|
811
|
+
/** OAuth 2.0 token for the current user. */
|
|
812
|
+
oauth_token?: string;
|
|
813
|
+
/** Returns response with indentations and line breaks. */
|
|
814
|
+
prettyPrint?: boolean;
|
|
815
|
+
/** 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. */
|
|
816
|
+
quotaUser?: string;
|
|
817
|
+
/** The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
|
|
818
|
+
updateMask?: string;
|
|
819
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
820
|
+
upload_protocol?: string;
|
|
821
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
822
|
+
uploadType?: string;
|
|
823
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
824
|
+
validateOnly?: boolean;
|
|
825
|
+
},
|
|
826
|
+
body: Channel
|
|
827
|
+
): Request<GoogleLongrunningOperation>;
|
|
828
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
829
|
+
setIamPolicy(
|
|
830
|
+
request: {
|
|
831
|
+
/** V1 error format. */
|
|
832
|
+
'$.xgafv'?: string;
|
|
833
|
+
/** OAuth access token. */
|
|
834
|
+
access_token?: string;
|
|
835
|
+
/** Data format for response. */
|
|
836
|
+
alt?: string;
|
|
837
|
+
/** JSONP */
|
|
838
|
+
callback?: string;
|
|
839
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
840
|
+
fields?: string;
|
|
841
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
842
|
+
key?: string;
|
|
843
|
+
/** OAuth 2.0 token for the current user. */
|
|
844
|
+
oauth_token?: string;
|
|
845
|
+
/** Returns response with indentations and line breaks. */
|
|
846
|
+
prettyPrint?: boolean;
|
|
847
|
+
/** 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. */
|
|
848
|
+
quotaUser?: string;
|
|
849
|
+
/** 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 field. */
|
|
850
|
+
resource: string;
|
|
851
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
852
|
+
upload_protocol?: string;
|
|
853
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
854
|
+
uploadType?: string;
|
|
855
|
+
},
|
|
856
|
+
body: SetIamPolicyRequest
|
|
857
|
+
): Request<Policy>;
|
|
858
|
+
/** 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 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. */
|
|
859
|
+
testIamPermissions(
|
|
860
|
+
request: {
|
|
861
|
+
/** V1 error format. */
|
|
862
|
+
'$.xgafv'?: string;
|
|
863
|
+
/** OAuth access token. */
|
|
864
|
+
access_token?: string;
|
|
865
|
+
/** Data format for response. */
|
|
866
|
+
alt?: string;
|
|
867
|
+
/** JSONP */
|
|
868
|
+
callback?: string;
|
|
869
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
870
|
+
fields?: string;
|
|
871
|
+
/** 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. */
|
|
872
|
+
key?: string;
|
|
873
|
+
/** OAuth 2.0 token for the current user. */
|
|
874
|
+
oauth_token?: string;
|
|
875
|
+
/** Returns response with indentations and line breaks. */
|
|
876
|
+
prettyPrint?: boolean;
|
|
877
|
+
/** 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. */
|
|
878
|
+
quotaUser?: string;
|
|
879
|
+
/** 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 this field. */
|
|
880
|
+
resource: string;
|
|
881
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
882
|
+
upload_protocol?: string;
|
|
883
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
884
|
+
uploadType?: string;
|
|
885
|
+
},
|
|
886
|
+
body: TestIamPermissionsRequest
|
|
887
|
+
): Request<TestIamPermissionsResponse>;
|
|
888
|
+
}
|
|
889
|
+
interface OperationsResource {
|
|
890
|
+
/** 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 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 operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
891
|
+
cancel(request: {
|
|
892
|
+
/** V1 error format. */
|
|
893
|
+
'$.xgafv'?: string;
|
|
894
|
+
/** OAuth access token. */
|
|
895
|
+
access_token?: string;
|
|
896
|
+
/** Data format for response. */
|
|
897
|
+
alt?: string;
|
|
898
|
+
/** JSONP */
|
|
899
|
+
callback?: string;
|
|
900
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
901
|
+
fields?: string;
|
|
902
|
+
/** 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. */
|
|
903
|
+
key?: string;
|
|
904
|
+
/** The name of the operation resource to be cancelled. */
|
|
905
|
+
name: string;
|
|
906
|
+
/** OAuth 2.0 token for the current user. */
|
|
907
|
+
oauth_token?: string;
|
|
908
|
+
/** Returns response with indentations and line breaks. */
|
|
909
|
+
prettyPrint?: boolean;
|
|
910
|
+
/** 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. */
|
|
911
|
+
quotaUser?: string;
|
|
912
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
913
|
+
upload_protocol?: string;
|
|
914
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
915
|
+
uploadType?: string;
|
|
916
|
+
/** Request body */
|
|
917
|
+
resource: GoogleLongrunningCancelOperationRequest;
|
|
918
|
+
}): Request<{}>;
|
|
919
|
+
cancel(
|
|
920
|
+
request: {
|
|
921
|
+
/** V1 error format. */
|
|
922
|
+
'$.xgafv'?: string;
|
|
923
|
+
/** OAuth access token. */
|
|
924
|
+
access_token?: string;
|
|
925
|
+
/** Data format for response. */
|
|
926
|
+
alt?: string;
|
|
927
|
+
/** JSONP */
|
|
928
|
+
callback?: string;
|
|
929
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
930
|
+
fields?: string;
|
|
931
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
932
|
+
key?: string;
|
|
933
|
+
/** The name of the operation resource to be cancelled. */
|
|
934
|
+
name: string;
|
|
935
|
+
/** OAuth 2.0 token for the current user. */
|
|
936
|
+
oauth_token?: string;
|
|
937
|
+
/** Returns response with indentations and line breaks. */
|
|
938
|
+
prettyPrint?: boolean;
|
|
939
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
940
|
+
quotaUser?: string;
|
|
941
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
942
|
+
upload_protocol?: string;
|
|
943
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
944
|
+
uploadType?: string;
|
|
945
|
+
},
|
|
946
|
+
body: GoogleLongrunningCancelOperationRequest
|
|
947
|
+
): Request<{}>;
|
|
948
|
+
/** 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 support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
949
|
+
delete(request?: {
|
|
950
|
+
/** V1 error format. */
|
|
951
|
+
'$.xgafv'?: string;
|
|
952
|
+
/** OAuth access token. */
|
|
953
|
+
access_token?: string;
|
|
954
|
+
/** Data format for response. */
|
|
955
|
+
alt?: string;
|
|
956
|
+
/** JSONP */
|
|
957
|
+
callback?: string;
|
|
958
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
959
|
+
fields?: string;
|
|
960
|
+
/** 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. */
|
|
961
|
+
key?: string;
|
|
962
|
+
/** The name of the operation resource to be deleted. */
|
|
963
|
+
name: string;
|
|
964
|
+
/** OAuth 2.0 token for the current user. */
|
|
965
|
+
oauth_token?: string;
|
|
966
|
+
/** Returns response with indentations and line breaks. */
|
|
967
|
+
prettyPrint?: boolean;
|
|
968
|
+
/** 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. */
|
|
969
|
+
quotaUser?: string;
|
|
970
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
971
|
+
upload_protocol?: string;
|
|
972
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
973
|
+
uploadType?: string;
|
|
974
|
+
}): Request<{}>;
|
|
975
|
+
/** 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. */
|
|
976
|
+
get(request?: {
|
|
977
|
+
/** V1 error format. */
|
|
978
|
+
'$.xgafv'?: string;
|
|
979
|
+
/** OAuth access token. */
|
|
980
|
+
access_token?: string;
|
|
981
|
+
/** Data format for response. */
|
|
982
|
+
alt?: string;
|
|
983
|
+
/** JSONP */
|
|
984
|
+
callback?: string;
|
|
985
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
986
|
+
fields?: string;
|
|
987
|
+
/** 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. */
|
|
988
|
+
key?: string;
|
|
989
|
+
/** The name of the operation resource. */
|
|
990
|
+
name: string;
|
|
991
|
+
/** OAuth 2.0 token for the current user. */
|
|
992
|
+
oauth_token?: string;
|
|
993
|
+
/** Returns response with indentations and line breaks. */
|
|
994
|
+
prettyPrint?: boolean;
|
|
995
|
+
/** 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. */
|
|
996
|
+
quotaUser?: string;
|
|
997
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
998
|
+
upload_protocol?: string;
|
|
999
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1000
|
+
uploadType?: string;
|
|
1001
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1002
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1003
|
+
list(request?: {
|
|
1004
|
+
/** V1 error format. */
|
|
1005
|
+
'$.xgafv'?: string;
|
|
1006
|
+
/** OAuth access token. */
|
|
1007
|
+
access_token?: string;
|
|
1008
|
+
/** Data format for response. */
|
|
1009
|
+
alt?: string;
|
|
1010
|
+
/** JSONP */
|
|
1011
|
+
callback?: string;
|
|
1012
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1013
|
+
fields?: string;
|
|
1014
|
+
/** The standard list filter. */
|
|
1015
|
+
filter?: string;
|
|
1016
|
+
/** 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. */
|
|
1017
|
+
key?: string;
|
|
1018
|
+
/** The name of the operation's parent resource. */
|
|
1019
|
+
name: string;
|
|
1020
|
+
/** OAuth 2.0 token for the current user. */
|
|
1021
|
+
oauth_token?: string;
|
|
1022
|
+
/** The standard list page size. */
|
|
1023
|
+
pageSize?: number;
|
|
1024
|
+
/** The standard list page token. */
|
|
1025
|
+
pageToken?: 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
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1031
|
+
upload_protocol?: string;
|
|
1032
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1033
|
+
uploadType?: string;
|
|
1034
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1035
|
+
}
|
|
1036
|
+
interface ProvidersResource {
|
|
1037
|
+
/** Get a single Provider. */
|
|
1038
|
+
get(request?: {
|
|
1039
|
+
/** V1 error format. */
|
|
1040
|
+
'$.xgafv'?: string;
|
|
1041
|
+
/** OAuth access token. */
|
|
1042
|
+
access_token?: string;
|
|
1043
|
+
/** Data format for response. */
|
|
1044
|
+
alt?: string;
|
|
1045
|
+
/** JSONP */
|
|
1046
|
+
callback?: string;
|
|
1047
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1048
|
+
fields?: string;
|
|
1049
|
+
/** 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. */
|
|
1050
|
+
key?: string;
|
|
1051
|
+
/** Required. The name of the provider to get. */
|
|
1052
|
+
name: string;
|
|
1053
|
+
/** OAuth 2.0 token for the current user. */
|
|
1054
|
+
oauth_token?: string;
|
|
1055
|
+
/** Returns response with indentations and line breaks. */
|
|
1056
|
+
prettyPrint?: boolean;
|
|
1057
|
+
/** 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. */
|
|
1058
|
+
quotaUser?: string;
|
|
1059
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1060
|
+
upload_protocol?: string;
|
|
1061
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1062
|
+
uploadType?: string;
|
|
1063
|
+
}): Request<Provider>;
|
|
1064
|
+
/** List providers. */
|
|
1065
|
+
list(request?: {
|
|
1066
|
+
/** V1 error format. */
|
|
1067
|
+
'$.xgafv'?: string;
|
|
1068
|
+
/** OAuth access token. */
|
|
1069
|
+
access_token?: string;
|
|
1070
|
+
/** Data format for response. */
|
|
1071
|
+
alt?: string;
|
|
1072
|
+
/** JSONP */
|
|
1073
|
+
callback?: string;
|
|
1074
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1075
|
+
fields?: string;
|
|
1076
|
+
/** The filter field that the list request will filter on. */
|
|
1077
|
+
filter?: string;
|
|
1078
|
+
/** 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. */
|
|
1079
|
+
key?: string;
|
|
1080
|
+
/** OAuth 2.0 token for the current user. */
|
|
1081
|
+
oauth_token?: string;
|
|
1082
|
+
/** The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting oder is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, _id`. */
|
|
1083
|
+
orderBy?: string;
|
|
1084
|
+
/** The maximum number of providers to return on each page. */
|
|
1085
|
+
pageSize?: number;
|
|
1086
|
+
/** The page token; provide the value from the `next_page_token` field in a previous `ListProviders` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListProviders` must match the call that provided the page token. */
|
|
1087
|
+
pageToken?: string;
|
|
1088
|
+
/** Required. The parent of the provider to get. */
|
|
1089
|
+
parent: string;
|
|
1090
|
+
/** Returns response with indentations and line breaks. */
|
|
1091
|
+
prettyPrint?: boolean;
|
|
1092
|
+
/** 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. */
|
|
1093
|
+
quotaUser?: string;
|
|
1094
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1095
|
+
upload_protocol?: string;
|
|
1096
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1097
|
+
uploadType?: string;
|
|
1098
|
+
}): Request<ListProvidersResponse>;
|
|
1099
|
+
}
|
|
1100
|
+
interface TriggersResource {
|
|
1101
|
+
/** Create a new trigger in a particular project and location. */
|
|
1102
|
+
create(request: {
|
|
1103
|
+
/** V1 error format. */
|
|
1104
|
+
'$.xgafv'?: string;
|
|
1105
|
+
/** OAuth access token. */
|
|
1106
|
+
access_token?: string;
|
|
1107
|
+
/** Data format for response. */
|
|
1108
|
+
alt?: string;
|
|
1109
|
+
/** JSONP */
|
|
1110
|
+
callback?: string;
|
|
1111
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1112
|
+
fields?: string;
|
|
1113
|
+
/** 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. */
|
|
1114
|
+
key?: string;
|
|
1115
|
+
/** OAuth 2.0 token for the current user. */
|
|
1116
|
+
oauth_token?: string;
|
|
1117
|
+
/** Required. The parent collection in which to add this trigger. */
|
|
1118
|
+
parent: string;
|
|
1119
|
+
/** Returns response with indentations and line breaks. */
|
|
1120
|
+
prettyPrint?: boolean;
|
|
1121
|
+
/** 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. */
|
|
1122
|
+
quotaUser?: string;
|
|
1123
|
+
/** Required. The user-provided ID to be assigned to the trigger. */
|
|
1124
|
+
triggerId?: string;
|
|
1125
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1126
|
+
upload_protocol?: string;
|
|
1127
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1128
|
+
uploadType?: string;
|
|
1129
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1130
|
+
validateOnly?: boolean;
|
|
1131
|
+
/** Request body */
|
|
1132
|
+
resource: Trigger;
|
|
1133
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1134
|
+
create(
|
|
1135
|
+
request: {
|
|
1136
|
+
/** V1 error format. */
|
|
1137
|
+
'$.xgafv'?: string;
|
|
1138
|
+
/** OAuth access token. */
|
|
1139
|
+
access_token?: string;
|
|
1140
|
+
/** Data format for response. */
|
|
1141
|
+
alt?: string;
|
|
1142
|
+
/** JSONP */
|
|
1143
|
+
callback?: string;
|
|
1144
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1145
|
+
fields?: string;
|
|
1146
|
+
/** 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. */
|
|
1147
|
+
key?: string;
|
|
1148
|
+
/** OAuth 2.0 token for the current user. */
|
|
1149
|
+
oauth_token?: string;
|
|
1150
|
+
/** Required. The parent collection in which to add this trigger. */
|
|
1151
|
+
parent: string;
|
|
1152
|
+
/** Returns response with indentations and line breaks. */
|
|
1153
|
+
prettyPrint?: boolean;
|
|
1154
|
+
/** 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. */
|
|
1155
|
+
quotaUser?: string;
|
|
1156
|
+
/** Required. The user-provided ID to be assigned to the trigger. */
|
|
1157
|
+
triggerId?: string;
|
|
1158
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1159
|
+
upload_protocol?: string;
|
|
1160
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1161
|
+
uploadType?: string;
|
|
1162
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1163
|
+
validateOnly?: boolean;
|
|
1164
|
+
},
|
|
1165
|
+
body: Trigger
|
|
1166
|
+
): Request<GoogleLongrunningOperation>;
|
|
1167
|
+
/** Delete a single trigger. */
|
|
1168
|
+
delete(request?: {
|
|
1169
|
+
/** V1 error format. */
|
|
1170
|
+
'$.xgafv'?: string;
|
|
1171
|
+
/** OAuth access token. */
|
|
1172
|
+
access_token?: string;
|
|
1173
|
+
/** If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server. */
|
|
1174
|
+
allowMissing?: boolean;
|
|
1175
|
+
/** Data format for response. */
|
|
1176
|
+
alt?: string;
|
|
1177
|
+
/** JSONP */
|
|
1178
|
+
callback?: string;
|
|
1179
|
+
/** If provided, the trigger will only be deleted if the etag matches the current etag on the resource. */
|
|
1180
|
+
etag?: string;
|
|
1181
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1182
|
+
fields?: string;
|
|
1183
|
+
/** 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. */
|
|
1184
|
+
key?: string;
|
|
1185
|
+
/** Required. The name of the trigger to be deleted. */
|
|
1186
|
+
name: string;
|
|
1187
|
+
/** OAuth 2.0 token for the current user. */
|
|
1188
|
+
oauth_token?: string;
|
|
1189
|
+
/** Returns response with indentations and line breaks. */
|
|
1190
|
+
prettyPrint?: boolean;
|
|
1191
|
+
/** 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. */
|
|
1192
|
+
quotaUser?: string;
|
|
1193
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1194
|
+
upload_protocol?: string;
|
|
1195
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1196
|
+
uploadType?: string;
|
|
1197
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1198
|
+
validateOnly?: boolean;
|
|
1199
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1200
|
+
/** Get a single trigger. */
|
|
1201
|
+
get(request?: {
|
|
1202
|
+
/** V1 error format. */
|
|
1203
|
+
'$.xgafv'?: string;
|
|
1204
|
+
/** OAuth access token. */
|
|
1205
|
+
access_token?: string;
|
|
1206
|
+
/** Data format for response. */
|
|
1207
|
+
alt?: string;
|
|
1208
|
+
/** JSONP */
|
|
1209
|
+
callback?: string;
|
|
1210
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1211
|
+
fields?: string;
|
|
1212
|
+
/** 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. */
|
|
1213
|
+
key?: string;
|
|
1214
|
+
/** Required. The name of the trigger to get. */
|
|
1215
|
+
name: string;
|
|
1216
|
+
/** OAuth 2.0 token for the current user. */
|
|
1217
|
+
oauth_token?: string;
|
|
1218
|
+
/** Returns response with indentations and line breaks. */
|
|
1219
|
+
prettyPrint?: boolean;
|
|
1220
|
+
/** 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. */
|
|
1221
|
+
quotaUser?: string;
|
|
1222
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1223
|
+
upload_protocol?: string;
|
|
1224
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1225
|
+
uploadType?: string;
|
|
1226
|
+
}): Request<Trigger>;
|
|
1227
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1228
|
+
getIamPolicy(request?: {
|
|
1229
|
+
/** V1 error format. */
|
|
1230
|
+
'$.xgafv'?: string;
|
|
1231
|
+
/** OAuth access token. */
|
|
1232
|
+
access_token?: string;
|
|
1233
|
+
/** Data format for response. */
|
|
1234
|
+
alt?: string;
|
|
1235
|
+
/** JSONP */
|
|
1236
|
+
callback?: string;
|
|
1237
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1238
|
+
fields?: string;
|
|
1239
|
+
/** 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. */
|
|
1240
|
+
key?: string;
|
|
1241
|
+
/** OAuth 2.0 token for the current user. */
|
|
1242
|
+
oauth_token?: string;
|
|
1243
|
+
/** 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 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 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 role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
1244
|
+
'options.requestedPolicyVersion'?: number;
|
|
1245
|
+
/** Returns response with indentations and line breaks. */
|
|
1246
|
+
prettyPrint?: boolean;
|
|
1247
|
+
/** 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. */
|
|
1248
|
+
quotaUser?: string;
|
|
1249
|
+
/** 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 field. */
|
|
1250
|
+
resource: string;
|
|
1251
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1252
|
+
upload_protocol?: string;
|
|
1253
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1254
|
+
uploadType?: string;
|
|
1255
|
+
}): Request<Policy>;
|
|
1256
|
+
/** List triggers. */
|
|
1257
|
+
list(request?: {
|
|
1258
|
+
/** V1 error format. */
|
|
1259
|
+
'$.xgafv'?: string;
|
|
1260
|
+
/** OAuth access token. */
|
|
1261
|
+
access_token?: string;
|
|
1262
|
+
/** Data format for response. */
|
|
1263
|
+
alt?: string;
|
|
1264
|
+
/** JSONP */
|
|
1265
|
+
callback?: string;
|
|
1266
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1267
|
+
fields?: string;
|
|
1268
|
+
/** Filter field. Used to filter the Triggers to be listed. Possible filters are described in https://google.aip.dev/160. For example, using "?filter=destination:gke" would list only Triggers with a gke destination. */
|
|
1269
|
+
filter?: string;
|
|
1270
|
+
/** 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. */
|
|
1271
|
+
key?: string;
|
|
1272
|
+
/** OAuth 2.0 token for the current user. */
|
|
1273
|
+
oauth_token?: string;
|
|
1274
|
+
/** The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, trigger_id`. */
|
|
1275
|
+
orderBy?: string;
|
|
1276
|
+
/** The maximum number of triggers to return on each page. Note: The service may send fewer. */
|
|
1277
|
+
pageSize?: number;
|
|
1278
|
+
/** The page token; provide the value from the `next_page_token` field in a previous `ListTriggers` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListTriggers` must match the call that provided the page token. */
|
|
1279
|
+
pageToken?: string;
|
|
1280
|
+
/** Required. The parent collection to list triggers on. */
|
|
1281
|
+
parent: string;
|
|
1282
|
+
/** Returns response with indentations and line breaks. */
|
|
1283
|
+
prettyPrint?: boolean;
|
|
1284
|
+
/** 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. */
|
|
1285
|
+
quotaUser?: string;
|
|
1286
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1287
|
+
upload_protocol?: string;
|
|
1288
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1289
|
+
uploadType?: string;
|
|
1290
|
+
}): Request<ListTriggersResponse>;
|
|
1291
|
+
/** Update a single trigger. */
|
|
1292
|
+
patch(request: {
|
|
1293
|
+
/** V1 error format. */
|
|
1294
|
+
'$.xgafv'?: string;
|
|
1295
|
+
/** OAuth access token. */
|
|
1296
|
+
access_token?: string;
|
|
1297
|
+
/** If set to true, and the trigger is not found, a new trigger will be created. In this situation, `update_mask` is ignored. */
|
|
1298
|
+
allowMissing?: boolean;
|
|
1299
|
+
/** Data format for response. */
|
|
1300
|
+
alt?: string;
|
|
1301
|
+
/** JSONP */
|
|
1302
|
+
callback?: string;
|
|
1303
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1304
|
+
fields?: string;
|
|
1305
|
+
/** 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. */
|
|
1306
|
+
key?: string;
|
|
1307
|
+
/** Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format. */
|
|
1308
|
+
name: string;
|
|
1309
|
+
/** OAuth 2.0 token for the current user. */
|
|
1310
|
+
oauth_token?: string;
|
|
1311
|
+
/** Returns response with indentations and line breaks. */
|
|
1312
|
+
prettyPrint?: boolean;
|
|
1313
|
+
/** 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. */
|
|
1314
|
+
quotaUser?: string;
|
|
1315
|
+
/** The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
|
|
1316
|
+
updateMask?: string;
|
|
1317
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1318
|
+
upload_protocol?: string;
|
|
1319
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1320
|
+
uploadType?: string;
|
|
1321
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1322
|
+
validateOnly?: boolean;
|
|
1323
|
+
/** Request body */
|
|
1324
|
+
resource: Trigger;
|
|
1325
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1326
|
+
patch(
|
|
1327
|
+
request: {
|
|
1328
|
+
/** V1 error format. */
|
|
1329
|
+
'$.xgafv'?: string;
|
|
1330
|
+
/** OAuth access token. */
|
|
1331
|
+
access_token?: string;
|
|
1332
|
+
/** If set to true, and the trigger is not found, a new trigger will be created. In this situation, `update_mask` is ignored. */
|
|
1333
|
+
allowMissing?: boolean;
|
|
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
|
+
/** Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format. */
|
|
1343
|
+
name: string;
|
|
1344
|
+
/** OAuth 2.0 token for the current user. */
|
|
1345
|
+
oauth_token?: string;
|
|
1346
|
+
/** Returns response with indentations and line breaks. */
|
|
1347
|
+
prettyPrint?: boolean;
|
|
1348
|
+
/** 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. */
|
|
1349
|
+
quotaUser?: string;
|
|
1350
|
+
/** The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
|
|
1351
|
+
updateMask?: string;
|
|
1352
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1353
|
+
upload_protocol?: string;
|
|
1354
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1355
|
+
uploadType?: string;
|
|
1356
|
+
/** Optional. If set, validate the request and preview the review, but do not post it. */
|
|
1357
|
+
validateOnly?: boolean;
|
|
1358
|
+
},
|
|
1359
|
+
body: Trigger
|
|
1360
|
+
): Request<GoogleLongrunningOperation>;
|
|
1361
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1362
|
+
setIamPolicy(
|
|
1363
|
+
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
|
+
/** OAuth 2.0 token for the current user. */
|
|
1377
|
+
oauth_token?: string;
|
|
1378
|
+
/** Returns response with indentations and line breaks. */
|
|
1379
|
+
prettyPrint?: boolean;
|
|
1380
|
+
/** 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. */
|
|
1381
|
+
quotaUser?: string;
|
|
1382
|
+
/** 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 field. */
|
|
1383
|
+
resource: 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
|
+
},
|
|
1389
|
+
body: SetIamPolicyRequest
|
|
1390
|
+
): Request<Policy>;
|
|
1391
|
+
/** 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 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. */
|
|
1392
|
+
testIamPermissions(
|
|
1393
|
+
request: {
|
|
1394
|
+
/** V1 error format. */
|
|
1395
|
+
'$.xgafv'?: string;
|
|
1396
|
+
/** OAuth access token. */
|
|
1397
|
+
access_token?: string;
|
|
1398
|
+
/** Data format for response. */
|
|
1399
|
+
alt?: string;
|
|
1400
|
+
/** JSONP */
|
|
1401
|
+
callback?: string;
|
|
1402
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1403
|
+
fields?: string;
|
|
1404
|
+
/** 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. */
|
|
1405
|
+
key?: string;
|
|
1406
|
+
/** OAuth 2.0 token for the current user. */
|
|
1407
|
+
oauth_token?: string;
|
|
1408
|
+
/** Returns response with indentations and line breaks. */
|
|
1409
|
+
prettyPrint?: boolean;
|
|
1410
|
+
/** 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. */
|
|
1411
|
+
quotaUser?: string;
|
|
1412
|
+
/** 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 this field. */
|
|
1413
|
+
resource: string;
|
|
1414
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1415
|
+
upload_protocol?: string;
|
|
1416
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1417
|
+
uploadType?: string;
|
|
1418
|
+
},
|
|
1419
|
+
body: TestIamPermissionsRequest
|
|
1420
|
+
): Request<TestIamPermissionsResponse>;
|
|
1421
|
+
}
|
|
1422
|
+
interface LocationsResource {
|
|
1423
|
+
/** Gets information about a location. */
|
|
1424
|
+
get(request?: {
|
|
1425
|
+
/** V1 error format. */
|
|
1426
|
+
'$.xgafv'?: string;
|
|
1427
|
+
/** OAuth access token. */
|
|
1428
|
+
access_token?: string;
|
|
1429
|
+
/** Data format for response. */
|
|
1430
|
+
alt?: string;
|
|
1431
|
+
/** JSONP */
|
|
1432
|
+
callback?: string;
|
|
1433
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1434
|
+
fields?: string;
|
|
1435
|
+
/** 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. */
|
|
1436
|
+
key?: string;
|
|
1437
|
+
/** Resource name for the location. */
|
|
1438
|
+
name: string;
|
|
1439
|
+
/** OAuth 2.0 token for the current user. */
|
|
1440
|
+
oauth_token?: string;
|
|
1441
|
+
/** Returns response with indentations and line breaks. */
|
|
1442
|
+
prettyPrint?: boolean;
|
|
1443
|
+
/** 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. */
|
|
1444
|
+
quotaUser?: string;
|
|
1445
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1446
|
+
upload_protocol?: string;
|
|
1447
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1448
|
+
uploadType?: string;
|
|
1449
|
+
}): Request<Location>;
|
|
1450
|
+
/** Get a GoogleChannelConfig */
|
|
1451
|
+
getGoogleChannelConfig(request?: {
|
|
1452
|
+
/** V1 error format. */
|
|
1453
|
+
'$.xgafv'?: string;
|
|
1454
|
+
/** OAuth access token. */
|
|
1455
|
+
access_token?: string;
|
|
1456
|
+
/** Data format for response. */
|
|
1457
|
+
alt?: string;
|
|
1458
|
+
/** JSONP */
|
|
1459
|
+
callback?: string;
|
|
1460
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1461
|
+
fields?: string;
|
|
1462
|
+
/** 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. */
|
|
1463
|
+
key?: string;
|
|
1464
|
+
/** Required. The name of the config to get. */
|
|
1465
|
+
name: string;
|
|
1466
|
+
/** OAuth 2.0 token for the current user. */
|
|
1467
|
+
oauth_token?: string;
|
|
1468
|
+
/** Returns response with indentations and line breaks. */
|
|
1469
|
+
prettyPrint?: boolean;
|
|
1470
|
+
/** 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. */
|
|
1471
|
+
quotaUser?: string;
|
|
1472
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1473
|
+
upload_protocol?: string;
|
|
1474
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1475
|
+
uploadType?: string;
|
|
1476
|
+
}): Request<GoogleChannelConfig>;
|
|
1477
|
+
/** Lists information about the supported locations for this service. */
|
|
1478
|
+
list(request?: {
|
|
1479
|
+
/** V1 error format. */
|
|
1480
|
+
'$.xgafv'?: string;
|
|
1481
|
+
/** OAuth access token. */
|
|
1482
|
+
access_token?: string;
|
|
1483
|
+
/** Data format for response. */
|
|
1484
|
+
alt?: string;
|
|
1485
|
+
/** JSONP */
|
|
1486
|
+
callback?: string;
|
|
1487
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1488
|
+
fields?: string;
|
|
1489
|
+
/** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
|
|
1490
|
+
filter?: string;
|
|
1491
|
+
/** 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. */
|
|
1492
|
+
key?: string;
|
|
1493
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
1494
|
+
name: string;
|
|
1495
|
+
/** OAuth 2.0 token for the current user. */
|
|
1496
|
+
oauth_token?: string;
|
|
1497
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1498
|
+
pageSize?: number;
|
|
1499
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1500
|
+
pageToken?: string;
|
|
1501
|
+
/** Returns response with indentations and line breaks. */
|
|
1502
|
+
prettyPrint?: boolean;
|
|
1503
|
+
/** 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. */
|
|
1504
|
+
quotaUser?: string;
|
|
1505
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1506
|
+
upload_protocol?: string;
|
|
1507
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1508
|
+
uploadType?: string;
|
|
1509
|
+
}): Request<ListLocationsResponse>;
|
|
1510
|
+
/** Update a single GoogleChannelConfig */
|
|
1511
|
+
updateGoogleChannelConfig(request: {
|
|
1512
|
+
/** V1 error format. */
|
|
1513
|
+
'$.xgafv'?: string;
|
|
1514
|
+
/** OAuth access token. */
|
|
1515
|
+
access_token?: string;
|
|
1516
|
+
/** Data format for response. */
|
|
1517
|
+
alt?: string;
|
|
1518
|
+
/** JSONP */
|
|
1519
|
+
callback?: string;
|
|
1520
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1521
|
+
fields?: string;
|
|
1522
|
+
/** 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. */
|
|
1523
|
+
key?: string;
|
|
1524
|
+
/** Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. */
|
|
1525
|
+
name: string;
|
|
1526
|
+
/** OAuth 2.0 token for the current user. */
|
|
1527
|
+
oauth_token?: string;
|
|
1528
|
+
/** Returns response with indentations and line breaks. */
|
|
1529
|
+
prettyPrint?: boolean;
|
|
1530
|
+
/** 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. */
|
|
1531
|
+
quotaUser?: string;
|
|
1532
|
+
/** The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
|
|
1533
|
+
updateMask?: string;
|
|
1534
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1535
|
+
upload_protocol?: string;
|
|
1536
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1537
|
+
uploadType?: string;
|
|
1538
|
+
/** Request body */
|
|
1539
|
+
resource: GoogleChannelConfig;
|
|
1540
|
+
}): Request<GoogleChannelConfig>;
|
|
1541
|
+
updateGoogleChannelConfig(
|
|
1542
|
+
request: {
|
|
1543
|
+
/** V1 error format. */
|
|
1544
|
+
'$.xgafv'?: string;
|
|
1545
|
+
/** OAuth access token. */
|
|
1546
|
+
access_token?: string;
|
|
1547
|
+
/** Data format for response. */
|
|
1548
|
+
alt?: string;
|
|
1549
|
+
/** JSONP */
|
|
1550
|
+
callback?: string;
|
|
1551
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1552
|
+
fields?: string;
|
|
1553
|
+
/** 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. */
|
|
1554
|
+
key?: string;
|
|
1555
|
+
/** Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. */
|
|
1556
|
+
name: string;
|
|
1557
|
+
/** OAuth 2.0 token for the current user. */
|
|
1558
|
+
oauth_token?: string;
|
|
1559
|
+
/** Returns response with indentations and line breaks. */
|
|
1560
|
+
prettyPrint?: boolean;
|
|
1561
|
+
/** 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. */
|
|
1562
|
+
quotaUser?: string;
|
|
1563
|
+
/** The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
|
|
1564
|
+
updateMask?: string;
|
|
1565
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1566
|
+
upload_protocol?: string;
|
|
1567
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1568
|
+
uploadType?: string;
|
|
1569
|
+
},
|
|
1570
|
+
body: GoogleChannelConfig
|
|
1571
|
+
): Request<GoogleChannelConfig>;
|
|
1572
|
+
channelConnections: ChannelConnectionsResource;
|
|
1573
|
+
channels: ChannelsResource;
|
|
1574
|
+
operations: OperationsResource;
|
|
1575
|
+
providers: ProvidersResource;
|
|
1576
|
+
triggers: TriggersResource;
|
|
1577
|
+
}
|
|
1578
|
+
interface ProjectsResource {
|
|
1579
|
+
locations: LocationsResource;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
const projects: ProjectsResource;
|
|
1583
|
+
}
|
|
2465
1584
|
}
|