@maxim_mazurok/gapi.client.pubsub-v1beta2 0.1.20261111 → 0.2.20261111
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 +541 -545
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -169,38 +169,11 @@ declare namespace gapi.client {
|
|
|
169
169
|
/** The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. */
|
|
170
170
|
name?: string;
|
|
171
171
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
|
|
177
|
-
/** OAuth access token. */
|
|
178
|
-
access_token?: string;
|
|
179
|
-
/** Data format for response. */
|
|
180
|
-
alt?: 'json' | 'media' | 'proto';
|
|
181
|
-
/** JSONP */
|
|
182
|
-
callback?: string;
|
|
183
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
184
|
-
fields?: string;
|
|
185
|
-
/** 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. */
|
|
186
|
-
key?: string;
|
|
187
|
-
/** OAuth 2.0 token for the current user. */
|
|
188
|
-
oauth_token?: string;
|
|
189
|
-
/** Returns response with indentations and line breaks. */
|
|
190
|
-
prettyPrint?: boolean;
|
|
191
|
-
/** 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. */
|
|
192
|
-
quotaUser?: string;
|
|
193
|
-
/** The subscription whose message is being acknowledged. */
|
|
194
|
-
subscription: string;
|
|
195
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
196
|
-
upload_protocol?: string;
|
|
197
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
198
|
-
uploadType?: string;
|
|
199
|
-
/** Request body */
|
|
200
|
-
resource: AcknowledgeRequest;
|
|
201
|
-
}): Request<{}>;
|
|
202
|
-
acknowledge(
|
|
203
|
-
request: {
|
|
172
|
+
|
|
173
|
+
const projects: {
|
|
174
|
+
subscriptions: {
|
|
175
|
+
/** Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error. */
|
|
176
|
+
acknowledge(request: {
|
|
204
177
|
/** V1 error format. */
|
|
205
178
|
'$.xgafv'?: '1' | '2';
|
|
206
179
|
/** OAuth access token. */
|
|
@@ -225,40 +198,40 @@ declare namespace gapi.client {
|
|
|
225
198
|
upload_protocol?: string;
|
|
226
199
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
227
200
|
uploadType?: string;
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
request: {
|
|
201
|
+
/** Request body */
|
|
202
|
+
resource: AcknowledgeRequest;
|
|
203
|
+
}): Request<{}>;
|
|
204
|
+
acknowledge(
|
|
205
|
+
request: {
|
|
206
|
+
/** V1 error format. */
|
|
207
|
+
'$.xgafv'?: '1' | '2';
|
|
208
|
+
/** OAuth access token. */
|
|
209
|
+
access_token?: string;
|
|
210
|
+
/** Data format for response. */
|
|
211
|
+
alt?: 'json' | 'media' | 'proto';
|
|
212
|
+
/** JSONP */
|
|
213
|
+
callback?: string;
|
|
214
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
215
|
+
fields?: string;
|
|
216
|
+
/** 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. */
|
|
217
|
+
key?: string;
|
|
218
|
+
/** OAuth 2.0 token for the current user. */
|
|
219
|
+
oauth_token?: string;
|
|
220
|
+
/** Returns response with indentations and line breaks. */
|
|
221
|
+
prettyPrint?: boolean;
|
|
222
|
+
/** 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. */
|
|
223
|
+
quotaUser?: string;
|
|
224
|
+
/** The subscription whose message is being acknowledged. */
|
|
225
|
+
subscription: string;
|
|
226
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
227
|
+
upload_protocol?: string;
|
|
228
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
229
|
+
uploadType?: string;
|
|
230
|
+
},
|
|
231
|
+
body: AcknowledgeRequest,
|
|
232
|
+
): Request<{}>;
|
|
233
|
+
/** Creates a subscription to a given topic. If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic. Note that for REST API requests, you must specify a name. */
|
|
234
|
+
create(request: {
|
|
262
235
|
/** V1 error format. */
|
|
263
236
|
'$.xgafv'?: '1' | '2';
|
|
264
237
|
/** OAuth access token. */
|
|
@@ -283,154 +256,40 @@ declare namespace gapi.client {
|
|
|
283
256
|
upload_protocol?: string;
|
|
284
257
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
285
258
|
uploadType?: string;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
|
|
320
|
-
/** OAuth access token. */
|
|
321
|
-
access_token?: string;
|
|
322
|
-
/** Data format for response. */
|
|
323
|
-
alt?: 'json' | 'media' | 'proto';
|
|
324
|
-
/** JSONP */
|
|
325
|
-
callback?: string;
|
|
326
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
327
|
-
fields?: string;
|
|
328
|
-
/** 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. */
|
|
329
|
-
key?: string;
|
|
330
|
-
/** OAuth 2.0 token for the current user. */
|
|
331
|
-
oauth_token?: string;
|
|
332
|
-
/** Returns response with indentations and line breaks. */
|
|
333
|
-
prettyPrint?: boolean;
|
|
334
|
-
/** 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. */
|
|
335
|
-
quotaUser?: string;
|
|
336
|
-
/** The name of the subscription to get. */
|
|
337
|
-
subscription: string;
|
|
338
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
339
|
-
upload_protocol?: string;
|
|
340
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
341
|
-
uploadType?: string;
|
|
342
|
-
}): Request<Subscription>;
|
|
343
|
-
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
344
|
-
getIamPolicy(request?: {
|
|
345
|
-
/** V1 error format. */
|
|
346
|
-
'$.xgafv'?: '1' | '2';
|
|
347
|
-
/** OAuth access token. */
|
|
348
|
-
access_token?: string;
|
|
349
|
-
/** Data format for response. */
|
|
350
|
-
alt?: 'json' | 'media' | 'proto';
|
|
351
|
-
/** JSONP */
|
|
352
|
-
callback?: string;
|
|
353
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
354
|
-
fields?: string;
|
|
355
|
-
/** 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. */
|
|
356
|
-
key?: string;
|
|
357
|
-
/** OAuth 2.0 token for the current user. */
|
|
358
|
-
oauth_token?: string;
|
|
359
|
-
/** 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). */
|
|
360
|
-
'options.requestedPolicyVersion'?: number;
|
|
361
|
-
/** Returns response with indentations and line breaks. */
|
|
362
|
-
prettyPrint?: boolean;
|
|
363
|
-
/** 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. */
|
|
364
|
-
quotaUser?: string;
|
|
365
|
-
/** 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. */
|
|
366
|
-
resource: string;
|
|
367
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
368
|
-
upload_protocol?: string;
|
|
369
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
370
|
-
uploadType?: string;
|
|
371
|
-
}): Request<Policy>;
|
|
372
|
-
/** Lists matching subscriptions. */
|
|
373
|
-
list(request?: {
|
|
374
|
-
/** V1 error format. */
|
|
375
|
-
'$.xgafv'?: '1' | '2';
|
|
376
|
-
/** OAuth access token. */
|
|
377
|
-
access_token?: string;
|
|
378
|
-
/** Data format for response. */
|
|
379
|
-
alt?: 'json' | 'media' | 'proto';
|
|
380
|
-
/** JSONP */
|
|
381
|
-
callback?: string;
|
|
382
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
383
|
-
fields?: string;
|
|
384
|
-
/** 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. */
|
|
385
|
-
key?: string;
|
|
386
|
-
/** OAuth 2.0 token for the current user. */
|
|
387
|
-
oauth_token?: string;
|
|
388
|
-
/** Maximum number of subscriptions to return. */
|
|
389
|
-
pageSize?: number;
|
|
390
|
-
/** The value returned by the last `ListSubscriptionsResponse`; indicates that this is a continuation of a prior `ListSubscriptions` call, and that the system should return the next page of data. */
|
|
391
|
-
pageToken?: string;
|
|
392
|
-
/** Returns response with indentations and line breaks. */
|
|
393
|
-
prettyPrint?: boolean;
|
|
394
|
-
/** The name of the cloud project that subscriptions belong to. */
|
|
395
|
-
project: string;
|
|
396
|
-
/** 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. */
|
|
397
|
-
quotaUser?: string;
|
|
398
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
399
|
-
upload_protocol?: string;
|
|
400
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
401
|
-
uploadType?: string;
|
|
402
|
-
}): Request<ListSubscriptionsResponse>;
|
|
403
|
-
/** Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscription-level `ackDeadlineSeconds` used for subsequent messages. */
|
|
404
|
-
modifyAckDeadline(request: {
|
|
405
|
-
/** V1 error format. */
|
|
406
|
-
'$.xgafv'?: '1' | '2';
|
|
407
|
-
/** OAuth access token. */
|
|
408
|
-
access_token?: string;
|
|
409
|
-
/** Data format for response. */
|
|
410
|
-
alt?: 'json' | 'media' | 'proto';
|
|
411
|
-
/** JSONP */
|
|
412
|
-
callback?: string;
|
|
413
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
414
|
-
fields?: string;
|
|
415
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
416
|
-
key?: string;
|
|
417
|
-
/** OAuth 2.0 token for the current user. */
|
|
418
|
-
oauth_token?: string;
|
|
419
|
-
/** Returns response with indentations and line breaks. */
|
|
420
|
-
prettyPrint?: boolean;
|
|
421
|
-
/** 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. */
|
|
422
|
-
quotaUser?: string;
|
|
423
|
-
/** The name of the subscription. */
|
|
424
|
-
subscription: string;
|
|
425
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
426
|
-
upload_protocol?: string;
|
|
427
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
428
|
-
uploadType?: string;
|
|
429
|
-
/** Request body */
|
|
430
|
-
resource: ModifyAckDeadlineRequest;
|
|
431
|
-
}): Request<{}>;
|
|
432
|
-
modifyAckDeadline(
|
|
433
|
-
request: {
|
|
259
|
+
/** Request body */
|
|
260
|
+
resource: Subscription;
|
|
261
|
+
}): Request<Subscription>;
|
|
262
|
+
create(
|
|
263
|
+
request: {
|
|
264
|
+
/** V1 error format. */
|
|
265
|
+
'$.xgafv'?: '1' | '2';
|
|
266
|
+
/** OAuth access token. */
|
|
267
|
+
access_token?: string;
|
|
268
|
+
/** Data format for response. */
|
|
269
|
+
alt?: 'json' | 'media' | 'proto';
|
|
270
|
+
/** JSONP */
|
|
271
|
+
callback?: string;
|
|
272
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
273
|
+
fields?: string;
|
|
274
|
+
/** 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. */
|
|
275
|
+
key?: string;
|
|
276
|
+
/** The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. */
|
|
277
|
+
name: string;
|
|
278
|
+
/** OAuth 2.0 token for the current user. */
|
|
279
|
+
oauth_token?: string;
|
|
280
|
+
/** Returns response with indentations and line breaks. */
|
|
281
|
+
prettyPrint?: boolean;
|
|
282
|
+
/** 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. */
|
|
283
|
+
quotaUser?: string;
|
|
284
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
285
|
+
upload_protocol?: string;
|
|
286
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
287
|
+
uploadType?: string;
|
|
288
|
+
},
|
|
289
|
+
body: Subscription,
|
|
290
|
+
): Request<Subscription>;
|
|
291
|
+
/** Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified. */
|
|
292
|
+
delete(request?: {
|
|
434
293
|
/** V1 error format. */
|
|
435
294
|
'$.xgafv'?: '1' | '2';
|
|
436
295
|
/** OAuth access token. */
|
|
@@ -449,46 +308,15 @@ declare namespace gapi.client {
|
|
|
449
308
|
prettyPrint?: boolean;
|
|
450
309
|
/** 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. */
|
|
451
310
|
quotaUser?: string;
|
|
452
|
-
/** The
|
|
311
|
+
/** The subscription to delete. */
|
|
453
312
|
subscription: string;
|
|
454
313
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
455
314
|
upload_protocol?: string;
|
|
456
315
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
457
316
|
uploadType?: string;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
/** Modifies the `PushConfig` for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty `PushConfig`) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the `PushConfig`. */
|
|
462
|
-
modifyPushConfig(request: {
|
|
463
|
-
/** V1 error format. */
|
|
464
|
-
'$.xgafv'?: '1' | '2';
|
|
465
|
-
/** OAuth access token. */
|
|
466
|
-
access_token?: string;
|
|
467
|
-
/** Data format for response. */
|
|
468
|
-
alt?: 'json' | 'media' | 'proto';
|
|
469
|
-
/** JSONP */
|
|
470
|
-
callback?: string;
|
|
471
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
472
|
-
fields?: string;
|
|
473
|
-
/** 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. */
|
|
474
|
-
key?: string;
|
|
475
|
-
/** OAuth 2.0 token for the current user. */
|
|
476
|
-
oauth_token?: string;
|
|
477
|
-
/** Returns response with indentations and line breaks. */
|
|
478
|
-
prettyPrint?: boolean;
|
|
479
|
-
/** 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. */
|
|
480
|
-
quotaUser?: string;
|
|
481
|
-
/** The name of the subscription. */
|
|
482
|
-
subscription: string;
|
|
483
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
484
|
-
upload_protocol?: string;
|
|
485
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
486
|
-
uploadType?: string;
|
|
487
|
-
/** Request body */
|
|
488
|
-
resource: ModifyPushConfigRequest;
|
|
489
|
-
}): Request<{}>;
|
|
490
|
-
modifyPushConfig(
|
|
491
|
-
request: {
|
|
317
|
+
}): Request<{}>;
|
|
318
|
+
/** Gets the configuration details of a subscription. */
|
|
319
|
+
get(request?: {
|
|
492
320
|
/** V1 error format. */
|
|
493
321
|
'$.xgafv'?: '1' | '2';
|
|
494
322
|
/** OAuth access token. */
|
|
@@ -507,46 +335,15 @@ declare namespace gapi.client {
|
|
|
507
335
|
prettyPrint?: boolean;
|
|
508
336
|
/** 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. */
|
|
509
337
|
quotaUser?: string;
|
|
510
|
-
/** The name of the subscription. */
|
|
338
|
+
/** The name of the subscription to get. */
|
|
511
339
|
subscription: string;
|
|
512
340
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
513
341
|
upload_protocol?: string;
|
|
514
342
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
515
343
|
uploadType?: string;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
/** Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests pending for the given subscription. */
|
|
520
|
-
pull(request: {
|
|
521
|
-
/** V1 error format. */
|
|
522
|
-
'$.xgafv'?: '1' | '2';
|
|
523
|
-
/** OAuth access token. */
|
|
524
|
-
access_token?: string;
|
|
525
|
-
/** Data format for response. */
|
|
526
|
-
alt?: 'json' | 'media' | 'proto';
|
|
527
|
-
/** JSONP */
|
|
528
|
-
callback?: string;
|
|
529
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
530
|
-
fields?: string;
|
|
531
|
-
/** 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. */
|
|
532
|
-
key?: string;
|
|
533
|
-
/** OAuth 2.0 token for the current user. */
|
|
534
|
-
oauth_token?: string;
|
|
535
|
-
/** Returns response with indentations and line breaks. */
|
|
536
|
-
prettyPrint?: boolean;
|
|
537
|
-
/** 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. */
|
|
538
|
-
quotaUser?: string;
|
|
539
|
-
/** The subscription from which messages should be pulled. */
|
|
540
|
-
subscription: string;
|
|
541
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
542
|
-
upload_protocol?: string;
|
|
543
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
544
|
-
uploadType?: string;
|
|
545
|
-
/** Request body */
|
|
546
|
-
resource: PullRequest;
|
|
547
|
-
}): Request<PullResponse>;
|
|
548
|
-
pull(
|
|
549
|
-
request: {
|
|
344
|
+
}): Request<Subscription>;
|
|
345
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
346
|
+
getIamPolicy(request?: {
|
|
550
347
|
/** V1 error format. */
|
|
551
348
|
'$.xgafv'?: '1' | '2';
|
|
552
349
|
/** OAuth access token. */
|
|
@@ -561,22 +358,110 @@ declare namespace gapi.client {
|
|
|
561
358
|
key?: string;
|
|
562
359
|
/** OAuth 2.0 token for the current user. */
|
|
563
360
|
oauth_token?: string;
|
|
361
|
+
/** 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). */
|
|
362
|
+
'options.requestedPolicyVersion'?: number;
|
|
564
363
|
/** Returns response with indentations and line breaks. */
|
|
565
364
|
prettyPrint?: boolean;
|
|
566
365
|
/** 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. */
|
|
567
366
|
quotaUser?: string;
|
|
568
|
-
/** The
|
|
367
|
+
/** 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. */
|
|
368
|
+
resource: string;
|
|
369
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
370
|
+
upload_protocol?: string;
|
|
371
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
372
|
+
uploadType?: string;
|
|
373
|
+
}): Request<Policy>;
|
|
374
|
+
/** Lists matching subscriptions. */
|
|
375
|
+
list(request?: {
|
|
376
|
+
/** V1 error format. */
|
|
377
|
+
'$.xgafv'?: '1' | '2';
|
|
378
|
+
/** OAuth access token. */
|
|
379
|
+
access_token?: string;
|
|
380
|
+
/** Data format for response. */
|
|
381
|
+
alt?: 'json' | 'media' | 'proto';
|
|
382
|
+
/** JSONP */
|
|
383
|
+
callback?: string;
|
|
384
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
385
|
+
fields?: string;
|
|
386
|
+
/** 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. */
|
|
387
|
+
key?: string;
|
|
388
|
+
/** OAuth 2.0 token for the current user. */
|
|
389
|
+
oauth_token?: string;
|
|
390
|
+
/** Maximum number of subscriptions to return. */
|
|
391
|
+
pageSize?: number;
|
|
392
|
+
/** The value returned by the last `ListSubscriptionsResponse`; indicates that this is a continuation of a prior `ListSubscriptions` call, and that the system should return the next page of data. */
|
|
393
|
+
pageToken?: string;
|
|
394
|
+
/** Returns response with indentations and line breaks. */
|
|
395
|
+
prettyPrint?: boolean;
|
|
396
|
+
/** The name of the cloud project that subscriptions belong to. */
|
|
397
|
+
project: string;
|
|
398
|
+
/** 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. */
|
|
399
|
+
quotaUser?: string;
|
|
400
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
401
|
+
upload_protocol?: string;
|
|
402
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
403
|
+
uploadType?: string;
|
|
404
|
+
}): Request<ListSubscriptionsResponse>;
|
|
405
|
+
/** Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscription-level `ackDeadlineSeconds` used for subsequent messages. */
|
|
406
|
+
modifyAckDeadline(request: {
|
|
407
|
+
/** V1 error format. */
|
|
408
|
+
'$.xgafv'?: '1' | '2';
|
|
409
|
+
/** OAuth access token. */
|
|
410
|
+
access_token?: string;
|
|
411
|
+
/** Data format for response. */
|
|
412
|
+
alt?: 'json' | 'media' | 'proto';
|
|
413
|
+
/** JSONP */
|
|
414
|
+
callback?: string;
|
|
415
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
416
|
+
fields?: string;
|
|
417
|
+
/** 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. */
|
|
418
|
+
key?: string;
|
|
419
|
+
/** OAuth 2.0 token for the current user. */
|
|
420
|
+
oauth_token?: string;
|
|
421
|
+
/** Returns response with indentations and line breaks. */
|
|
422
|
+
prettyPrint?: boolean;
|
|
423
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
424
|
+
quotaUser?: string;
|
|
425
|
+
/** The name of the subscription. */
|
|
569
426
|
subscription: string;
|
|
570
427
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
571
428
|
upload_protocol?: string;
|
|
572
429
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
573
430
|
uploadType?: string;
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
431
|
+
/** Request body */
|
|
432
|
+
resource: ModifyAckDeadlineRequest;
|
|
433
|
+
}): Request<{}>;
|
|
434
|
+
modifyAckDeadline(
|
|
435
|
+
request: {
|
|
436
|
+
/** V1 error format. */
|
|
437
|
+
'$.xgafv'?: '1' | '2';
|
|
438
|
+
/** OAuth access token. */
|
|
439
|
+
access_token?: string;
|
|
440
|
+
/** Data format for response. */
|
|
441
|
+
alt?: 'json' | 'media' | 'proto';
|
|
442
|
+
/** JSONP */
|
|
443
|
+
callback?: string;
|
|
444
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
445
|
+
fields?: string;
|
|
446
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
447
|
+
key?: string;
|
|
448
|
+
/** OAuth 2.0 token for the current user. */
|
|
449
|
+
oauth_token?: string;
|
|
450
|
+
/** Returns response with indentations and line breaks. */
|
|
451
|
+
prettyPrint?: boolean;
|
|
452
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
453
|
+
quotaUser?: string;
|
|
454
|
+
/** The name of the subscription. */
|
|
455
|
+
subscription: string;
|
|
456
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
457
|
+
upload_protocol?: string;
|
|
458
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
459
|
+
uploadType?: string;
|
|
460
|
+
},
|
|
461
|
+
body: ModifyAckDeadlineRequest,
|
|
462
|
+
): Request<{}>;
|
|
463
|
+
/** Modifies the `PushConfig` for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty `PushConfig`) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the `PushConfig`. */
|
|
464
|
+
modifyPushConfig(request: {
|
|
580
465
|
/** V1 error format. */
|
|
581
466
|
'$.xgafv'?: '1' | '2';
|
|
582
467
|
/** OAuth access token. */
|
|
@@ -595,18 +480,46 @@ declare namespace gapi.client {
|
|
|
595
480
|
prettyPrint?: boolean;
|
|
596
481
|
/** 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. */
|
|
597
482
|
quotaUser?: string;
|
|
598
|
-
/**
|
|
599
|
-
|
|
483
|
+
/** The name of the subscription. */
|
|
484
|
+
subscription: string;
|
|
600
485
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
601
486
|
upload_protocol?: string;
|
|
602
487
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
603
488
|
uploadType?: string;
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
489
|
+
/** Request body */
|
|
490
|
+
resource: ModifyPushConfigRequest;
|
|
491
|
+
}): Request<{}>;
|
|
492
|
+
modifyPushConfig(
|
|
493
|
+
request: {
|
|
494
|
+
/** V1 error format. */
|
|
495
|
+
'$.xgafv'?: '1' | '2';
|
|
496
|
+
/** OAuth access token. */
|
|
497
|
+
access_token?: string;
|
|
498
|
+
/** Data format for response. */
|
|
499
|
+
alt?: 'json' | 'media' | 'proto';
|
|
500
|
+
/** JSONP */
|
|
501
|
+
callback?: string;
|
|
502
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
503
|
+
fields?: string;
|
|
504
|
+
/** 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. */
|
|
505
|
+
key?: string;
|
|
506
|
+
/** OAuth 2.0 token for the current user. */
|
|
507
|
+
oauth_token?: string;
|
|
508
|
+
/** Returns response with indentations and line breaks. */
|
|
509
|
+
prettyPrint?: boolean;
|
|
510
|
+
/** 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. */
|
|
511
|
+
quotaUser?: string;
|
|
512
|
+
/** The name of the subscription. */
|
|
513
|
+
subscription: string;
|
|
514
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
515
|
+
upload_protocol?: string;
|
|
516
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
517
|
+
uploadType?: string;
|
|
518
|
+
},
|
|
519
|
+
body: ModifyPushConfigRequest,
|
|
520
|
+
): Request<{}>;
|
|
521
|
+
/** Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests pending for the given subscription. */
|
|
522
|
+
pull(request: {
|
|
610
523
|
/** V1 error format. */
|
|
611
524
|
'$.xgafv'?: '1' | '2';
|
|
612
525
|
/** OAuth access token. */
|
|
@@ -625,81 +538,108 @@ declare namespace gapi.client {
|
|
|
625
538
|
prettyPrint?: boolean;
|
|
626
539
|
/** 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. */
|
|
627
540
|
quotaUser?: string;
|
|
628
|
-
/**
|
|
629
|
-
|
|
541
|
+
/** The subscription from which messages should be pulled. */
|
|
542
|
+
subscription: string;
|
|
630
543
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
631
544
|
upload_protocol?: string;
|
|
632
545
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
633
546
|
uploadType?: string;
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
547
|
+
/** Request body */
|
|
548
|
+
resource: PullRequest;
|
|
549
|
+
}): Request<PullResponse>;
|
|
550
|
+
pull(
|
|
551
|
+
request: {
|
|
552
|
+
/** V1 error format. */
|
|
553
|
+
'$.xgafv'?: '1' | '2';
|
|
554
|
+
/** OAuth access token. */
|
|
555
|
+
access_token?: string;
|
|
556
|
+
/** Data format for response. */
|
|
557
|
+
alt?: 'json' | 'media' | 'proto';
|
|
558
|
+
/** JSONP */
|
|
559
|
+
callback?: string;
|
|
560
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
561
|
+
fields?: string;
|
|
562
|
+
/** 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. */
|
|
563
|
+
key?: string;
|
|
564
|
+
/** OAuth 2.0 token for the current user. */
|
|
565
|
+
oauth_token?: string;
|
|
566
|
+
/** Returns response with indentations and line breaks. */
|
|
567
|
+
prettyPrint?: boolean;
|
|
568
|
+
/** 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. */
|
|
569
|
+
quotaUser?: string;
|
|
570
|
+
/** The subscription from which messages should be pulled. */
|
|
571
|
+
subscription: string;
|
|
572
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
573
|
+
upload_protocol?: string;
|
|
574
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
575
|
+
uploadType?: string;
|
|
576
|
+
},
|
|
577
|
+
body: PullRequest,
|
|
578
|
+
): Request<PullResponse>;
|
|
579
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
580
|
+
setIamPolicy(
|
|
581
|
+
request: {
|
|
582
|
+
/** V1 error format. */
|
|
583
|
+
'$.xgafv'?: '1' | '2';
|
|
584
|
+
/** OAuth access token. */
|
|
585
|
+
access_token?: string;
|
|
586
|
+
/** Data format for response. */
|
|
587
|
+
alt?: 'json' | 'media' | 'proto';
|
|
588
|
+
/** JSONP */
|
|
589
|
+
callback?: 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
|
+
/** Returns response with indentations and line breaks. */
|
|
597
|
+
prettyPrint?: boolean;
|
|
598
|
+
/** 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. */
|
|
599
|
+
quotaUser?: string;
|
|
600
|
+
/** 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. */
|
|
601
|
+
resource: 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
|
+
},
|
|
607
|
+
body: SetIamPolicyRequest,
|
|
608
|
+
): Request<Policy>;
|
|
609
|
+
/** 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. */
|
|
610
|
+
testIamPermissions(
|
|
611
|
+
request: {
|
|
612
|
+
/** V1 error format. */
|
|
613
|
+
'$.xgafv'?: '1' | '2';
|
|
614
|
+
/** OAuth access token. */
|
|
615
|
+
access_token?: string;
|
|
616
|
+
/** Data format for response. */
|
|
617
|
+
alt?: 'json' | 'media' | 'proto';
|
|
618
|
+
/** JSONP */
|
|
619
|
+
callback?: string;
|
|
620
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
621
|
+
fields?: string;
|
|
622
|
+
/** 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. */
|
|
623
|
+
key?: string;
|
|
624
|
+
/** OAuth 2.0 token for the current user. */
|
|
625
|
+
oauth_token?: string;
|
|
626
|
+
/** Returns response with indentations and line breaks. */
|
|
627
|
+
prettyPrint?: boolean;
|
|
628
|
+
/** 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. */
|
|
629
|
+
quotaUser?: string;
|
|
630
|
+
/** 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. */
|
|
631
|
+
resource: string;
|
|
632
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
633
|
+
upload_protocol?: string;
|
|
634
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
635
|
+
uploadType?: string;
|
|
636
|
+
},
|
|
637
|
+
body: TestIamPermissionsRequest,
|
|
638
|
+
): Request<TestIamPermissionsResponse>;
|
|
639
|
+
};
|
|
640
|
+
topics: {
|
|
641
|
+
/** Creates the given topic with the given name. */
|
|
642
|
+
create(request: {
|
|
703
643
|
/** V1 error format. */
|
|
704
644
|
'$.xgafv'?: '1' | '2';
|
|
705
645
|
/** OAuth access token. */
|
|
@@ -724,154 +664,40 @@ declare namespace gapi.client {
|
|
|
724
664
|
upload_protocol?: string;
|
|
725
665
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
726
666
|
uploadType?: string;
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
|
|
761
|
-
/** OAuth access token. */
|
|
762
|
-
access_token?: string;
|
|
763
|
-
/** Data format for response. */
|
|
764
|
-
alt?: 'json' | 'media' | 'proto';
|
|
765
|
-
/** JSONP */
|
|
766
|
-
callback?: string;
|
|
767
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
768
|
-
fields?: string;
|
|
769
|
-
/** 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. */
|
|
770
|
-
key?: string;
|
|
771
|
-
/** OAuth 2.0 token for the current user. */
|
|
772
|
-
oauth_token?: string;
|
|
773
|
-
/** Returns response with indentations and line breaks. */
|
|
774
|
-
prettyPrint?: boolean;
|
|
775
|
-
/** 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. */
|
|
776
|
-
quotaUser?: string;
|
|
777
|
-
/** The name of the topic to get. */
|
|
778
|
-
topic: string;
|
|
779
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
780
|
-
upload_protocol?: string;
|
|
781
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
782
|
-
uploadType?: string;
|
|
783
|
-
}): Request<Topic>;
|
|
784
|
-
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
785
|
-
getIamPolicy(request?: {
|
|
786
|
-
/** V1 error format. */
|
|
787
|
-
'$.xgafv'?: '1' | '2';
|
|
788
|
-
/** OAuth access token. */
|
|
789
|
-
access_token?: string;
|
|
790
|
-
/** Data format for response. */
|
|
791
|
-
alt?: 'json' | 'media' | 'proto';
|
|
792
|
-
/** JSONP */
|
|
793
|
-
callback?: string;
|
|
794
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
795
|
-
fields?: string;
|
|
796
|
-
/** 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. */
|
|
797
|
-
key?: string;
|
|
798
|
-
/** OAuth 2.0 token for the current user. */
|
|
799
|
-
oauth_token?: string;
|
|
800
|
-
/** 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). */
|
|
801
|
-
'options.requestedPolicyVersion'?: number;
|
|
802
|
-
/** Returns response with indentations and line breaks. */
|
|
803
|
-
prettyPrint?: boolean;
|
|
804
|
-
/** 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. */
|
|
805
|
-
quotaUser?: string;
|
|
806
|
-
/** 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. */
|
|
807
|
-
resource: string;
|
|
808
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
809
|
-
upload_protocol?: string;
|
|
810
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
811
|
-
uploadType?: string;
|
|
812
|
-
}): Request<Policy>;
|
|
813
|
-
/** Lists matching topics. */
|
|
814
|
-
list(request?: {
|
|
815
|
-
/** V1 error format. */
|
|
816
|
-
'$.xgafv'?: '1' | '2';
|
|
817
|
-
/** OAuth access token. */
|
|
818
|
-
access_token?: string;
|
|
819
|
-
/** Data format for response. */
|
|
820
|
-
alt?: 'json' | 'media' | 'proto';
|
|
821
|
-
/** JSONP */
|
|
822
|
-
callback?: string;
|
|
823
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
824
|
-
fields?: string;
|
|
825
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
826
|
-
key?: string;
|
|
827
|
-
/** OAuth 2.0 token for the current user. */
|
|
828
|
-
oauth_token?: string;
|
|
829
|
-
/** Maximum number of topics to return. */
|
|
830
|
-
pageSize?: number;
|
|
831
|
-
/** The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data. */
|
|
832
|
-
pageToken?: string;
|
|
833
|
-
/** Returns response with indentations and line breaks. */
|
|
834
|
-
prettyPrint?: boolean;
|
|
835
|
-
/** The name of the cloud project that topics belong to. */
|
|
836
|
-
project: string;
|
|
837
|
-
/** 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. */
|
|
838
|
-
quotaUser?: string;
|
|
839
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
840
|
-
upload_protocol?: string;
|
|
841
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
842
|
-
uploadType?: string;
|
|
843
|
-
}): Request<ListTopicsResponse>;
|
|
844
|
-
/** Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute. */
|
|
845
|
-
publish(request: {
|
|
846
|
-
/** V1 error format. */
|
|
847
|
-
'$.xgafv'?: '1' | '2';
|
|
848
|
-
/** OAuth access token. */
|
|
849
|
-
access_token?: string;
|
|
850
|
-
/** Data format for response. */
|
|
851
|
-
alt?: 'json' | 'media' | 'proto';
|
|
852
|
-
/** JSONP */
|
|
853
|
-
callback?: string;
|
|
854
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
855
|
-
fields?: string;
|
|
856
|
-
/** 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. */
|
|
857
|
-
key?: string;
|
|
858
|
-
/** OAuth 2.0 token for the current user. */
|
|
859
|
-
oauth_token?: string;
|
|
860
|
-
/** Returns response with indentations and line breaks. */
|
|
861
|
-
prettyPrint?: boolean;
|
|
862
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
863
|
-
quotaUser?: string;
|
|
864
|
-
/** The messages in the request will be published on this topic. */
|
|
865
|
-
topic: string;
|
|
866
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
867
|
-
upload_protocol?: string;
|
|
868
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
869
|
-
uploadType?: string;
|
|
870
|
-
/** Request body */
|
|
871
|
-
resource: PublishRequest;
|
|
872
|
-
}): Request<PublishResponse>;
|
|
873
|
-
publish(
|
|
874
|
-
request: {
|
|
667
|
+
/** Request body */
|
|
668
|
+
resource: Topic;
|
|
669
|
+
}): Request<Topic>;
|
|
670
|
+
create(
|
|
671
|
+
request: {
|
|
672
|
+
/** V1 error format. */
|
|
673
|
+
'$.xgafv'?: '1' | '2';
|
|
674
|
+
/** OAuth access token. */
|
|
675
|
+
access_token?: string;
|
|
676
|
+
/** Data format for response. */
|
|
677
|
+
alt?: 'json' | 'media' | 'proto';
|
|
678
|
+
/** JSONP */
|
|
679
|
+
callback?: string;
|
|
680
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
681
|
+
fields?: string;
|
|
682
|
+
/** 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. */
|
|
683
|
+
key?: string;
|
|
684
|
+
/** The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. */
|
|
685
|
+
name: string;
|
|
686
|
+
/** OAuth 2.0 token for the current user. */
|
|
687
|
+
oauth_token?: string;
|
|
688
|
+
/** Returns response with indentations and line breaks. */
|
|
689
|
+
prettyPrint?: boolean;
|
|
690
|
+
/** 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. */
|
|
691
|
+
quotaUser?: string;
|
|
692
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
693
|
+
upload_protocol?: string;
|
|
694
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
695
|
+
uploadType?: string;
|
|
696
|
+
},
|
|
697
|
+
body: Topic,
|
|
698
|
+
): Request<Topic>;
|
|
699
|
+
/** Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`. */
|
|
700
|
+
delete(request?: {
|
|
875
701
|
/** V1 error format. */
|
|
876
702
|
'$.xgafv'?: '1' | '2';
|
|
877
703
|
/** OAuth access token. */
|
|
@@ -890,18 +716,15 @@ declare namespace gapi.client {
|
|
|
890
716
|
prettyPrint?: boolean;
|
|
891
717
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
892
718
|
quotaUser?: string;
|
|
893
|
-
/**
|
|
719
|
+
/** Name of the topic to delete. */
|
|
894
720
|
topic: string;
|
|
895
721
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
896
722
|
upload_protocol?: string;
|
|
897
723
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
898
724
|
uploadType?: string;
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
903
|
-
setIamPolicy(
|
|
904
|
-
request: {
|
|
725
|
+
}): Request<{}>;
|
|
726
|
+
/** Gets the configuration of a topic. */
|
|
727
|
+
get(request?: {
|
|
905
728
|
/** V1 error format. */
|
|
906
729
|
'$.xgafv'?: '1' | '2';
|
|
907
730
|
/** OAuth access token. */
|
|
@@ -920,18 +743,15 @@ declare namespace gapi.client {
|
|
|
920
743
|
prettyPrint?: boolean;
|
|
921
744
|
/** 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. */
|
|
922
745
|
quotaUser?: string;
|
|
923
|
-
/**
|
|
924
|
-
|
|
746
|
+
/** The name of the topic to get. */
|
|
747
|
+
topic: string;
|
|
925
748
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
926
749
|
upload_protocol?: string;
|
|
927
750
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
928
751
|
uploadType?: string;
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
/** 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. */
|
|
933
|
-
testIamPermissions(
|
|
934
|
-
request: {
|
|
752
|
+
}): Request<Topic>;
|
|
753
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
754
|
+
getIamPolicy(request?: {
|
|
935
755
|
/** V1 error format. */
|
|
936
756
|
'$.xgafv'?: '1' | '2';
|
|
937
757
|
/** OAuth access token. */
|
|
@@ -946,26 +766,202 @@ declare namespace gapi.client {
|
|
|
946
766
|
key?: string;
|
|
947
767
|
/** OAuth 2.0 token for the current user. */
|
|
948
768
|
oauth_token?: string;
|
|
769
|
+
/** 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). */
|
|
770
|
+
'options.requestedPolicyVersion'?: number;
|
|
949
771
|
/** Returns response with indentations and line breaks. */
|
|
950
772
|
prettyPrint?: boolean;
|
|
951
773
|
/** 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. */
|
|
952
774
|
quotaUser?: string;
|
|
953
|
-
/** REQUIRED: The resource for which the policy
|
|
775
|
+
/** 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. */
|
|
954
776
|
resource: string;
|
|
955
777
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
956
778
|
upload_protocol?: string;
|
|
957
779
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
958
780
|
uploadType?: string;
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
781
|
+
}): Request<Policy>;
|
|
782
|
+
/** Lists matching topics. */
|
|
783
|
+
list(request?: {
|
|
784
|
+
/** V1 error format. */
|
|
785
|
+
'$.xgafv'?: '1' | '2';
|
|
786
|
+
/** OAuth access token. */
|
|
787
|
+
access_token?: string;
|
|
788
|
+
/** Data format for response. */
|
|
789
|
+
alt?: 'json' | 'media' | 'proto';
|
|
790
|
+
/** JSONP */
|
|
791
|
+
callback?: string;
|
|
792
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
793
|
+
fields?: string;
|
|
794
|
+
/** 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. */
|
|
795
|
+
key?: string;
|
|
796
|
+
/** OAuth 2.0 token for the current user. */
|
|
797
|
+
oauth_token?: string;
|
|
798
|
+
/** Maximum number of topics to return. */
|
|
799
|
+
pageSize?: number;
|
|
800
|
+
/** The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data. */
|
|
801
|
+
pageToken?: string;
|
|
802
|
+
/** Returns response with indentations and line breaks. */
|
|
803
|
+
prettyPrint?: boolean;
|
|
804
|
+
/** The name of the cloud project that topics belong to. */
|
|
805
|
+
project: string;
|
|
806
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
807
|
+
quotaUser?: string;
|
|
808
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
809
|
+
upload_protocol?: string;
|
|
810
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
811
|
+
uploadType?: string;
|
|
812
|
+
}): Request<ListTopicsResponse>;
|
|
813
|
+
/** Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute. */
|
|
814
|
+
publish(request: {
|
|
815
|
+
/** V1 error format. */
|
|
816
|
+
'$.xgafv'?: '1' | '2';
|
|
817
|
+
/** OAuth access token. */
|
|
818
|
+
access_token?: string;
|
|
819
|
+
/** Data format for response. */
|
|
820
|
+
alt?: 'json' | 'media' | 'proto';
|
|
821
|
+
/** JSONP */
|
|
822
|
+
callback?: string;
|
|
823
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
824
|
+
fields?: string;
|
|
825
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
826
|
+
key?: string;
|
|
827
|
+
/** OAuth 2.0 token for the current user. */
|
|
828
|
+
oauth_token?: string;
|
|
829
|
+
/** Returns response with indentations and line breaks. */
|
|
830
|
+
prettyPrint?: boolean;
|
|
831
|
+
/** 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. */
|
|
832
|
+
quotaUser?: string;
|
|
833
|
+
/** The messages in the request will be published on this topic. */
|
|
834
|
+
topic: string;
|
|
835
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
836
|
+
upload_protocol?: string;
|
|
837
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
838
|
+
uploadType?: string;
|
|
839
|
+
/** Request body */
|
|
840
|
+
resource: PublishRequest;
|
|
841
|
+
}): Request<PublishResponse>;
|
|
842
|
+
publish(
|
|
843
|
+
request: {
|
|
844
|
+
/** V1 error format. */
|
|
845
|
+
'$.xgafv'?: '1' | '2';
|
|
846
|
+
/** OAuth access token. */
|
|
847
|
+
access_token?: string;
|
|
848
|
+
/** Data format for response. */
|
|
849
|
+
alt?: 'json' | 'media' | 'proto';
|
|
850
|
+
/** JSONP */
|
|
851
|
+
callback?: string;
|
|
852
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
853
|
+
fields?: string;
|
|
854
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
855
|
+
key?: string;
|
|
856
|
+
/** OAuth 2.0 token for the current user. */
|
|
857
|
+
oauth_token?: string;
|
|
858
|
+
/** Returns response with indentations and line breaks. */
|
|
859
|
+
prettyPrint?: boolean;
|
|
860
|
+
/** 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. */
|
|
861
|
+
quotaUser?: string;
|
|
862
|
+
/** The messages in the request will be published on this topic. */
|
|
863
|
+
topic: string;
|
|
864
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
865
|
+
upload_protocol?: string;
|
|
866
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
867
|
+
uploadType?: string;
|
|
868
|
+
},
|
|
869
|
+
body: PublishRequest,
|
|
870
|
+
): Request<PublishResponse>;
|
|
871
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
872
|
+
setIamPolicy(
|
|
873
|
+
request: {
|
|
874
|
+
/** V1 error format. */
|
|
875
|
+
'$.xgafv'?: '1' | '2';
|
|
876
|
+
/** OAuth access token. */
|
|
877
|
+
access_token?: string;
|
|
878
|
+
/** Data format for response. */
|
|
879
|
+
alt?: 'json' | 'media' | 'proto';
|
|
880
|
+
/** JSONP */
|
|
881
|
+
callback?: string;
|
|
882
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
883
|
+
fields?: string;
|
|
884
|
+
/** 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. */
|
|
885
|
+
key?: string;
|
|
886
|
+
/** OAuth 2.0 token for the current user. */
|
|
887
|
+
oauth_token?: string;
|
|
888
|
+
/** Returns response with indentations and line breaks. */
|
|
889
|
+
prettyPrint?: boolean;
|
|
890
|
+
/** 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. */
|
|
891
|
+
quotaUser?: string;
|
|
892
|
+
/** 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. */
|
|
893
|
+
resource: string;
|
|
894
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
895
|
+
upload_protocol?: string;
|
|
896
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
897
|
+
uploadType?: string;
|
|
898
|
+
},
|
|
899
|
+
body: SetIamPolicyRequest,
|
|
900
|
+
): Request<Policy>;
|
|
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 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. */
|
|
902
|
+
testIamPermissions(
|
|
903
|
+
request: {
|
|
904
|
+
/** V1 error format. */
|
|
905
|
+
'$.xgafv'?: '1' | '2';
|
|
906
|
+
/** OAuth access token. */
|
|
907
|
+
access_token?: string;
|
|
908
|
+
/** Data format for response. */
|
|
909
|
+
alt?: 'json' | 'media' | 'proto';
|
|
910
|
+
/** JSONP */
|
|
911
|
+
callback?: string;
|
|
912
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
913
|
+
fields?: string;
|
|
914
|
+
/** 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. */
|
|
915
|
+
key?: string;
|
|
916
|
+
/** OAuth 2.0 token for the current user. */
|
|
917
|
+
oauth_token?: string;
|
|
918
|
+
/** Returns response with indentations and line breaks. */
|
|
919
|
+
prettyPrint?: boolean;
|
|
920
|
+
/** 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. */
|
|
921
|
+
quotaUser?: string;
|
|
922
|
+
/** 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. */
|
|
923
|
+
resource: string;
|
|
924
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
925
|
+
upload_protocol?: string;
|
|
926
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
927
|
+
uploadType?: string;
|
|
928
|
+
},
|
|
929
|
+
body: TestIamPermissionsRequest,
|
|
930
|
+
): Request<TestIamPermissionsResponse>;
|
|
931
|
+
subscriptions: {
|
|
932
|
+
/** Lists the name of the subscriptions for this topic. */
|
|
933
|
+
list(request?: {
|
|
934
|
+
/** V1 error format. */
|
|
935
|
+
'$.xgafv'?: '1' | '2';
|
|
936
|
+
/** OAuth access token. */
|
|
937
|
+
access_token?: string;
|
|
938
|
+
/** Data format for response. */
|
|
939
|
+
alt?: 'json' | 'media' | 'proto';
|
|
940
|
+
/** JSONP */
|
|
941
|
+
callback?: string;
|
|
942
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
943
|
+
fields?: string;
|
|
944
|
+
/** 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. */
|
|
945
|
+
key?: string;
|
|
946
|
+
/** OAuth 2.0 token for the current user. */
|
|
947
|
+
oauth_token?: string;
|
|
948
|
+
/** Maximum number of subscription names to return. */
|
|
949
|
+
pageSize?: number;
|
|
950
|
+
/** The value returned by the last `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a prior `ListTopicSubscriptions` call, and that the system should return the next page of data. */
|
|
951
|
+
pageToken?: string;
|
|
952
|
+
/** Returns response with indentations and line breaks. */
|
|
953
|
+
prettyPrint?: boolean;
|
|
954
|
+
/** 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. */
|
|
955
|
+
quotaUser?: string;
|
|
956
|
+
/** The name of the topic that subscriptions are attached to. */
|
|
957
|
+
topic: string;
|
|
958
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
959
|
+
upload_protocol?: string;
|
|
960
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
961
|
+
uploadType?: string;
|
|
962
|
+
}): Request<ListTopicSubscriptionsResponse>;
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
};
|
|
970
966
|
}
|
|
971
967
|
}
|