@maxim_mazurok/gapi.client.pubsublite-v1 0.0.20230414 → 0.0.20230421

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.
Files changed (3) hide show
  1. package/index.d.ts +1217 -609
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
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://pubsublite.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230414
12
+ // Revision: 20230421
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -27,271 +27,343 @@ declare namespace gapi.client {
27
27
  }
28
28
  interface Capacity {
29
29
  /** Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16. */
30
- publishMibPerSec?: number;
30
+ publishMibPerSec?:
31
+ number;
31
32
  /** Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32. */
32
- subscribeMibPerSec?: number;
33
+ subscribeMibPerSec?:
34
+ number;
33
35
  }
34
36
  interface CommitCursorRequest {
35
37
  /** The new value for the committed cursor. */
36
- cursor?: Cursor;
38
+ cursor?:
39
+ Cursor;
37
40
  /** The partition for which to update the cursor. Partitions are zero indexed, so `partition` must be in the range [0, topic.num_partitions). */
38
- partition?: string;
41
+ partition?:
42
+ string;
39
43
  }
40
44
  // tslint:disable-next-line:no-empty-interface
41
45
  interface CommitCursorResponse {
42
46
  }
43
47
  interface ComputeHeadCursorRequest {
44
48
  /** Required. The partition for which we should compute the head cursor. */
45
- partition?: string;
49
+ partition?:
50
+ string;
46
51
  }
47
52
  interface ComputeHeadCursorResponse {
48
53
  /** The head cursor. */
49
- headCursor?: Cursor;
54
+ headCursor?:
55
+ Cursor;
50
56
  }
51
57
  interface ComputeMessageStatsRequest {
52
58
  /**
53
59
  * The exclusive end of the range. The range is empty if end_cursor <= start_cursor. Specifying a start_cursor before the first message and an end_cursor after the last message will
54
60
  * retrieve all messages.
55
61
  */
56
- endCursor?: Cursor;
62
+ endCursor?:
63
+ Cursor;
57
64
  /** Required. The partition for which we should compute message stats. */
58
- partition?: string;
65
+ partition?:
66
+ string;
59
67
  /** The inclusive start of the range. */
60
- startCursor?: Cursor;
68
+ startCursor?:
69
+ Cursor;
61
70
  }
62
71
  interface ComputeMessageStatsResponse {
63
72
  /** The number of quota bytes accounted to these messages. */
64
- messageBytes?: string;
73
+ messageBytes?:
74
+ string;
65
75
  /** The count of messages. */
66
- messageCount?: string;
76
+ messageCount?:
77
+ string;
67
78
  /**
68
79
  * The minimum event timestamp across these messages. For the purposes of this computation, if a message does not have an event time, we use the publish time. The timestamp will be
69
80
  * unset if there are no messages.
70
81
  */
71
- minimumEventTime?: string;
82
+ minimumEventTime?:
83
+ string;
72
84
  /**
73
85
  * The minimum publish timestamp across these messages. Note that publish timestamps within a partition are not guaranteed to be non-decreasing. The timestamp will be unset if there
74
86
  * are no messages.
75
87
  */
76
- minimumPublishTime?: string;
88
+ minimumPublishTime?:
89
+ string;
77
90
  }
78
91
  interface ComputeTimeCursorRequest {
79
92
  /** Required. The partition for which we should compute the cursor. */
80
- partition?: string;
93
+ partition?:
94
+ string;
81
95
  /** Required. The target publish or event time. Specifying a future time will return an unset cursor. */
82
- target?: TimeTarget;
96
+ target?:
97
+ TimeTarget;
83
98
  }
84
99
  interface ComputeTimeCursorResponse {
85
100
  /**
86
101
  * If present, the cursor references the first message with time greater than or equal to the specified target time. If such a message cannot be found, the cursor will be unset (i.e.
87
102
  * `cursor` is not present).
88
103
  */
89
- cursor?: Cursor;
104
+ cursor?:
105
+ Cursor;
90
106
  }
91
107
  interface Cursor {
92
108
  /** The offset of a message within a topic partition. Must be greater than or equal 0. */
93
- offset?: string;
109
+ offset?:
110
+ string;
94
111
  }
95
112
  interface DeliveryConfig {
96
113
  /** The DeliveryRequirement for this subscription. */
97
- deliveryRequirement?: string;
114
+ deliveryRequirement?:
115
+ string;
98
116
  }
99
117
  // tslint:disable-next-line:no-empty-interface
100
118
  interface Empty {
101
119
  }
102
120
  interface ExportConfig {
103
121
  /** Output only. The current state of the export, which may be different to the desired state due to errors. This field is output only. */
104
- currentState?: string;
122
+ currentState?:
123
+ string;
105
124
  /**
106
125
  * Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub
107
126
  * service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like:
108
127
  * projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
109
128
  */
110
- deadLetterTopic?: string;
129
+ deadLetterTopic?:
130
+ string;
111
131
  /** The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error. */
112
- desiredState?: string;
132
+ desiredState?:
133
+ string;
113
134
  /** Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic. */
114
- pubsubConfig?: PubSubConfig;
135
+ pubsubConfig?:
136
+ PubSubConfig;
115
137
  }
116
138
  interface ListOperationsResponse {
117
139
  /** The standard List next-page token. */
118
- nextPageToken?: string;
140
+ nextPageToken?:
141
+ string;
119
142
  /** A list of operations that matches the specified filter in the request. */
120
- operations?: Operation[];
143
+ operations?:
144
+ Operation[];
121
145
  }
122
146
  interface ListPartitionCursorsResponse {
123
147
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
124
- nextPageToken?: string;
148
+ nextPageToken?:
149
+ string;
125
150
  /** The partition cursors from this request. */
126
- partitionCursors?: PartitionCursor[];
151
+ partitionCursors?:
152
+ PartitionCursor[];
127
153
  }
128
154
  interface ListReservationsResponse {
129
155
  /** A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. */
130
- nextPageToken?: string;
156
+ nextPageToken?:
157
+ string;
131
158
  /** The list of reservation in the requested parent. The order of the reservations is unspecified. */
132
- reservations?: Reservation[];
159
+ reservations?:
160
+ Reservation[];
133
161
  }
134
162
  interface ListReservationTopicsResponse {
135
163
  /** A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. */
136
- nextPageToken?: string;
164
+ nextPageToken?:
165
+ string;
137
166
  /** The names of topics attached to the reservation. The order of the topics is unspecified. */
138
- topics?: string[];
167
+ topics?:
168
+ string[];
139
169
  }
140
170
  interface ListSubscriptionsResponse {
141
171
  /** A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. */
142
- nextPageToken?: string;
172
+ nextPageToken?:
173
+ string;
143
174
  /** The list of subscriptions in the requested parent. The order of the subscriptions is unspecified. */
144
- subscriptions?: Subscription[];
175
+ subscriptions?:
176
+ Subscription[];
145
177
  }
146
178
  interface ListTopicsResponse {
147
179
  /** A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. */
148
- nextPageToken?: string;
180
+ nextPageToken?:
181
+ string;
149
182
  /** The list of topic in the requested parent. The order of the topics is unspecified. */
150
- topics?: Topic[];
183
+ topics?:
184
+ Topic[];
151
185
  }
152
186
  interface ListTopicSubscriptionsResponse {
153
187
  /** A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. */
154
- nextPageToken?: string;
188
+ nextPageToken?:
189
+ string;
155
190
  /** The names of subscriptions attached to the topic. The order of the subscriptions is unspecified. */
156
- subscriptions?: string[];
191
+ subscriptions?:
192
+ string[];
157
193
  }
158
194
  interface Operation {
159
195
  /** 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. */
160
- done?: boolean;
196
+ done?:
197
+ boolean;
161
198
  /** The error result of the operation in case of failure or cancellation. */
162
- error?: Status;
199
+ error?:
200
+ Status;
163
201
  /**
164
202
  * 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
165
203
  * metadata. Any method that returns a long-running operation should document the metadata type, if any.
166
204
  */
167
- metadata?: { [P in string]: any };
205
+ metadata?:
206
+ { [P in string]: any };
168
207
  /**
169
208
  * 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
170
209
  * with `operations/{unique_id}`.
171
210
  */
172
- name?: string;
211
+ name?:
212
+ string;
173
213
  /**
174
214
  * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
175
215
  * 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
176
216
  * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
177
217
  */
178
- response?: { [P in string]: any };
218
+ response?:
219
+ { [P in string]: any };
179
220
  }
180
221
  interface OperationMetadata {
181
222
  /** The time the operation was created. */
182
- createTime?: string;
223
+ createTime?:
224
+ string;
183
225
  /** The time the operation finished running. Not set if the operation has not completed. */
184
- endTime?: string;
226
+ endTime?:
227
+ string;
185
228
  /**
186
229
  * Resource path for the target of the operation. For example, targets of seeks are subscription resources, structured like:
187
230
  * projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
188
231
  */
189
- target?: string;
232
+ target?:
233
+ string;
190
234
  /** Name of the verb executed by the operation. */
191
- verb?: string;
235
+ verb?:
236
+ string;
192
237
  }
193
238
  interface PartitionConfig {
194
239
  /** The capacity configuration. */
195
- capacity?: Capacity;
240
+ capacity?:
241
+ Capacity;
196
242
  /**
197
243
  * The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not
198
244
  * guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
199
245
  */
200
- count?: string;
246
+ count?:
247
+ string;
201
248
  /**
202
249
  * DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard
203
250
  * partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the
204
251
  * range [1,4].
205
252
  */
206
- scale?: number;
253
+ scale?:
254
+ number;
207
255
  }
208
256
  interface PartitionCursor {
209
257
  /** The value of the cursor. */
210
- cursor?: Cursor;
258
+ cursor?:
259
+ Cursor;
211
260
  /** The partition this is for. */
212
- partition?: string;
261
+ partition?:
262
+ string;
213
263
  }
214
264
  interface PubSubConfig {
215
265
  /** The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed. */
216
- topic?: string;
266
+ topic?:
267
+ string;
217
268
  }
218
269
  interface Reservation {
219
270
  /** The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} */
220
- name?: string;
271
+ name?:
272
+ string;
221
273
  /**
222
274
  * The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared
223
275
  * as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
224
276
  */
225
- throughputCapacity?: string;
277
+ throughputCapacity?:
278
+ string;
226
279
  }
227
280
  interface ReservationConfig {
228
281
  /** The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} */
229
- throughputReservation?: string;
282
+ throughputReservation?:
283
+ string;
230
284
  }
231
285
  interface RetentionConfig {
232
286
  /** How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below `per_partition_bytes`. */
233
- period?: string;
287
+ period?:
288
+ string;
234
289
  /**
235
290
  * The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room
236
291
  * for newer ones, regardless of the value of `period`.
237
292
  */
238
- perPartitionBytes?: string;
293
+ perPartitionBytes?:
294
+ string;
239
295
  }
240
296
  interface SeekSubscriptionRequest {
241
297
  /** Seek to a named position with respect to the message backlog. */
242
- namedTarget?: string;
298
+ namedTarget?:
299
+ string;
243
300
  /**
244
301
  * Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message
245
302
  * backlog.
246
303
  */
247
- timeTarget?: TimeTarget;
304
+ timeTarget?:
305
+ TimeTarget;
248
306
  }
249
307
  // tslint:disable-next-line:no-empty-interface
250
308
  interface SeekSubscriptionResponse {
251
309
  }
252
310
  interface Status {
253
311
  /** The status code, which should be an enum value of google.rpc.Code. */
254
- code?: number;
312
+ code?:
313
+ number;
255
314
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
256
- details?: Array<{ [P in string]: any }>;
315
+ details?:
316
+ Array<{ [P in string]: any }>;
257
317
  /**
258
318
  * 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
259
319
  * client.
260
320
  */
261
- message?: string;
321
+ message?:
322
+ string;
262
323
  }
263
324
  interface Subscription {
264
325
  /** The settings for this subscription's message delivery. */
265
- deliveryConfig?: DeliveryConfig;
326
+ deliveryConfig?:
327
+ DeliveryConfig;
266
328
  /** If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination. */
267
- exportConfig?: ExportConfig;
329
+ exportConfig?:
330
+ ExportConfig;
268
331
  /** The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id} */
269
- name?: string;
332
+ name?:
333
+ string;
270
334
  /** The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} */
271
- topic?: string;
335
+ topic?:
336
+ string;
272
337
  }
273
338
  interface TimeTarget {
274
339
  /**
275
340
  * Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As
276
341
  * event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.
277
342
  */
278
- eventTime?: string;
343
+ eventTime?:
344
+ string;
279
345
  /** Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`. */
280
- publishTime?: string;
346
+ publishTime?:
347
+ string;
281
348
  }
282
349
  interface Topic {
283
350
  /** The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} */
284
- name?: string;
351
+ name?:
352
+ string;
285
353
  /** The settings for this topic's partitions. */
286
- partitionConfig?: PartitionConfig;
354
+ partitionConfig?:
355
+ PartitionConfig;
287
356
  /** The settings for this topic's Reservation usage. */
288
- reservationConfig?: ReservationConfig;
357
+ reservationConfig?:
358
+ ReservationConfig;
289
359
  /** The settings for this topic's message retention. */
290
- retentionConfig?: RetentionConfig;
360
+ retentionConfig?:
361
+ RetentionConfig;
291
362
  }
292
363
  interface TopicPartitions {
293
364
  /** The number of partitions in the topic. */
294
- partitionCount?: string;
365
+ partitionCount?:
366
+ string;
295
367
  }
296
368
  interface OperationsResource {
297
369
  /**
@@ -302,57 +374,82 @@ declare namespace gapi.client {
302
374
  */
303
375
  cancel(request: {
304
376
  /** V1 error format. */
305
- "$.xgafv"?: string;
377
+ "$.xgafv"?:
378
+ string;
306
379
  /** OAuth access token. */
307
- access_token?: string;
380
+ access_token?:
381
+ string;
308
382
  /** Data format for response. */
309
- alt?: string;
383
+ alt?:
384
+ string;
310
385
  /** JSONP */
311
- callback?: string;
386
+ callback?:
387
+ string;
312
388
  /** Selector specifying which fields to include in a partial response. */
313
- fields?: string;
389
+ fields?:
390
+ string;
314
391
  /** 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. */
315
- key?: string;
392
+ key?:
393
+ string;
316
394
  /** The name of the operation resource to be cancelled. */
317
- name: string;
395
+ name:
396
+ string;
318
397
  /** OAuth 2.0 token for the current user. */
319
- oauth_token?: string;
398
+ oauth_token?:
399
+ string;
320
400
  /** Returns response with indentations and line breaks. */
321
- prettyPrint?: boolean;
401
+ prettyPrint?:
402
+ boolean;
322
403
  /** 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. */
323
- quotaUser?: string;
404
+ quotaUser?:
405
+ string;
324
406
  /** Upload protocol for media (e.g. "raw", "multipart"). */
325
- upload_protocol?: string;
407
+ upload_protocol?:
408
+ string;
326
409
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
327
- uploadType?: string;
410
+ uploadType?:
411
+ string;
328
412
  /** Request body */
329
- resource: CancelOperationRequest;
413
+ resource:
414
+ CancelOperationRequest;
330
415
  }): Request<{}>;
331
416
  cancel(request: {
332
417
  /** V1 error format. */
333
- "$.xgafv"?: string;
418
+ "$.xgafv"?:
419
+ string;
334
420
  /** OAuth access token. */
335
- access_token?: string;
421
+ access_token?:
422
+ string;
336
423
  /** Data format for response. */
337
- alt?: string;
424
+ alt?:
425
+ string;
338
426
  /** JSONP */
339
- callback?: string;
427
+ callback?:
428
+ string;
340
429
  /** Selector specifying which fields to include in a partial response. */
341
- fields?: string;
430
+ fields?:
431
+ string;
342
432
  /** 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. */
343
- key?: string;
433
+ key?:
434
+ string;
344
435
  /** The name of the operation resource to be cancelled. */
345
- name: string;
436
+ name:
437
+ string;
346
438
  /** OAuth 2.0 token for the current user. */
347
- oauth_token?: string;
439
+ oauth_token?:
440
+ string;
348
441
  /** Returns response with indentations and line breaks. */
349
- prettyPrint?: boolean;
442
+ prettyPrint?:
443
+ boolean;
350
444
  /** 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. */
351
- quotaUser?: string;
445
+ quotaUser?:
446
+ string;
352
447
  /** Upload protocol for media (e.g. "raw", "multipart"). */
353
- upload_protocol?: string;
448
+ upload_protocol?:
449
+ string;
354
450
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
355
- uploadType?: string;
451
+ uploadType?:
452
+ string;
356
453
  },
357
454
  body: CancelOperationRequest): Request<{}>;
358
455
  /**
@@ -361,555 +458,795 @@ declare namespace gapi.client {
361
458
  */
362
459
  delete(request?: {
363
460
  /** V1 error format. */
364
- "$.xgafv"?: string;
461
+ "$.xgafv"?:
462
+ string;
365
463
  /** OAuth access token. */
366
- access_token?: string;
464
+ access_token?:
465
+ string;
367
466
  /** Data format for response. */
368
- alt?: string;
467
+ alt?:
468
+ string;
369
469
  /** JSONP */
370
- callback?: string;
470
+ callback?:
471
+ string;
371
472
  /** Selector specifying which fields to include in a partial response. */
372
- fields?: string;
473
+ fields?:
474
+ string;
373
475
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
374
- key?: string;
476
+ key?:
477
+ string;
375
478
  /** The name of the operation resource to be deleted. */
376
- name: string;
479
+ name:
480
+ string;
377
481
  /** OAuth 2.0 token for the current user. */
378
- oauth_token?: string;
482
+ oauth_token?:
483
+ string;
379
484
  /** Returns response with indentations and line breaks. */
380
- prettyPrint?: boolean;
485
+ prettyPrint?:
486
+ boolean;
381
487
  /** 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. */
382
- quotaUser?: string;
488
+ quotaUser?:
489
+ string;
383
490
  /** Upload protocol for media (e.g. "raw", "multipart"). */
384
- upload_protocol?: string;
491
+ upload_protocol?:
492
+ string;
385
493
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
386
- uploadType?: string;
494
+ uploadType?:
495
+ string;
387
496
  }): Request<{}>;
388
497
  /** 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. */
389
498
  get(request?: {
390
499
  /** V1 error format. */
391
- "$.xgafv"?: string;
500
+ "$.xgafv"?:
501
+ string;
392
502
  /** OAuth access token. */
393
- access_token?: string;
503
+ access_token?:
504
+ string;
394
505
  /** Data format for response. */
395
- alt?: string;
506
+ alt?:
507
+ string;
396
508
  /** JSONP */
397
- callback?: string;
509
+ callback?:
510
+ string;
398
511
  /** Selector specifying which fields to include in a partial response. */
399
- fields?: string;
512
+ fields?:
513
+ string;
400
514
  /** 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. */
401
- key?: string;
515
+ key?:
516
+ string;
402
517
  /** The name of the operation resource. */
403
- name: string;
518
+ name:
519
+ string;
404
520
  /** OAuth 2.0 token for the current user. */
405
- oauth_token?: string;
521
+ oauth_token?:
522
+ string;
406
523
  /** Returns response with indentations and line breaks. */
407
- prettyPrint?: boolean;
524
+ prettyPrint?:
525
+ boolean;
408
526
  /** 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. */
409
- quotaUser?: string;
527
+ quotaUser?:
528
+ string;
410
529
  /** Upload protocol for media (e.g. "raw", "multipart"). */
411
- upload_protocol?: string;
530
+ upload_protocol?:
531
+ string;
412
532
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
413
- uploadType?: string;
533
+ uploadType?:
534
+ string;
414
535
  }): Request<Operation>;
415
536
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
416
537
  list(request?: {
417
538
  /** V1 error format. */
418
- "$.xgafv"?: string;
539
+ "$.xgafv"?:
540
+ string;
419
541
  /** OAuth access token. */
420
- access_token?: string;
542
+ access_token?:
543
+ string;
421
544
  /** Data format for response. */
422
- alt?: string;
545
+ alt?:
546
+ string;
423
547
  /** JSONP */
424
- callback?: string;
548
+ callback?:
549
+ string;
425
550
  /** Selector specifying which fields to include in a partial response. */
426
- fields?: string;
551
+ fields?:
552
+ string;
427
553
  /** The standard list filter. */
428
- filter?: string;
554
+ filter?:
555
+ string;
429
556
  /** 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. */
430
- key?: string;
557
+ key?:
558
+ string;
431
559
  /** The name of the operation's parent resource. */
432
- name: string;
560
+ name:
561
+ string;
433
562
  /** OAuth 2.0 token for the current user. */
434
- oauth_token?: string;
563
+ oauth_token?:
564
+ string;
435
565
  /** The standard list page size. */
436
- pageSize?: number;
566
+ pageSize?:
567
+ number;
437
568
  /** The standard list page token. */
438
- pageToken?: string;
569
+ pageToken?:
570
+ string;
439
571
  /** Returns response with indentations and line breaks. */
440
- prettyPrint?: boolean;
572
+ prettyPrint?:
573
+ boolean;
441
574
  /** 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. */
442
- quotaUser?: string;
575
+ quotaUser?:
576
+ string;
443
577
  /** Upload protocol for media (e.g. "raw", "multipart"). */
444
- upload_protocol?: string;
578
+ upload_protocol?:
579
+ string;
445
580
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
446
- uploadType?: string;
581
+ uploadType?:
582
+ string;
447
583
  }): Request<ListOperationsResponse>;
448
584
  }
449
585
  interface TopicsResource {
450
586
  /** Lists the topics attached to the specified reservation. */
451
587
  list(request?: {
452
588
  /** V1 error format. */
453
- "$.xgafv"?: string;
589
+ "$.xgafv"?:
590
+ string;
454
591
  /** OAuth access token. */
455
- access_token?: string;
592
+ access_token?:
593
+ string;
456
594
  /** Data format for response. */
457
- alt?: string;
595
+ alt?:
596
+ string;
458
597
  /** JSONP */
459
- callback?: string;
598
+ callback?:
599
+ string;
460
600
  /** Selector specifying which fields to include in a partial response. */
461
- fields?: string;
601
+ fields?:
602
+ string;
462
603
  /** 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. */
463
- key?: string;
604
+ key?:
605
+ string;
464
606
  /** Required. The name of the reservation whose topics to list. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} */
465
- name: string;
607
+ name:
608
+ string;
466
609
  /** OAuth 2.0 token for the current user. */
467
- oauth_token?: string;
610
+ oauth_token?:
611
+ string;
468
612
  /** The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the given reservation will be returned. */
469
- pageSize?: number;
613
+ pageSize?:
614
+ number;
470
615
  /**
471
616
  * A page token, received from a previous `ListReservationTopics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
472
617
  * `ListReservationTopics` must match the call that provided the page token.
473
618
  */
474
- pageToken?: string;
619
+ pageToken?:
620
+ string;
475
621
  /** Returns response with indentations and line breaks. */
476
- prettyPrint?: boolean;
622
+ prettyPrint?:
623
+ boolean;
477
624
  /** 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. */
478
- quotaUser?: string;
625
+ quotaUser?:
626
+ string;
479
627
  /** Upload protocol for media (e.g. "raw", "multipart"). */
480
- upload_protocol?: string;
628
+ upload_protocol?:
629
+ string;
481
630
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
482
- uploadType?: string;
631
+ uploadType?:
632
+ string;
483
633
  }): Request<ListReservationTopicsResponse>;
484
634
  }
485
635
  interface ReservationsResource {
486
636
  /** Creates a new reservation. */
487
637
  create(request: {
488
638
  /** V1 error format. */
489
- "$.xgafv"?: string;
639
+ "$.xgafv"?:
640
+ string;
490
641
  /** OAuth access token. */
491
- access_token?: string;
642
+ access_token?:
643
+ string;
492
644
  /** Data format for response. */
493
- alt?: string;
645
+ alt?:
646
+ string;
494
647
  /** JSONP */
495
- callback?: string;
648
+ callback?:
649
+ string;
496
650
  /** Selector specifying which fields to include in a partial response. */
497
- fields?: string;
651
+ fields?:
652
+ string;
498
653
  /** 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. */
499
- key?: string;
654
+ key?:
655
+ string;
500
656
  /** OAuth 2.0 token for the current user. */
501
- oauth_token?: string;
657
+ oauth_token?:
658
+ string;
502
659
  /** Required. The parent location in which to create the reservation. Structured like `projects/{project_number}/locations/{location}`. */
503
- parent: string;
660
+ parent:
661
+ string;
504
662
  /** Returns response with indentations and line breaks. */
505
- prettyPrint?: boolean;
663
+ prettyPrint?:
664
+ boolean;
506
665
  /** 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. */
507
- quotaUser?: string;
666
+ quotaUser?:
667
+ string;
508
668
  /** Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`. */
509
- reservationId?: string;
669
+ reservationId?:
670
+ string;
510
671
  /** Upload protocol for media (e.g. "raw", "multipart"). */
511
- upload_protocol?: string;
672
+ upload_protocol?:
673
+ string;
512
674
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
513
- uploadType?: string;
675
+ uploadType?:
676
+ string;
514
677
  /** Request body */
515
- resource: Reservation;
678
+ resource:
679
+ Reservation;
516
680
  }): Request<Reservation>;
517
681
  create(request: {
518
682
  /** V1 error format. */
519
- "$.xgafv"?: string;
683
+ "$.xgafv"?:
684
+ string;
520
685
  /** OAuth access token. */
521
- access_token?: string;
686
+ access_token?:
687
+ string;
522
688
  /** Data format for response. */
523
- alt?: string;
689
+ alt?:
690
+ string;
524
691
  /** JSONP */
525
- callback?: string;
692
+ callback?:
693
+ string;
526
694
  /** Selector specifying which fields to include in a partial response. */
527
- fields?: string;
695
+ fields?:
696
+ string;
528
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. */
529
- key?: string;
698
+ key?:
699
+ string;
530
700
  /** OAuth 2.0 token for the current user. */
531
- oauth_token?: string;
701
+ oauth_token?:
702
+ string;
532
703
  /** Required. The parent location in which to create the reservation. Structured like `projects/{project_number}/locations/{location}`. */
533
- parent: string;
704
+ parent:
705
+ string;
534
706
  /** Returns response with indentations and line breaks. */
535
- prettyPrint?: boolean;
707
+ prettyPrint?:
708
+ boolean;
536
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. */
537
- quotaUser?: string;
710
+ quotaUser?:
711
+ string;
538
712
  /** Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`. */
539
- reservationId?: string;
713
+ reservationId?:
714
+ string;
540
715
  /** Upload protocol for media (e.g. "raw", "multipart"). */
541
- upload_protocol?: string;
716
+ upload_protocol?:
717
+ string;
542
718
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
543
- uploadType?: string;
719
+ uploadType?:
720
+ string;
544
721
  },
545
722
  body: Reservation): Request<Reservation>;
546
723
  /** Deletes the specified reservation. */
547
724
  delete(request?: {
548
725
  /** V1 error format. */
549
- "$.xgafv"?: string;
726
+ "$.xgafv"?:
727
+ string;
550
728
  /** OAuth access token. */
551
- access_token?: string;
729
+ access_token?:
730
+ string;
552
731
  /** Data format for response. */
553
- alt?: string;
732
+ alt?:
733
+ string;
554
734
  /** JSONP */
555
- callback?: string;
735
+ callback?:
736
+ string;
556
737
  /** Selector specifying which fields to include in a partial response. */
557
- fields?: string;
738
+ fields?:
739
+ string;
558
740
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
559
- key?: string;
741
+ key?:
742
+ string;
560
743
  /** Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} */
561
- name: string;
744
+ name:
745
+ string;
562
746
  /** OAuth 2.0 token for the current user. */
563
- oauth_token?: string;
747
+ oauth_token?:
748
+ string;
564
749
  /** Returns response with indentations and line breaks. */
565
- prettyPrint?: boolean;
750
+ prettyPrint?:
751
+ boolean;
566
752
  /** 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
- quotaUser?: string;
753
+ quotaUser?:
754
+ string;
568
755
  /** Upload protocol for media (e.g. "raw", "multipart"). */
569
- upload_protocol?: string;
756
+ upload_protocol?:
757
+ string;
570
758
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
571
- uploadType?: string;
759
+ uploadType?:
760
+ string;
572
761
  }): Request<{}>;
573
762
  /** Returns the reservation configuration. */
574
763
  get(request?: {
575
764
  /** V1 error format. */
576
- "$.xgafv"?: string;
765
+ "$.xgafv"?:
766
+ string;
577
767
  /** OAuth access token. */
578
- access_token?: string;
768
+ access_token?:
769
+ string;
579
770
  /** Data format for response. */
580
- alt?: string;
771
+ alt?:
772
+ string;
581
773
  /** JSONP */
582
- callback?: string;
774
+ callback?:
775
+ string;
583
776
  /** Selector specifying which fields to include in a partial response. */
584
- fields?: string;
777
+ fields?:
778
+ string;
585
779
  /** 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. */
586
- key?: string;
780
+ key?:
781
+ string;
587
782
  /** Required. The name of the reservation whose configuration to return. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} */
588
- name: string;
783
+ name:
784
+ string;
589
785
  /** OAuth 2.0 token for the current user. */
590
- oauth_token?: string;
786
+ oauth_token?:
787
+ string;
591
788
  /** Returns response with indentations and line breaks. */
592
- prettyPrint?: boolean;
789
+ prettyPrint?:
790
+ boolean;
593
791
  /** 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. */
594
- quotaUser?: string;
792
+ quotaUser?:
793
+ string;
595
794
  /** Upload protocol for media (e.g. "raw", "multipart"). */
596
- upload_protocol?: string;
795
+ upload_protocol?:
796
+ string;
597
797
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
598
- uploadType?: string;
798
+ uploadType?:
799
+ string;
599
800
  }): Request<Reservation>;
600
801
  /** Returns the list of reservations for the given project. */
601
802
  list(request?: {
602
803
  /** V1 error format. */
603
- "$.xgafv"?: string;
804
+ "$.xgafv"?:
805
+ string;
604
806
  /** OAuth access token. */
605
- access_token?: string;
807
+ access_token?:
808
+ string;
606
809
  /** Data format for response. */
607
- alt?: string;
810
+ alt?:
811
+ string;
608
812
  /** JSONP */
609
- callback?: string;
813
+ callback?:
814
+ string;
610
815
  /** Selector specifying which fields to include in a partial response. */
611
- fields?: string;
816
+ fields?:
817
+ string;
612
818
  /** 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. */
613
- key?: string;
819
+ key?:
820
+ string;
614
821
  /** OAuth 2.0 token for the current user. */
615
- oauth_token?: string;
822
+ oauth_token?:
823
+ string;
616
824
  /** The maximum number of reservations to return. The service may return fewer than this value. If unset or zero, all reservations for the parent will be returned. */
617
- pageSize?: number;
825
+ pageSize?:
826
+ number;
618
827
  /**
619
828
  * A page token, received from a previous `ListReservations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
620
829
  * `ListReservations` must match the call that provided the page token.
621
830
  */
622
- pageToken?: string;
831
+ pageToken?:
832
+ string;
623
833
  /** Required. The parent whose reservations are to be listed. Structured like `projects/{project_number}/locations/{location}`. */
624
- parent: string;
834
+ parent:
835
+ string;
625
836
  /** Returns response with indentations and line breaks. */
626
- prettyPrint?: boolean;
837
+ prettyPrint?:
838
+ boolean;
627
839
  /** 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. */
628
- quotaUser?: string;
840
+ quotaUser?:
841
+ string;
629
842
  /** Upload protocol for media (e.g. "raw", "multipart"). */
630
- upload_protocol?: string;
843
+ upload_protocol?:
844
+ string;
631
845
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
632
- uploadType?: string;
846
+ uploadType?:
847
+ string;
633
848
  }): Request<ListReservationsResponse>;
634
849
  /** Updates properties of the specified reservation. */
635
850
  patch(request: {
636
851
  /** V1 error format. */
637
- "$.xgafv"?: string;
852
+ "$.xgafv"?:
853
+ string;
638
854
  /** OAuth access token. */
639
- access_token?: string;
855
+ access_token?:
856
+ string;
640
857
  /** Data format for response. */
641
- alt?: string;
858
+ alt?:
859
+ string;
642
860
  /** JSONP */
643
- callback?: string;
861
+ callback?:
862
+ string;
644
863
  /** Selector specifying which fields to include in a partial response. */
645
- fields?: string;
864
+ fields?:
865
+ string;
646
866
  /** 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. */
647
- key?: string;
867
+ key?:
868
+ string;
648
869
  /** The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} */
649
- name: string;
870
+ name:
871
+ string;
650
872
  /** OAuth 2.0 token for the current user. */
651
- oauth_token?: string;
873
+ oauth_token?:
874
+ string;
652
875
  /** Returns response with indentations and line breaks. */
653
- prettyPrint?: boolean;
876
+ prettyPrint?:
877
+ boolean;
654
878
  /** 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. */
655
- quotaUser?: string;
879
+ quotaUser?:
880
+ string;
656
881
  /** Required. A mask specifying the reservation fields to change. */
657
- updateMask?: string;
882
+ updateMask?:
883
+ string;
658
884
  /** Upload protocol for media (e.g. "raw", "multipart"). */
659
- upload_protocol?: string;
885
+ upload_protocol?:
886
+ string;
660
887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
661
- uploadType?: string;
888
+ uploadType?:
889
+ string;
662
890
  /** Request body */
663
- resource: Reservation;
891
+ resource:
892
+ Reservation;
664
893
  }): Request<Reservation>;
665
894
  patch(request: {
666
895
  /** V1 error format. */
667
- "$.xgafv"?: string;
896
+ "$.xgafv"?:
897
+ string;
668
898
  /** OAuth access token. */
669
- access_token?: string;
899
+ access_token?:
900
+ string;
670
901
  /** Data format for response. */
671
- alt?: string;
902
+ alt?:
903
+ string;
672
904
  /** JSONP */
673
- callback?: string;
905
+ callback?:
906
+ string;
674
907
  /** Selector specifying which fields to include in a partial response. */
675
- fields?: string;
908
+ fields?:
909
+ string;
676
910
  /** 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. */
677
- key?: string;
911
+ key?:
912
+ string;
678
913
  /** The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} */
679
- name: string;
914
+ name:
915
+ string;
680
916
  /** OAuth 2.0 token for the current user. */
681
- oauth_token?: string;
917
+ oauth_token?:
918
+ string;
682
919
  /** Returns response with indentations and line breaks. */
683
- prettyPrint?: boolean;
920
+ prettyPrint?:
921
+ boolean;
684
922
  /** 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. */
685
- quotaUser?: string;
923
+ quotaUser?:
924
+ string;
686
925
  /** Required. A mask specifying the reservation fields to change. */
687
- updateMask?: string;
926
+ updateMask?:
927
+ string;
688
928
  /** Upload protocol for media (e.g. "raw", "multipart"). */
689
- upload_protocol?: string;
929
+ upload_protocol?:
930
+ string;
690
931
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
691
- uploadType?: string;
932
+ uploadType?:
933
+ string;
692
934
  },
693
935
  body: Reservation): Request<Reservation>;
694
- topics: TopicsResource;
936
+ topics:
937
+ TopicsResource;
695
938
  }
696
939
  interface SubscriptionsResource {
697
940
  /** Creates a new subscription. */
698
941
  create(request: {
699
942
  /** V1 error format. */
700
- "$.xgafv"?: string;
943
+ "$.xgafv"?:
944
+ string;
701
945
  /** OAuth access token. */
702
- access_token?: string;
946
+ access_token?:
947
+ string;
703
948
  /** Data format for response. */
704
- alt?: string;
949
+ alt?:
950
+ string;
705
951
  /** JSONP */
706
- callback?: string;
952
+ callback?:
953
+ string;
707
954
  /** Selector specifying which fields to include in a partial response. */
708
- fields?: string;
955
+ fields?:
956
+ string;
709
957
  /** 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. */
710
- key?: string;
958
+ key?:
959
+ string;
711
960
  /** OAuth 2.0 token for the current user. */
712
- oauth_token?: string;
961
+ oauth_token?:
962
+ string;
713
963
  /** Required. The parent location in which to create the subscription. Structured like `projects/{project_number}/locations/{location}`. */
714
- parent: string;
964
+ parent:
965
+ string;
715
966
  /** Returns response with indentations and line breaks. */
716
- prettyPrint?: boolean;
967
+ prettyPrint?:
968
+ boolean;
717
969
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
718
- quotaUser?: string;
970
+ quotaUser?:
971
+ string;
719
972
  /**
720
973
  * If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the
721
974
  * subscription. Defaults to false.
722
975
  */
723
- skipBacklog?: boolean;
976
+ skipBacklog?:
977
+ boolean;
724
978
  /** Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`. */
725
- subscriptionId?: string;
979
+ subscriptionId?:
980
+ string;
726
981
  /** Upload protocol for media (e.g. "raw", "multipart"). */
727
- upload_protocol?: string;
982
+ upload_protocol?:
983
+ string;
728
984
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
729
- uploadType?: string;
985
+ uploadType?:
986
+ string;
730
987
  /** Request body */
731
- resource: Subscription;
988
+ resource:
989
+ Subscription;
732
990
  }): Request<Subscription>;
733
991
  create(request: {
734
992
  /** V1 error format. */
735
- "$.xgafv"?: string;
993
+ "$.xgafv"?:
994
+ string;
736
995
  /** OAuth access token. */
737
- access_token?: string;
996
+ access_token?:
997
+ string;
738
998
  /** Data format for response. */
739
- alt?: string;
999
+ alt?:
1000
+ string;
740
1001
  /** JSONP */
741
- callback?: string;
1002
+ callback?:
1003
+ string;
742
1004
  /** Selector specifying which fields to include in a partial response. */
743
- fields?: string;
1005
+ fields?:
1006
+ string;
744
1007
  /** 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. */
745
- key?: string;
1008
+ key?:
1009
+ string;
746
1010
  /** OAuth 2.0 token for the current user. */
747
- oauth_token?: string;
1011
+ oauth_token?:
1012
+ string;
748
1013
  /** Required. The parent location in which to create the subscription. Structured like `projects/{project_number}/locations/{location}`. */
749
- parent: string;
1014
+ parent:
1015
+ string;
750
1016
  /** Returns response with indentations and line breaks. */
751
- prettyPrint?: boolean;
1017
+ prettyPrint?:
1018
+ boolean;
752
1019
  /** 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. */
753
- quotaUser?: string;
1020
+ quotaUser?:
1021
+ string;
754
1022
  /**
755
1023
  * If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the
756
1024
  * subscription. Defaults to false.
757
1025
  */
758
- skipBacklog?: boolean;
1026
+ skipBacklog?:
1027
+ boolean;
759
1028
  /** Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`. */
760
- subscriptionId?: string;
1029
+ subscriptionId?:
1030
+ string;
761
1031
  /** Upload protocol for media (e.g. "raw", "multipart"). */
762
- upload_protocol?: string;
1032
+ upload_protocol?:
1033
+ string;
763
1034
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
764
- uploadType?: string;
1035
+ uploadType?:
1036
+ string;
765
1037
  },
766
1038
  body: Subscription): Request<Subscription>;
767
1039
  /** Deletes the specified subscription. */
768
1040
  delete(request?: {
769
1041
  /** V1 error format. */
770
- "$.xgafv"?: string;
1042
+ "$.xgafv"?:
1043
+ string;
771
1044
  /** OAuth access token. */
772
- access_token?: string;
1045
+ access_token?:
1046
+ string;
773
1047
  /** Data format for response. */
774
- alt?: string;
1048
+ alt?:
1049
+ string;
775
1050
  /** JSONP */
776
- callback?: string;
1051
+ callback?:
1052
+ string;
777
1053
  /** Selector specifying which fields to include in a partial response. */
778
- fields?: string;
1054
+ fields?:
1055
+ string;
779
1056
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
780
- key?: string;
1057
+ key?:
1058
+ string;
781
1059
  /** Required. The name of the subscription to delete. */
782
- name: string;
1060
+ name:
1061
+ string;
783
1062
  /** OAuth 2.0 token for the current user. */
784
- oauth_token?: string;
1063
+ oauth_token?:
1064
+ string;
785
1065
  /** Returns response with indentations and line breaks. */
786
- prettyPrint?: boolean;
1066
+ prettyPrint?:
1067
+ boolean;
787
1068
  /** 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. */
788
- quotaUser?: string;
1069
+ quotaUser?:
1070
+ string;
789
1071
  /** Upload protocol for media (e.g. "raw", "multipart"). */
790
- upload_protocol?: string;
1072
+ upload_protocol?:
1073
+ string;
791
1074
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
792
- uploadType?: string;
1075
+ uploadType?:
1076
+ string;
793
1077
  }): Request<{}>;
794
1078
  /** Returns the subscription configuration. */
795
1079
  get(request?: {
796
1080
  /** V1 error format. */
797
- "$.xgafv"?: string;
1081
+ "$.xgafv"?:
1082
+ string;
798
1083
  /** OAuth access token. */
799
- access_token?: string;
1084
+ access_token?:
1085
+ string;
800
1086
  /** Data format for response. */
801
- alt?: string;
1087
+ alt?:
1088
+ string;
802
1089
  /** JSONP */
803
- callback?: string;
1090
+ callback?:
1091
+ string;
804
1092
  /** Selector specifying which fields to include in a partial response. */
805
- fields?: string;
1093
+ fields?:
1094
+ string;
806
1095
  /** 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. */
807
- key?: string;
1096
+ key?:
1097
+ string;
808
1098
  /** Required. The name of the subscription whose configuration to return. */
809
- name: string;
1099
+ name:
1100
+ string;
810
1101
  /** OAuth 2.0 token for the current user. */
811
- oauth_token?: string;
1102
+ oauth_token?:
1103
+ string;
812
1104
  /** Returns response with indentations and line breaks. */
813
- prettyPrint?: boolean;
1105
+ prettyPrint?:
1106
+ boolean;
814
1107
  /** 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. */
815
- quotaUser?: string;
1108
+ quotaUser?:
1109
+ string;
816
1110
  /** Upload protocol for media (e.g. "raw", "multipart"). */
817
- upload_protocol?: string;
1111
+ upload_protocol?:
1112
+ string;
818
1113
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
819
- uploadType?: string;
1114
+ uploadType?:
1115
+ string;
820
1116
  }): Request<Subscription>;
821
1117
  /** Returns the list of subscriptions for the given project. */
822
1118
  list(request?: {
823
1119
  /** V1 error format. */
824
- "$.xgafv"?: string;
1120
+ "$.xgafv"?:
1121
+ string;
825
1122
  /** OAuth access token. */
826
- access_token?: string;
1123
+ access_token?:
1124
+ string;
827
1125
  /** Data format for response. */
828
- alt?: string;
1126
+ alt?:
1127
+ string;
829
1128
  /** JSONP */
830
- callback?: string;
1129
+ callback?:
1130
+ string;
831
1131
  /** Selector specifying which fields to include in a partial response. */
832
- fields?: string;
1132
+ fields?:
1133
+ string;
833
1134
  /** 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. */
834
- key?: string;
1135
+ key?:
1136
+ string;
835
1137
  /** OAuth 2.0 token for the current user. */
836
- oauth_token?: string;
1138
+ oauth_token?:
1139
+ string;
837
1140
  /** The maximum number of subscriptions to return. The service may return fewer than this value. If unset or zero, all subscriptions for the parent will be returned. */
838
- pageSize?: number;
1141
+ pageSize?:
1142
+ number;
839
1143
  /**
840
1144
  * A page token, received from a previous `ListSubscriptions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
841
1145
  * `ListSubscriptions` must match the call that provided the page token.
842
1146
  */
843
- pageToken?: string;
1147
+ pageToken?:
1148
+ string;
844
1149
  /** Required. The parent whose subscriptions are to be listed. Structured like `projects/{project_number}/locations/{location}`. */
845
- parent: string;
1150
+ parent:
1151
+ string;
846
1152
  /** Returns response with indentations and line breaks. */
847
- prettyPrint?: boolean;
1153
+ prettyPrint?:
1154
+ boolean;
848
1155
  /** 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. */
849
- quotaUser?: string;
1156
+ quotaUser?:
1157
+ string;
850
1158
  /** Upload protocol for media (e.g. "raw", "multipart"). */
851
- upload_protocol?: string;
1159
+ upload_protocol?:
1160
+ string;
852
1161
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
853
- uploadType?: string;
1162
+ uploadType?:
1163
+ string;
854
1164
  }): Request<ListSubscriptionsResponse>;
855
1165
  /** Updates properties of the specified subscription. */
856
1166
  patch(request: {
857
1167
  /** V1 error format. */
858
- "$.xgafv"?: string;
1168
+ "$.xgafv"?:
1169
+ string;
859
1170
  /** OAuth access token. */
860
- access_token?: string;
1171
+ access_token?:
1172
+ string;
861
1173
  /** Data format for response. */
862
- alt?: string;
1174
+ alt?:
1175
+ string;
863
1176
  /** JSONP */
864
- callback?: string;
1177
+ callback?:
1178
+ string;
865
1179
  /** Selector specifying which fields to include in a partial response. */
866
- fields?: string;
1180
+ fields?:
1181
+ string;
867
1182
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
868
- key?: string;
1183
+ key?:
1184
+ string;
869
1185
  /** The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id} */
870
- name: string;
1186
+ name:
1187
+ string;
871
1188
  /** OAuth 2.0 token for the current user. */
872
- oauth_token?: string;
1189
+ oauth_token?:
1190
+ string;
873
1191
  /** Returns response with indentations and line breaks. */
874
- prettyPrint?: boolean;
1192
+ prettyPrint?:
1193
+ boolean;
875
1194
  /** 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. */
876
- quotaUser?: string;
1195
+ quotaUser?:
1196
+ string;
877
1197
  /** Required. A mask specifying the subscription fields to change. */
878
- updateMask?: string;
1198
+ updateMask?:
1199
+ string;
879
1200
  /** Upload protocol for media (e.g. "raw", "multipart"). */
880
- upload_protocol?: string;
1201
+ upload_protocol?:
1202
+ string;
881
1203
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
882
- uploadType?: string;
1204
+ uploadType?:
1205
+ string;
883
1206
  /** Request body */
884
- resource: Subscription;
1207
+ resource:
1208
+ Subscription;
885
1209
  }): Request<Subscription>;
886
1210
  patch(request: {
887
1211
  /** V1 error format. */
888
- "$.xgafv"?: string;
1212
+ "$.xgafv"?:
1213
+ string;
889
1214
  /** OAuth access token. */
890
- access_token?: string;
1215
+ access_token?:
1216
+ string;
891
1217
  /** Data format for response. */
892
- alt?: string;
1218
+ alt?:
1219
+ string;
893
1220
  /** JSONP */
894
- callback?: string;
1221
+ callback?:
1222
+ string;
895
1223
  /** Selector specifying which fields to include in a partial response. */
896
- fields?: string;
1224
+ fields?:
1225
+ string;
897
1226
  /** 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. */
898
- key?: string;
1227
+ key?:
1228
+ string;
899
1229
  /** The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id} */
900
- name: string;
1230
+ name:
1231
+ string;
901
1232
  /** OAuth 2.0 token for the current user. */
902
- oauth_token?: string;
1233
+ oauth_token?:
1234
+ string;
903
1235
  /** Returns response with indentations and line breaks. */
904
- prettyPrint?: boolean;
1236
+ prettyPrint?:
1237
+ boolean;
905
1238
  /** 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. */
906
- quotaUser?: string;
1239
+ quotaUser?:
1240
+ string;
907
1241
  /** Required. A mask specifying the subscription fields to change. */
908
- updateMask?: string;
1242
+ updateMask?:
1243
+ string;
909
1244
  /** Upload protocol for media (e.g. "raw", "multipart"). */
910
- upload_protocol?: string;
1245
+ upload_protocol?:
1246
+ string;
911
1247
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
912
- uploadType?: string;
1248
+ uploadType?:
1249
+ string;
913
1250
  },
914
1251
  body: Subscription): Request<Subscription>;
915
1252
  /**
@@ -923,57 +1260,82 @@ declare namespace gapi.client {
923
1260
  */
924
1261
  seek(request: {
925
1262
  /** V1 error format. */
926
- "$.xgafv"?: string;
1263
+ "$.xgafv"?:
1264
+ string;
927
1265
  /** OAuth access token. */
928
- access_token?: string;
1266
+ access_token?:
1267
+ string;
929
1268
  /** Data format for response. */
930
- alt?: string;
1269
+ alt?:
1270
+ string;
931
1271
  /** JSONP */
932
- callback?: string;
1272
+ callback?:
1273
+ string;
933
1274
  /** Selector specifying which fields to include in a partial response. */
934
- fields?: string;
1275
+ fields?:
1276
+ string;
935
1277
  /** 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. */
936
- key?: string;
1278
+ key?:
1279
+ string;
937
1280
  /** Required. The name of the subscription to seek. */
938
- name: string;
1281
+ name:
1282
+ string;
939
1283
  /** OAuth 2.0 token for the current user. */
940
- oauth_token?: string;
1284
+ oauth_token?:
1285
+ string;
941
1286
  /** Returns response with indentations and line breaks. */
942
- prettyPrint?: boolean;
1287
+ prettyPrint?:
1288
+ boolean;
943
1289
  /** 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. */
944
- quotaUser?: string;
1290
+ quotaUser?:
1291
+ string;
945
1292
  /** Upload protocol for media (e.g. "raw", "multipart"). */
946
- upload_protocol?: string;
1293
+ upload_protocol?:
1294
+ string;
947
1295
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
948
- uploadType?: string;
1296
+ uploadType?:
1297
+ string;
949
1298
  /** Request body */
950
- resource: SeekSubscriptionRequest;
1299
+ resource:
1300
+ SeekSubscriptionRequest;
951
1301
  }): Request<Operation>;
952
1302
  seek(request: {
953
1303
  /** V1 error format. */
954
- "$.xgafv"?: string;
1304
+ "$.xgafv"?:
1305
+ string;
955
1306
  /** OAuth access token. */
956
- access_token?: string;
1307
+ access_token?:
1308
+ string;
957
1309
  /** Data format for response. */
958
- alt?: string;
1310
+ alt?:
1311
+ string;
959
1312
  /** JSONP */
960
- callback?: string;
1313
+ callback?:
1314
+ string;
961
1315
  /** Selector specifying which fields to include in a partial response. */
962
- fields?: string;
1316
+ fields?:
1317
+ string;
963
1318
  /** 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. */
964
- key?: string;
1319
+ key?:
1320
+ string;
965
1321
  /** Required. The name of the subscription to seek. */
966
- name: string;
1322
+ name:
1323
+ string;
967
1324
  /** OAuth 2.0 token for the current user. */
968
- oauth_token?: string;
1325
+ oauth_token?:
1326
+ string;
969
1327
  /** Returns response with indentations and line breaks. */
970
- prettyPrint?: boolean;
1328
+ prettyPrint?:
1329
+ boolean;
971
1330
  /** 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. */
972
- quotaUser?: string;
1331
+ quotaUser?:
1332
+ string;
973
1333
  /** Upload protocol for media (e.g. "raw", "multipart"). */
974
- upload_protocol?: string;
1334
+ upload_protocol?:
1335
+ string;
975
1336
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
976
- uploadType?: string;
1337
+ uploadType?:
1338
+ string;
977
1339
  },
978
1340
  body: SeekSubscriptionRequest): Request<Operation>;
979
1341
  }
@@ -981,391 +1343,559 @@ declare namespace gapi.client {
981
1343
  /** Lists the subscriptions attached to the specified topic. */
982
1344
  list(request?: {
983
1345
  /** V1 error format. */
984
- "$.xgafv"?: string;
1346
+ "$.xgafv"?:
1347
+ string;
985
1348
  /** OAuth access token. */
986
- access_token?: string;
1349
+ access_token?:
1350
+ string;
987
1351
  /** Data format for response. */
988
- alt?: string;
1352
+ alt?:
1353
+ string;
989
1354
  /** JSONP */
990
- callback?: string;
1355
+ callback?:
1356
+ string;
991
1357
  /** Selector specifying which fields to include in a partial response. */
992
- fields?: string;
1358
+ fields?:
1359
+ string;
993
1360
  /** 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. */
994
- key?: string;
1361
+ key?:
1362
+ string;
995
1363
  /** Required. The name of the topic whose subscriptions to list. */
996
- name: string;
1364
+ name:
1365
+ string;
997
1366
  /** OAuth 2.0 token for the current user. */
998
- oauth_token?: string;
1367
+ oauth_token?:
1368
+ string;
999
1369
  /** The maximum number of subscriptions to return. The service may return fewer than this value. If unset or zero, all subscriptions for the given topic will be returned. */
1000
- pageSize?: number;
1370
+ pageSize?:
1371
+ number;
1001
1372
  /**
1002
1373
  * A page token, received from a previous `ListTopicSubscriptions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1003
1374
  * `ListTopicSubscriptions` must match the call that provided the page token.
1004
1375
  */
1005
- pageToken?: string;
1376
+ pageToken?:
1377
+ string;
1006
1378
  /** Returns response with indentations and line breaks. */
1007
- prettyPrint?: boolean;
1379
+ prettyPrint?:
1380
+ boolean;
1008
1381
  /** 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. */
1009
- quotaUser?: string;
1382
+ quotaUser?:
1383
+ string;
1010
1384
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1011
- upload_protocol?: string;
1385
+ upload_protocol?:
1386
+ string;
1012
1387
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1013
- uploadType?: string;
1388
+ uploadType?:
1389
+ string;
1014
1390
  }): Request<ListTopicSubscriptionsResponse>;
1015
1391
  }
1016
1392
  interface TopicsResource {
1017
1393
  /** Creates a new topic. */
1018
1394
  create(request: {
1019
1395
  /** V1 error format. */
1020
- "$.xgafv"?: string;
1396
+ "$.xgafv"?:
1397
+ string;
1021
1398
  /** OAuth access token. */
1022
- access_token?: string;
1399
+ access_token?:
1400
+ string;
1023
1401
  /** Data format for response. */
1024
- alt?: string;
1402
+ alt?:
1403
+ string;
1025
1404
  /** JSONP */
1026
- callback?: string;
1405
+ callback?:
1406
+ string;
1027
1407
  /** Selector specifying which fields to include in a partial response. */
1028
- fields?: string;
1408
+ fields?:
1409
+ string;
1029
1410
  /** 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. */
1030
- key?: string;
1411
+ key?:
1412
+ string;
1031
1413
  /** OAuth 2.0 token for the current user. */
1032
- oauth_token?: string;
1414
+ oauth_token?:
1415
+ string;
1033
1416
  /** Required. The parent location in which to create the topic. Structured like `projects/{project_number}/locations/{location}`. */
1034
- parent: string;
1417
+ parent:
1418
+ string;
1035
1419
  /** Returns response with indentations and line breaks. */
1036
- prettyPrint?: boolean;
1420
+ prettyPrint?:
1421
+ boolean;
1037
1422
  /** 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. */
1038
- quotaUser?: string;
1423
+ quotaUser?:
1424
+ string;
1039
1425
  /** Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: `my-topic-name`. */
1040
- topicId?: string;
1426
+ topicId?:
1427
+ string;
1041
1428
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1042
- upload_protocol?: string;
1429
+ upload_protocol?:
1430
+ string;
1043
1431
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
- uploadType?: string;
1432
+ uploadType?:
1433
+ string;
1045
1434
  /** Request body */
1046
- resource: Topic;
1435
+ resource:
1436
+ Topic;
1047
1437
  }): Request<Topic>;
1048
1438
  create(request: {
1049
1439
  /** V1 error format. */
1050
- "$.xgafv"?: string;
1440
+ "$.xgafv"?:
1441
+ string;
1051
1442
  /** OAuth access token. */
1052
- access_token?: string;
1443
+ access_token?:
1444
+ string;
1053
1445
  /** Data format for response. */
1054
- alt?: string;
1446
+ alt?:
1447
+ string;
1055
1448
  /** JSONP */
1056
- callback?: string;
1449
+ callback?:
1450
+ string;
1057
1451
  /** Selector specifying which fields to include in a partial response. */
1058
- fields?: string;
1452
+ fields?:
1453
+ string;
1059
1454
  /** 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. */
1060
- key?: string;
1455
+ key?:
1456
+ string;
1061
1457
  /** OAuth 2.0 token for the current user. */
1062
- oauth_token?: string;
1458
+ oauth_token?:
1459
+ string;
1063
1460
  /** Required. The parent location in which to create the topic. Structured like `projects/{project_number}/locations/{location}`. */
1064
- parent: string;
1461
+ parent:
1462
+ string;
1065
1463
  /** Returns response with indentations and line breaks. */
1066
- prettyPrint?: boolean;
1464
+ prettyPrint?:
1465
+ boolean;
1067
1466
  /** 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. */
1068
- quotaUser?: string;
1467
+ quotaUser?:
1468
+ string;
1069
1469
  /** Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: `my-topic-name`. */
1070
- topicId?: string;
1470
+ topicId?:
1471
+ string;
1071
1472
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1072
- upload_protocol?: string;
1473
+ upload_protocol?:
1474
+ string;
1073
1475
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1074
- uploadType?: string;
1476
+ uploadType?:
1477
+ string;
1075
1478
  },
1076
1479
  body: Topic): Request<Topic>;
1077
1480
  /** Deletes the specified topic. */
1078
1481
  delete(request?: {
1079
1482
  /** V1 error format. */
1080
- "$.xgafv"?: string;
1483
+ "$.xgafv"?:
1484
+ string;
1081
1485
  /** OAuth access token. */
1082
- access_token?: string;
1486
+ access_token?:
1487
+ string;
1083
1488
  /** Data format for response. */
1084
- alt?: string;
1489
+ alt?:
1490
+ string;
1085
1491
  /** JSONP */
1086
- callback?: string;
1492
+ callback?:
1493
+ string;
1087
1494
  /** Selector specifying which fields to include in a partial response. */
1088
- fields?: string;
1495
+ fields?:
1496
+ string;
1089
1497
  /** 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. */
1090
- key?: string;
1498
+ key?:
1499
+ string;
1091
1500
  /** Required. The name of the topic to delete. */
1092
- name: string;
1501
+ name:
1502
+ string;
1093
1503
  /** OAuth 2.0 token for the current user. */
1094
- oauth_token?: string;
1504
+ oauth_token?:
1505
+ string;
1095
1506
  /** Returns response with indentations and line breaks. */
1096
- prettyPrint?: boolean;
1507
+ prettyPrint?:
1508
+ boolean;
1097
1509
  /** 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. */
1098
- quotaUser?: string;
1510
+ quotaUser?:
1511
+ string;
1099
1512
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1100
- upload_protocol?: string;
1513
+ upload_protocol?:
1514
+ string;
1101
1515
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1102
- uploadType?: string;
1516
+ uploadType?:
1517
+ string;
1103
1518
  }): Request<{}>;
1104
1519
  /** Returns the topic configuration. */
1105
1520
  get(request?: {
1106
1521
  /** V1 error format. */
1107
- "$.xgafv"?: string;
1522
+ "$.xgafv"?:
1523
+ string;
1108
1524
  /** OAuth access token. */
1109
- access_token?: string;
1525
+ access_token?:
1526
+ string;
1110
1527
  /** Data format for response. */
1111
- alt?: string;
1528
+ alt?:
1529
+ string;
1112
1530
  /** JSONP */
1113
- callback?: string;
1531
+ callback?:
1532
+ string;
1114
1533
  /** Selector specifying which fields to include in a partial response. */
1115
- fields?: string;
1534
+ fields?:
1535
+ string;
1116
1536
  /** 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. */
1117
- key?: string;
1537
+ key?:
1538
+ string;
1118
1539
  /** Required. The name of the topic whose configuration to return. */
1119
- name: string;
1540
+ name:
1541
+ string;
1120
1542
  /** OAuth 2.0 token for the current user. */
1121
- oauth_token?: string;
1543
+ oauth_token?:
1544
+ string;
1122
1545
  /** Returns response with indentations and line breaks. */
1123
- prettyPrint?: boolean;
1546
+ prettyPrint?:
1547
+ boolean;
1124
1548
  /** 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. */
1125
- quotaUser?: string;
1549
+ quotaUser?:
1550
+ string;
1126
1551
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1127
- upload_protocol?: string;
1552
+ upload_protocol?:
1553
+ string;
1128
1554
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1129
- uploadType?: string;
1555
+ uploadType?:
1556
+ string;
1130
1557
  }): Request<Topic>;
1131
1558
  /** Returns the partition information for the requested topic. */
1132
1559
  getPartitions(request?: {
1133
1560
  /** V1 error format. */
1134
- "$.xgafv"?: string;
1561
+ "$.xgafv"?:
1562
+ string;
1135
1563
  /** OAuth access token. */
1136
- access_token?: string;
1564
+ access_token?:
1565
+ string;
1137
1566
  /** Data format for response. */
1138
- alt?: string;
1567
+ alt?:
1568
+ string;
1139
1569
  /** JSONP */
1140
- callback?: string;
1570
+ callback?:
1571
+ string;
1141
1572
  /** Selector specifying which fields to include in a partial response. */
1142
- fields?: string;
1573
+ fields?:
1574
+ string;
1143
1575
  /** 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. */
1144
- key?: string;
1576
+ key?:
1577
+ string;
1145
1578
  /** Required. The topic whose partition information to return. */
1146
- name: string;
1579
+ name:
1580
+ string;
1147
1581
  /** OAuth 2.0 token for the current user. */
1148
- oauth_token?: string;
1582
+ oauth_token?:
1583
+ string;
1149
1584
  /** Returns response with indentations and line breaks. */
1150
- prettyPrint?: boolean;
1585
+ prettyPrint?:
1586
+ boolean;
1151
1587
  /** 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. */
1152
- quotaUser?: string;
1588
+ quotaUser?:
1589
+ string;
1153
1590
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1154
- upload_protocol?: string;
1591
+ upload_protocol?:
1592
+ string;
1155
1593
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1156
- uploadType?: string;
1594
+ uploadType?:
1595
+ string;
1157
1596
  }): Request<TopicPartitions>;
1158
1597
  /** Returns the list of topics for the given project. */
1159
1598
  list(request?: {
1160
1599
  /** V1 error format. */
1161
- "$.xgafv"?: string;
1600
+ "$.xgafv"?:
1601
+ string;
1162
1602
  /** OAuth access token. */
1163
- access_token?: string;
1603
+ access_token?:
1604
+ string;
1164
1605
  /** Data format for response. */
1165
- alt?: string;
1606
+ alt?:
1607
+ string;
1166
1608
  /** JSONP */
1167
- callback?: string;
1609
+ callback?:
1610
+ string;
1168
1611
  /** Selector specifying which fields to include in a partial response. */
1169
- fields?: string;
1612
+ fields?:
1613
+ string;
1170
1614
  /** 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. */
1171
- key?: string;
1615
+ key?:
1616
+ string;
1172
1617
  /** OAuth 2.0 token for the current user. */
1173
- oauth_token?: string;
1618
+ oauth_token?:
1619
+ string;
1174
1620
  /** The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the parent will be returned. */
1175
- pageSize?: number;
1621
+ pageSize?:
1622
+ number;
1176
1623
  /**
1177
1624
  * A page token, received from a previous `ListTopics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTopics` must match
1178
1625
  * the call that provided the page token.
1179
1626
  */
1180
- pageToken?: string;
1627
+ pageToken?:
1628
+ string;
1181
1629
  /** Required. The parent whose topics are to be listed. Structured like `projects/{project_number}/locations/{location}`. */
1182
- parent: string;
1630
+ parent:
1631
+ string;
1183
1632
  /** Returns response with indentations and line breaks. */
1184
- prettyPrint?: boolean;
1633
+ prettyPrint?:
1634
+ boolean;
1185
1635
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1186
- quotaUser?: string;
1636
+ quotaUser?:
1637
+ string;
1187
1638
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1188
- upload_protocol?: string;
1639
+ upload_protocol?:
1640
+ string;
1189
1641
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1190
- uploadType?: string;
1642
+ uploadType?:
1643
+ string;
1191
1644
  }): Request<ListTopicsResponse>;
1192
1645
  /** Updates properties of the specified topic. */
1193
1646
  patch(request: {
1194
1647
  /** V1 error format. */
1195
- "$.xgafv"?: string;
1648
+ "$.xgafv"?:
1649
+ string;
1196
1650
  /** OAuth access token. */
1197
- access_token?: string;
1651
+ access_token?:
1652
+ string;
1198
1653
  /** Data format for response. */
1199
- alt?: string;
1654
+ alt?:
1655
+ string;
1200
1656
  /** JSONP */
1201
- callback?: string;
1657
+ callback?:
1658
+ string;
1202
1659
  /** Selector specifying which fields to include in a partial response. */
1203
- fields?: string;
1660
+ fields?:
1661
+ string;
1204
1662
  /** 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. */
1205
- key?: string;
1663
+ key?:
1664
+ string;
1206
1665
  /** The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} */
1207
- name: string;
1666
+ name:
1667
+ string;
1208
1668
  /** OAuth 2.0 token for the current user. */
1209
- oauth_token?: string;
1669
+ oauth_token?:
1670
+ string;
1210
1671
  /** Returns response with indentations and line breaks. */
1211
- prettyPrint?: boolean;
1672
+ prettyPrint?:
1673
+ boolean;
1212
1674
  /** 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. */
1213
- quotaUser?: string;
1675
+ quotaUser?:
1676
+ string;
1214
1677
  /** Required. A mask specifying the topic fields to change. */
1215
- updateMask?: string;
1678
+ updateMask?:
1679
+ string;
1216
1680
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1217
- upload_protocol?: string;
1681
+ upload_protocol?:
1682
+ string;
1218
1683
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1219
- uploadType?: string;
1684
+ uploadType?:
1685
+ string;
1220
1686
  /** Request body */
1221
- resource: Topic;
1687
+ resource:
1688
+ Topic;
1222
1689
  }): Request<Topic>;
1223
1690
  patch(request: {
1224
1691
  /** V1 error format. */
1225
- "$.xgafv"?: string;
1692
+ "$.xgafv"?:
1693
+ string;
1226
1694
  /** OAuth access token. */
1227
- access_token?: string;
1695
+ access_token?:
1696
+ string;
1228
1697
  /** Data format for response. */
1229
- alt?: string;
1698
+ alt?:
1699
+ string;
1230
1700
  /** JSONP */
1231
- callback?: string;
1701
+ callback?:
1702
+ string;
1232
1703
  /** Selector specifying which fields to include in a partial response. */
1233
- fields?: string;
1704
+ fields?:
1705
+ string;
1234
1706
  /** 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. */
1235
- key?: string;
1707
+ key?:
1708
+ string;
1236
1709
  /** The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} */
1237
- name: string;
1710
+ name:
1711
+ string;
1238
1712
  /** OAuth 2.0 token for the current user. */
1239
- oauth_token?: string;
1713
+ oauth_token?:
1714
+ string;
1240
1715
  /** Returns response with indentations and line breaks. */
1241
- prettyPrint?: boolean;
1716
+ prettyPrint?:
1717
+ boolean;
1242
1718
  /** 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. */
1243
- quotaUser?: string;
1719
+ quotaUser?:
1720
+ string;
1244
1721
  /** Required. A mask specifying the topic fields to change. */
1245
- updateMask?: string;
1722
+ updateMask?:
1723
+ string;
1246
1724
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1247
- upload_protocol?: string;
1725
+ upload_protocol?:
1726
+ string;
1248
1727
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1249
- uploadType?: string;
1728
+ uploadType?:
1729
+ string;
1250
1730
  },
1251
1731
  body: Topic): Request<Topic>;
1252
- subscriptions: SubscriptionsResource;
1732
+ subscriptions:
1733
+ SubscriptionsResource;
1253
1734
  }
1254
1735
  interface LocationsResource {
1255
- operations: OperationsResource;
1256
- reservations: ReservationsResource;
1257
- subscriptions: SubscriptionsResource;
1258
- topics: TopicsResource;
1736
+ operations:
1737
+ OperationsResource;
1738
+ reservations:
1739
+ ReservationsResource;
1740
+ subscriptions:
1741
+ SubscriptionsResource;
1742
+ topics:
1743
+ TopicsResource;
1259
1744
  }
1260
1745
  interface ProjectsResource {
1261
- locations: LocationsResource;
1746
+ locations:
1747
+ LocationsResource;
1262
1748
  }
1263
1749
  interface AdminResource {
1264
- projects: ProjectsResource;
1750
+ projects:
1751
+ ProjectsResource;
1265
1752
  }
1266
1753
  interface CursorsResource {
1267
1754
  /** Returns all committed cursor information for a subscription. */
1268
1755
  list(request?: {
1269
1756
  /** V1 error format. */
1270
- "$.xgafv"?: string;
1757
+ "$.xgafv"?:
1758
+ string;
1271
1759
  /** OAuth access token. */
1272
- access_token?: string;
1760
+ access_token?:
1761
+ string;
1273
1762
  /** Data format for response. */
1274
- alt?: string;
1763
+ alt?:
1764
+ string;
1275
1765
  /** JSONP */
1276
- callback?: string;
1766
+ callback?:
1767
+ string;
1277
1768
  /** Selector specifying which fields to include in a partial response. */
1278
- fields?: string;
1769
+ fields?:
1770
+ string;
1279
1771
  /** 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. */
1280
- key?: string;
1772
+ key?:
1773
+ string;
1281
1774
  /** OAuth 2.0 token for the current user. */
1282
- oauth_token?: string;
1775
+ oauth_token?:
1776
+ string;
1283
1777
  /** The maximum number of cursors to return. The service may return fewer than this value. If unset or zero, all cursors for the parent will be returned. */
1284
- pageSize?: number;
1778
+ pageSize?:
1779
+ number;
1285
1780
  /**
1286
1781
  * A page token, received from a previous `ListPartitionCursors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1287
1782
  * `ListPartitionCursors` must match the call that provided the page token.
1288
1783
  */
1289
- pageToken?: string;
1784
+ pageToken?:
1785
+ string;
1290
1786
  /** Required. The subscription for which to retrieve cursors. Structured like `projects/{project_number}/locations/{location}/subscriptions/{subscription_id}`. */
1291
- parent: string;
1787
+ parent:
1788
+ string;
1292
1789
  /** Returns response with indentations and line breaks. */
1293
- prettyPrint?: boolean;
1790
+ prettyPrint?:
1791
+ boolean;
1294
1792
  /** 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. */
1295
- quotaUser?: string;
1793
+ quotaUser?:
1794
+ string;
1296
1795
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1297
- upload_protocol?: string;
1796
+ upload_protocol?:
1797
+ string;
1298
1798
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1299
- uploadType?: string;
1799
+ uploadType?:
1800
+ string;
1300
1801
  }): Request<ListPartitionCursorsResponse>;
1301
1802
  }
1302
1803
  interface SubscriptionsResource {
1303
1804
  /** Updates the committed cursor. */
1304
1805
  commitCursor(request: {
1305
1806
  /** V1 error format. */
1306
- "$.xgafv"?: string;
1807
+ "$.xgafv"?:
1808
+ string;
1307
1809
  /** OAuth access token. */
1308
- access_token?: string;
1810
+ access_token?:
1811
+ string;
1309
1812
  /** Data format for response. */
1310
- alt?: string;
1813
+ alt?:
1814
+ string;
1311
1815
  /** JSONP */
1312
- callback?: string;
1816
+ callback?:
1817
+ string;
1313
1818
  /** Selector specifying which fields to include in a partial response. */
1314
- fields?: string;
1819
+ fields?:
1820
+ string;
1315
1821
  /** 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. */
1316
- key?: string;
1822
+ key?:
1823
+ string;
1317
1824
  /** OAuth 2.0 token for the current user. */
1318
- oauth_token?: string;
1825
+ oauth_token?:
1826
+ string;
1319
1827
  /** Returns response with indentations and line breaks. */
1320
- prettyPrint?: boolean;
1828
+ prettyPrint?:
1829
+ boolean;
1321
1830
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1322
- quotaUser?: string;
1831
+ quotaUser?:
1832
+ string;
1323
1833
  /** The subscription for which to update the cursor. */
1324
- subscription: string;
1834
+ subscription:
1835
+ string;
1325
1836
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1326
- upload_protocol?: string;
1837
+ upload_protocol?:
1838
+ string;
1327
1839
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1328
- uploadType?: string;
1840
+ uploadType?:
1841
+ string;
1329
1842
  /** Request body */
1330
- resource: CommitCursorRequest;
1843
+ resource:
1844
+ CommitCursorRequest;
1331
1845
  }): Request<{}>;
1332
1846
  commitCursor(request: {
1333
1847
  /** V1 error format. */
1334
- "$.xgafv"?: string;
1848
+ "$.xgafv"?:
1849
+ string;
1335
1850
  /** OAuth access token. */
1336
- access_token?: string;
1851
+ access_token?:
1852
+ string;
1337
1853
  /** Data format for response. */
1338
- alt?: string;
1854
+ alt?:
1855
+ string;
1339
1856
  /** JSONP */
1340
- callback?: string;
1857
+ callback?:
1858
+ string;
1341
1859
  /** Selector specifying which fields to include in a partial response. */
1342
- fields?: string;
1860
+ fields?:
1861
+ string;
1343
1862
  /** 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. */
1344
- key?: string;
1863
+ key?:
1864
+ string;
1345
1865
  /** OAuth 2.0 token for the current user. */
1346
- oauth_token?: string;
1866
+ oauth_token?:
1867
+ string;
1347
1868
  /** Returns response with indentations and line breaks. */
1348
- prettyPrint?: boolean;
1869
+ prettyPrint?:
1870
+ boolean;
1349
1871
  /** 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. */
1350
- quotaUser?: string;
1872
+ quotaUser?:
1873
+ string;
1351
1874
  /** The subscription for which to update the cursor. */
1352
- subscription: string;
1875
+ subscription:
1876
+ string;
1353
1877
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1354
- upload_protocol?: string;
1878
+ upload_protocol?:
1879
+ string;
1355
1880
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1356
- uploadType?: string;
1881
+ uploadType?:
1882
+ string;
1357
1883
  },
1358
1884
  body: CommitCursorRequest): Request<{}>;
1359
- cursors: CursorsResource;
1885
+ cursors:
1886
+ CursorsResource;
1360
1887
  }
1361
1888
  interface LocationsResource {
1362
- subscriptions: SubscriptionsResource;
1889
+ subscriptions:
1890
+ SubscriptionsResource;
1363
1891
  }
1364
1892
  interface ProjectsResource {
1365
- locations: LocationsResource;
1893
+ locations:
1894
+ LocationsResource;
1366
1895
  }
1367
1896
  interface CursorResource {
1368
- projects: ProjectsResource;
1897
+ projects:
1898
+ ProjectsResource;
1369
1899
  }
1370
1900
  interface TopicsResource {
1371
1901
  /**
@@ -1374,180 +1904,258 @@ declare namespace gapi.client {
1374
1904
  */
1375
1905
  computeHeadCursor(request: {
1376
1906
  /** V1 error format. */
1377
- "$.xgafv"?: string;
1907
+ "$.xgafv"?:
1908
+ string;
1378
1909
  /** OAuth access token. */
1379
- access_token?: string;
1910
+ access_token?:
1911
+ string;
1380
1912
  /** Data format for response. */
1381
- alt?: string;
1913
+ alt?:
1914
+ string;
1382
1915
  /** JSONP */
1383
- callback?: string;
1916
+ callback?:
1917
+ string;
1384
1918
  /** Selector specifying which fields to include in a partial response. */
1385
- fields?: string;
1919
+ fields?:
1920
+ string;
1386
1921
  /** 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. */
1387
- key?: string;
1922
+ key?:
1923
+ string;
1388
1924
  /** OAuth 2.0 token for the current user. */
1389
- oauth_token?: string;
1925
+ oauth_token?:
1926
+ string;
1390
1927
  /** Returns response with indentations and line breaks. */
1391
- prettyPrint?: boolean;
1928
+ prettyPrint?:
1929
+ boolean;
1392
1930
  /** 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. */
1393
- quotaUser?: string;
1931
+ quotaUser?:
1932
+ string;
1394
1933
  /** Required. The topic for which we should compute the head cursor. */
1395
- topic: string;
1934
+ topic:
1935
+ string;
1396
1936
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1397
- upload_protocol?: string;
1937
+ upload_protocol?:
1938
+ string;
1398
1939
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1399
- uploadType?: string;
1940
+ uploadType?:
1941
+ string;
1400
1942
  /** Request body */
1401
- resource: ComputeHeadCursorRequest;
1943
+ resource:
1944
+ ComputeHeadCursorRequest;
1402
1945
  }): Request<ComputeHeadCursorResponse>;
1403
1946
  computeHeadCursor(request: {
1404
1947
  /** V1 error format. */
1405
- "$.xgafv"?: string;
1948
+ "$.xgafv"?:
1949
+ string;
1406
1950
  /** OAuth access token. */
1407
- access_token?: string;
1951
+ access_token?:
1952
+ string;
1408
1953
  /** Data format for response. */
1409
- alt?: string;
1954
+ alt?:
1955
+ string;
1410
1956
  /** JSONP */
1411
- callback?: string;
1957
+ callback?:
1958
+ string;
1412
1959
  /** Selector specifying which fields to include in a partial response. */
1413
- fields?: string;
1960
+ fields?:
1961
+ string;
1414
1962
  /** 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. */
1415
- key?: string;
1963
+ key?:
1964
+ string;
1416
1965
  /** OAuth 2.0 token for the current user. */
1417
- oauth_token?: string;
1966
+ oauth_token?:
1967
+ string;
1418
1968
  /** Returns response with indentations and line breaks. */
1419
- prettyPrint?: boolean;
1969
+ prettyPrint?:
1970
+ boolean;
1420
1971
  /** 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. */
1421
- quotaUser?: string;
1972
+ quotaUser?:
1973
+ string;
1422
1974
  /** Required. The topic for which we should compute the head cursor. */
1423
- topic: string;
1975
+ topic:
1976
+ string;
1424
1977
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1425
- upload_protocol?: string;
1978
+ upload_protocol?:
1979
+ string;
1426
1980
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1427
- uploadType?: string;
1981
+ uploadType?:
1982
+ string;
1428
1983
  },
1429
1984
  body: ComputeHeadCursorRequest): Request<ComputeHeadCursorResponse>;
1430
1985
  /** Compute statistics about a range of messages in a given topic and partition. */
1431
1986
  computeMessageStats(request: {
1432
1987
  /** V1 error format. */
1433
- "$.xgafv"?: string;
1988
+ "$.xgafv"?:
1989
+ string;
1434
1990
  /** OAuth access token. */
1435
- access_token?: string;
1991
+ access_token?:
1992
+ string;
1436
1993
  /** Data format for response. */
1437
- alt?: string;
1994
+ alt?:
1995
+ string;
1438
1996
  /** JSONP */
1439
- callback?: string;
1997
+ callback?:
1998
+ string;
1440
1999
  /** Selector specifying which fields to include in a partial response. */
1441
- fields?: string;
2000
+ fields?:
2001
+ string;
1442
2002
  /** 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. */
1443
- key?: string;
2003
+ key?:
2004
+ string;
1444
2005
  /** OAuth 2.0 token for the current user. */
1445
- oauth_token?: string;
2006
+ oauth_token?:
2007
+ string;
1446
2008
  /** Returns response with indentations and line breaks. */
1447
- prettyPrint?: boolean;
2009
+ prettyPrint?:
2010
+ boolean;
1448
2011
  /** 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. */
1449
- quotaUser?: string;
2012
+ quotaUser?:
2013
+ string;
1450
2014
  /** Required. The topic for which we should compute message stats. */
1451
- topic: string;
2015
+ topic:
2016
+ string;
1452
2017
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1453
- upload_protocol?: string;
2018
+ upload_protocol?:
2019
+ string;
1454
2020
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1455
- uploadType?: string;
2021
+ uploadType?:
2022
+ string;
1456
2023
  /** Request body */
1457
- resource: ComputeMessageStatsRequest;
2024
+ resource:
2025
+ ComputeMessageStatsRequest;
1458
2026
  }): Request<ComputeMessageStatsResponse>;
1459
2027
  computeMessageStats(request: {
1460
2028
  /** V1 error format. */
1461
- "$.xgafv"?: string;
2029
+ "$.xgafv"?:
2030
+ string;
1462
2031
  /** OAuth access token. */
1463
- access_token?: string;
2032
+ access_token?:
2033
+ string;
1464
2034
  /** Data format for response. */
1465
- alt?: string;
2035
+ alt?:
2036
+ string;
1466
2037
  /** JSONP */
1467
- callback?: string;
2038
+ callback?:
2039
+ string;
1468
2040
  /** Selector specifying which fields to include in a partial response. */
1469
- fields?: string;
2041
+ fields?:
2042
+ string;
1470
2043
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1471
- key?: string;
2044
+ key?:
2045
+ string;
1472
2046
  /** OAuth 2.0 token for the current user. */
1473
- oauth_token?: string;
2047
+ oauth_token?:
2048
+ string;
1474
2049
  /** Returns response with indentations and line breaks. */
1475
- prettyPrint?: boolean;
2050
+ prettyPrint?:
2051
+ boolean;
1476
2052
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1477
- quotaUser?: string;
2053
+ quotaUser?:
2054
+ string;
1478
2055
  /** Required. The topic for which we should compute message stats. */
1479
- topic: string;
2056
+ topic:
2057
+ string;
1480
2058
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1481
- upload_protocol?: string;
2059
+ upload_protocol?:
2060
+ string;
1482
2061
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1483
- uploadType?: string;
2062
+ uploadType?:
2063
+ string;
1484
2064
  },
1485
2065
  body: ComputeMessageStatsRequest): Request<ComputeMessageStatsResponse>;
1486
2066
  /** Compute the corresponding cursor for a publish or event time in a topic partition. */
1487
2067
  computeTimeCursor(request: {
1488
2068
  /** V1 error format. */
1489
- "$.xgafv"?: string;
2069
+ "$.xgafv"?:
2070
+ string;
1490
2071
  /** OAuth access token. */
1491
- access_token?: string;
2072
+ access_token?:
2073
+ string;
1492
2074
  /** Data format for response. */
1493
- alt?: string;
2075
+ alt?:
2076
+ string;
1494
2077
  /** JSONP */
1495
- callback?: string;
2078
+ callback?:
2079
+ string;
1496
2080
  /** Selector specifying which fields to include in a partial response. */
1497
- fields?: string;
2081
+ fields?:
2082
+ string;
1498
2083
  /** 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. */
1499
- key?: string;
2084
+ key?:
2085
+ string;
1500
2086
  /** OAuth 2.0 token for the current user. */
1501
- oauth_token?: string;
2087
+ oauth_token?:
2088
+ string;
1502
2089
  /** Returns response with indentations and line breaks. */
1503
- prettyPrint?: boolean;
2090
+ prettyPrint?:
2091
+ boolean;
1504
2092
  /** 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. */
1505
- quotaUser?: string;
2093
+ quotaUser?:
2094
+ string;
1506
2095
  /** Required. The topic for which we should compute the cursor. */
1507
- topic: string;
2096
+ topic:
2097
+ string;
1508
2098
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1509
- upload_protocol?: string;
2099
+ upload_protocol?:
2100
+ string;
1510
2101
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1511
- uploadType?: string;
2102
+ uploadType?:
2103
+ string;
1512
2104
  /** Request body */
1513
- resource: ComputeTimeCursorRequest;
2105
+ resource:
2106
+ ComputeTimeCursorRequest;
1514
2107
  }): Request<ComputeTimeCursorResponse>;
1515
2108
  computeTimeCursor(request: {
1516
2109
  /** V1 error format. */
1517
- "$.xgafv"?: string;
2110
+ "$.xgafv"?:
2111
+ string;
1518
2112
  /** OAuth access token. */
1519
- access_token?: string;
2113
+ access_token?:
2114
+ string;
1520
2115
  /** Data format for response. */
1521
- alt?: string;
2116
+ alt?:
2117
+ string;
1522
2118
  /** JSONP */
1523
- callback?: string;
2119
+ callback?:
2120
+ string;
1524
2121
  /** Selector specifying which fields to include in a partial response. */
1525
- fields?: string;
2122
+ fields?:
2123
+ string;
1526
2124
  /** 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. */
1527
- key?: string;
2125
+ key?:
2126
+ string;
1528
2127
  /** OAuth 2.0 token for the current user. */
1529
- oauth_token?: string;
2128
+ oauth_token?:
2129
+ string;
1530
2130
  /** Returns response with indentations and line breaks. */
1531
- prettyPrint?: boolean;
2131
+ prettyPrint?:
2132
+ boolean;
1532
2133
  /** 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. */
1533
- quotaUser?: string;
2134
+ quotaUser?:
2135
+ string;
1534
2136
  /** Required. The topic for which we should compute the cursor. */
1535
- topic: string;
2137
+ topic:
2138
+ string;
1536
2139
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1537
- upload_protocol?: string;
2140
+ upload_protocol?:
2141
+ string;
1538
2142
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1539
- uploadType?: string;
2143
+ uploadType?:
2144
+ string;
1540
2145
  },
1541
2146
  body: ComputeTimeCursorRequest): Request<ComputeTimeCursorResponse>;
1542
2147
  }
1543
2148
  interface LocationsResource {
1544
- topics: TopicsResource;
2149
+ topics:
2150
+ TopicsResource;
1545
2151
  }
1546
2152
  interface ProjectsResource {
1547
- locations: LocationsResource;
2153
+ locations:
2154
+ LocationsResource;
1548
2155
  }
1549
2156
  interface TopicStatsResource {
1550
- projects: ProjectsResource;
2157
+ projects:
2158
+ ProjectsResource;
1551
2159
  }
1552
2160
 
1553
2161
  const admin: AdminResource;