@maxim_mazurok/gapi.client.pubsublite-v1 0.1.20260307 → 0.2.20260307
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +97 -84
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -80,16 +80,29 @@ declare namespace gapi.client {
|
|
|
80
80
|
}
|
|
81
81
|
interface DeliveryConfig {
|
|
82
82
|
/** The DeliveryRequirement for this subscription. */
|
|
83
|
-
deliveryRequirement?:
|
|
83
|
+
deliveryRequirement?:
|
|
84
|
+
| 'DELIVERY_REQUIREMENT_UNSPECIFIED'
|
|
85
|
+
| 'DELIVER_IMMEDIATELY'
|
|
86
|
+
| 'DELIVER_AFTER_STORED';
|
|
84
87
|
}
|
|
85
88
|
interface Empty {}
|
|
86
89
|
interface ExportConfig {
|
|
87
90
|
/** Output only. The current state of the export, which may be different to the desired state due to errors. This field is output only. */
|
|
88
|
-
currentState?:
|
|
91
|
+
currentState?:
|
|
92
|
+
| 'STATE_UNSPECIFIED'
|
|
93
|
+
| 'ACTIVE'
|
|
94
|
+
| 'PAUSED'
|
|
95
|
+
| 'PERMISSION_DENIED'
|
|
96
|
+
| 'NOT_FOUND';
|
|
89
97
|
/** 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 service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: 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. */
|
|
90
98
|
deadLetterTopic?: string;
|
|
91
99
|
/** The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error. */
|
|
92
|
-
desiredState?:
|
|
100
|
+
desiredState?:
|
|
101
|
+
| 'STATE_UNSPECIFIED'
|
|
102
|
+
| 'ACTIVE'
|
|
103
|
+
| 'PAUSED'
|
|
104
|
+
| 'PERMISSION_DENIED'
|
|
105
|
+
| 'NOT_FOUND';
|
|
93
106
|
/** Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic. */
|
|
94
107
|
pubsubConfig?: PubSubConfig;
|
|
95
108
|
}
|
|
@@ -195,7 +208,7 @@ declare namespace gapi.client {
|
|
|
195
208
|
}
|
|
196
209
|
interface SeekSubscriptionRequest {
|
|
197
210
|
/** Seek to a named position with respect to the message backlog. */
|
|
198
|
-
namedTarget?:
|
|
211
|
+
namedTarget?: 'NAMED_TARGET_UNSPECIFIED' | 'TAIL' | 'HEAD';
|
|
199
212
|
/** 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 backlog. */
|
|
200
213
|
timeTarget?: TimeTarget;
|
|
201
214
|
}
|
|
@@ -242,11 +255,11 @@ declare namespace gapi.client {
|
|
|
242
255
|
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
243
256
|
cancel(request: {
|
|
244
257
|
/** V1 error format. */
|
|
245
|
-
'$.xgafv'?:
|
|
258
|
+
'$.xgafv'?: '1' | '2';
|
|
246
259
|
/** OAuth access token. */
|
|
247
260
|
access_token?: string;
|
|
248
261
|
/** Data format for response. */
|
|
249
|
-
alt?:
|
|
262
|
+
alt?: 'json' | 'media' | 'proto';
|
|
250
263
|
/** JSONP */
|
|
251
264
|
callback?: string;
|
|
252
265
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -271,11 +284,11 @@ declare namespace gapi.client {
|
|
|
271
284
|
cancel(
|
|
272
285
|
request: {
|
|
273
286
|
/** V1 error format. */
|
|
274
|
-
'$.xgafv'?:
|
|
287
|
+
'$.xgafv'?: '1' | '2';
|
|
275
288
|
/** OAuth access token. */
|
|
276
289
|
access_token?: string;
|
|
277
290
|
/** Data format for response. */
|
|
278
|
-
alt?:
|
|
291
|
+
alt?: 'json' | 'media' | 'proto';
|
|
279
292
|
/** JSONP */
|
|
280
293
|
callback?: string;
|
|
281
294
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -300,11 +313,11 @@ declare namespace gapi.client {
|
|
|
300
313
|
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
301
314
|
delete(request?: {
|
|
302
315
|
/** V1 error format. */
|
|
303
|
-
'$.xgafv'?:
|
|
316
|
+
'$.xgafv'?: '1' | '2';
|
|
304
317
|
/** OAuth access token. */
|
|
305
318
|
access_token?: string;
|
|
306
319
|
/** Data format for response. */
|
|
307
|
-
alt?:
|
|
320
|
+
alt?: 'json' | 'media' | 'proto';
|
|
308
321
|
/** JSONP */
|
|
309
322
|
callback?: string;
|
|
310
323
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -327,11 +340,11 @@ declare namespace gapi.client {
|
|
|
327
340
|
/** 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. */
|
|
328
341
|
get(request?: {
|
|
329
342
|
/** V1 error format. */
|
|
330
|
-
'$.xgafv'?:
|
|
343
|
+
'$.xgafv'?: '1' | '2';
|
|
331
344
|
/** OAuth access token. */
|
|
332
345
|
access_token?: string;
|
|
333
346
|
/** Data format for response. */
|
|
334
|
-
alt?:
|
|
347
|
+
alt?: 'json' | 'media' | 'proto';
|
|
335
348
|
/** JSONP */
|
|
336
349
|
callback?: string;
|
|
337
350
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -354,11 +367,11 @@ declare namespace gapi.client {
|
|
|
354
367
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
355
368
|
list(request?: {
|
|
356
369
|
/** V1 error format. */
|
|
357
|
-
'$.xgafv'?:
|
|
370
|
+
'$.xgafv'?: '1' | '2';
|
|
358
371
|
/** OAuth access token. */
|
|
359
372
|
access_token?: string;
|
|
360
373
|
/** Data format for response. */
|
|
361
|
-
alt?:
|
|
374
|
+
alt?: 'json' | 'media' | 'proto';
|
|
362
375
|
/** JSONP */
|
|
363
376
|
callback?: string;
|
|
364
377
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -391,11 +404,11 @@ declare namespace gapi.client {
|
|
|
391
404
|
/** Lists the topics attached to the specified reservation. */
|
|
392
405
|
list(request?: {
|
|
393
406
|
/** V1 error format. */
|
|
394
|
-
'$.xgafv'?:
|
|
407
|
+
'$.xgafv'?: '1' | '2';
|
|
395
408
|
/** OAuth access token. */
|
|
396
409
|
access_token?: string;
|
|
397
410
|
/** Data format for response. */
|
|
398
|
-
alt?:
|
|
411
|
+
alt?: 'json' | 'media' | 'proto';
|
|
399
412
|
/** JSONP */
|
|
400
413
|
callback?: string;
|
|
401
414
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -424,11 +437,11 @@ declare namespace gapi.client {
|
|
|
424
437
|
/** Creates a new reservation. */
|
|
425
438
|
create(request: {
|
|
426
439
|
/** V1 error format. */
|
|
427
|
-
'$.xgafv'?:
|
|
440
|
+
'$.xgafv'?: '1' | '2';
|
|
428
441
|
/** OAuth access token. */
|
|
429
442
|
access_token?: string;
|
|
430
443
|
/** Data format for response. */
|
|
431
|
-
alt?:
|
|
444
|
+
alt?: 'json' | 'media' | 'proto';
|
|
432
445
|
/** JSONP */
|
|
433
446
|
callback?: string;
|
|
434
447
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -455,11 +468,11 @@ declare namespace gapi.client {
|
|
|
455
468
|
create(
|
|
456
469
|
request: {
|
|
457
470
|
/** V1 error format. */
|
|
458
|
-
'$.xgafv'?:
|
|
471
|
+
'$.xgafv'?: '1' | '2';
|
|
459
472
|
/** OAuth access token. */
|
|
460
473
|
access_token?: string;
|
|
461
474
|
/** Data format for response. */
|
|
462
|
-
alt?:
|
|
475
|
+
alt?: 'json' | 'media' | 'proto';
|
|
463
476
|
/** JSONP */
|
|
464
477
|
callback?: string;
|
|
465
478
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -486,11 +499,11 @@ declare namespace gapi.client {
|
|
|
486
499
|
/** Deletes the specified reservation. */
|
|
487
500
|
delete(request?: {
|
|
488
501
|
/** V1 error format. */
|
|
489
|
-
'$.xgafv'?:
|
|
502
|
+
'$.xgafv'?: '1' | '2';
|
|
490
503
|
/** OAuth access token. */
|
|
491
504
|
access_token?: string;
|
|
492
505
|
/** Data format for response. */
|
|
493
|
-
alt?:
|
|
506
|
+
alt?: 'json' | 'media' | 'proto';
|
|
494
507
|
/** JSONP */
|
|
495
508
|
callback?: string;
|
|
496
509
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -513,11 +526,11 @@ declare namespace gapi.client {
|
|
|
513
526
|
/** Returns the reservation configuration. */
|
|
514
527
|
get(request?: {
|
|
515
528
|
/** V1 error format. */
|
|
516
|
-
'$.xgafv'?:
|
|
529
|
+
'$.xgafv'?: '1' | '2';
|
|
517
530
|
/** OAuth access token. */
|
|
518
531
|
access_token?: string;
|
|
519
532
|
/** Data format for response. */
|
|
520
|
-
alt?:
|
|
533
|
+
alt?: 'json' | 'media' | 'proto';
|
|
521
534
|
/** JSONP */
|
|
522
535
|
callback?: string;
|
|
523
536
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -540,11 +553,11 @@ declare namespace gapi.client {
|
|
|
540
553
|
/** Returns the list of reservations for the given project. */
|
|
541
554
|
list(request?: {
|
|
542
555
|
/** V1 error format. */
|
|
543
|
-
'$.xgafv'?:
|
|
556
|
+
'$.xgafv'?: '1' | '2';
|
|
544
557
|
/** OAuth access token. */
|
|
545
558
|
access_token?: string;
|
|
546
559
|
/** Data format for response. */
|
|
547
|
-
alt?:
|
|
560
|
+
alt?: 'json' | 'media' | 'proto';
|
|
548
561
|
/** JSONP */
|
|
549
562
|
callback?: string;
|
|
550
563
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -571,11 +584,11 @@ declare namespace gapi.client {
|
|
|
571
584
|
/** Updates properties of the specified reservation. */
|
|
572
585
|
patch(request: {
|
|
573
586
|
/** V1 error format. */
|
|
574
|
-
'$.xgafv'?:
|
|
587
|
+
'$.xgafv'?: '1' | '2';
|
|
575
588
|
/** OAuth access token. */
|
|
576
589
|
access_token?: string;
|
|
577
590
|
/** Data format for response. */
|
|
578
|
-
alt?:
|
|
591
|
+
alt?: 'json' | 'media' | 'proto';
|
|
579
592
|
/** JSONP */
|
|
580
593
|
callback?: string;
|
|
581
594
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -602,11 +615,11 @@ declare namespace gapi.client {
|
|
|
602
615
|
patch(
|
|
603
616
|
request: {
|
|
604
617
|
/** V1 error format. */
|
|
605
|
-
'$.xgafv'?:
|
|
618
|
+
'$.xgafv'?: '1' | '2';
|
|
606
619
|
/** OAuth access token. */
|
|
607
620
|
access_token?: string;
|
|
608
621
|
/** Data format for response. */
|
|
609
|
-
alt?:
|
|
622
|
+
alt?: 'json' | 'media' | 'proto';
|
|
610
623
|
/** JSONP */
|
|
611
624
|
callback?: string;
|
|
612
625
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -636,11 +649,11 @@ declare namespace gapi.client {
|
|
|
636
649
|
/** Creates a new subscription. */
|
|
637
650
|
create(request: {
|
|
638
651
|
/** V1 error format. */
|
|
639
|
-
'$.xgafv'?:
|
|
652
|
+
'$.xgafv'?: '1' | '2';
|
|
640
653
|
/** OAuth access token. */
|
|
641
654
|
access_token?: string;
|
|
642
655
|
/** Data format for response. */
|
|
643
|
-
alt?:
|
|
656
|
+
alt?: 'json' | 'media' | 'proto';
|
|
644
657
|
/** JSONP */
|
|
645
658
|
callback?: string;
|
|
646
659
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -669,11 +682,11 @@ declare namespace gapi.client {
|
|
|
669
682
|
create(
|
|
670
683
|
request: {
|
|
671
684
|
/** V1 error format. */
|
|
672
|
-
'$.xgafv'?:
|
|
685
|
+
'$.xgafv'?: '1' | '2';
|
|
673
686
|
/** OAuth access token. */
|
|
674
687
|
access_token?: string;
|
|
675
688
|
/** Data format for response. */
|
|
676
|
-
alt?:
|
|
689
|
+
alt?: 'json' | 'media' | 'proto';
|
|
677
690
|
/** JSONP */
|
|
678
691
|
callback?: string;
|
|
679
692
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -702,11 +715,11 @@ declare namespace gapi.client {
|
|
|
702
715
|
/** Deletes the specified subscription. */
|
|
703
716
|
delete(request?: {
|
|
704
717
|
/** V1 error format. */
|
|
705
|
-
'$.xgafv'?:
|
|
718
|
+
'$.xgafv'?: '1' | '2';
|
|
706
719
|
/** OAuth access token. */
|
|
707
720
|
access_token?: string;
|
|
708
721
|
/** Data format for response. */
|
|
709
|
-
alt?:
|
|
722
|
+
alt?: 'json' | 'media' | 'proto';
|
|
710
723
|
/** JSONP */
|
|
711
724
|
callback?: string;
|
|
712
725
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -729,11 +742,11 @@ declare namespace gapi.client {
|
|
|
729
742
|
/** Returns the subscription configuration. */
|
|
730
743
|
get(request?: {
|
|
731
744
|
/** V1 error format. */
|
|
732
|
-
'$.xgafv'?:
|
|
745
|
+
'$.xgafv'?: '1' | '2';
|
|
733
746
|
/** OAuth access token. */
|
|
734
747
|
access_token?: string;
|
|
735
748
|
/** Data format for response. */
|
|
736
|
-
alt?:
|
|
749
|
+
alt?: 'json' | 'media' | 'proto';
|
|
737
750
|
/** JSONP */
|
|
738
751
|
callback?: string;
|
|
739
752
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -756,11 +769,11 @@ declare namespace gapi.client {
|
|
|
756
769
|
/** Returns the list of subscriptions for the given project. */
|
|
757
770
|
list(request?: {
|
|
758
771
|
/** V1 error format. */
|
|
759
|
-
'$.xgafv'?:
|
|
772
|
+
'$.xgafv'?: '1' | '2';
|
|
760
773
|
/** OAuth access token. */
|
|
761
774
|
access_token?: string;
|
|
762
775
|
/** Data format for response. */
|
|
763
|
-
alt?:
|
|
776
|
+
alt?: 'json' | 'media' | 'proto';
|
|
764
777
|
/** JSONP */
|
|
765
778
|
callback?: string;
|
|
766
779
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -787,11 +800,11 @@ declare namespace gapi.client {
|
|
|
787
800
|
/** Updates properties of the specified subscription. */
|
|
788
801
|
patch(request: {
|
|
789
802
|
/** V1 error format. */
|
|
790
|
-
'$.xgafv'?:
|
|
803
|
+
'$.xgafv'?: '1' | '2';
|
|
791
804
|
/** OAuth access token. */
|
|
792
805
|
access_token?: string;
|
|
793
806
|
/** Data format for response. */
|
|
794
|
-
alt?:
|
|
807
|
+
alt?: 'json' | 'media' | 'proto';
|
|
795
808
|
/** JSONP */
|
|
796
809
|
callback?: string;
|
|
797
810
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -818,11 +831,11 @@ declare namespace gapi.client {
|
|
|
818
831
|
patch(
|
|
819
832
|
request: {
|
|
820
833
|
/** V1 error format. */
|
|
821
|
-
'$.xgafv'?:
|
|
834
|
+
'$.xgafv'?: '1' | '2';
|
|
822
835
|
/** OAuth access token. */
|
|
823
836
|
access_token?: string;
|
|
824
837
|
/** Data format for response. */
|
|
825
|
-
alt?:
|
|
838
|
+
alt?: 'json' | 'media' | 'proto';
|
|
826
839
|
/** JSONP */
|
|
827
840
|
callback?: string;
|
|
828
841
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -849,11 +862,11 @@ declare namespace gapi.client {
|
|
|
849
862
|
/** Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog. Seek translates these targets to cursors for each partition and orchestrates subscribers to start consuming messages from these seek cursors. If an operation is returned, the seek has been registered and subscribers will eventually receive messages from the seek cursors (i.e. eventual consistency), as long as they are using a minimum supported client library version and not a system that tracks cursors independently of Pub/Sub Lite (e.g. Apache Beam, Dataflow, Spark). The seek operation will fail for unsupported clients. If clients would like to know when subscribers react to the seek (or not), they can poll the operation. The seek operation will succeed and complete once subscribers are ready to receive messages from the seek cursors for all partitions of the topic. This means that the seek operation will not complete until all subscribers come online. If the previous seek operation has not yet completed, it will be aborted and the new invocation of seek will supersede it. */
|
|
850
863
|
seek(request: {
|
|
851
864
|
/** V1 error format. */
|
|
852
|
-
'$.xgafv'?:
|
|
865
|
+
'$.xgafv'?: '1' | '2';
|
|
853
866
|
/** OAuth access token. */
|
|
854
867
|
access_token?: string;
|
|
855
868
|
/** Data format for response. */
|
|
856
|
-
alt?:
|
|
869
|
+
alt?: 'json' | 'media' | 'proto';
|
|
857
870
|
/** JSONP */
|
|
858
871
|
callback?: string;
|
|
859
872
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -878,11 +891,11 @@ declare namespace gapi.client {
|
|
|
878
891
|
seek(
|
|
879
892
|
request: {
|
|
880
893
|
/** V1 error format. */
|
|
881
|
-
'$.xgafv'?:
|
|
894
|
+
'$.xgafv'?: '1' | '2';
|
|
882
895
|
/** OAuth access token. */
|
|
883
896
|
access_token?: string;
|
|
884
897
|
/** Data format for response. */
|
|
885
|
-
alt?:
|
|
898
|
+
alt?: 'json' | 'media' | 'proto';
|
|
886
899
|
/** JSONP */
|
|
887
900
|
callback?: string;
|
|
888
901
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -909,11 +922,11 @@ declare namespace gapi.client {
|
|
|
909
922
|
/** Lists the subscriptions attached to the specified topic. */
|
|
910
923
|
list(request?: {
|
|
911
924
|
/** V1 error format. */
|
|
912
|
-
'$.xgafv'?:
|
|
925
|
+
'$.xgafv'?: '1' | '2';
|
|
913
926
|
/** OAuth access token. */
|
|
914
927
|
access_token?: string;
|
|
915
928
|
/** Data format for response. */
|
|
916
|
-
alt?:
|
|
929
|
+
alt?: 'json' | 'media' | 'proto';
|
|
917
930
|
/** JSONP */
|
|
918
931
|
callback?: string;
|
|
919
932
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -942,11 +955,11 @@ declare namespace gapi.client {
|
|
|
942
955
|
/** Creates a new topic. */
|
|
943
956
|
create(request: {
|
|
944
957
|
/** V1 error format. */
|
|
945
|
-
'$.xgafv'?:
|
|
958
|
+
'$.xgafv'?: '1' | '2';
|
|
946
959
|
/** OAuth access token. */
|
|
947
960
|
access_token?: string;
|
|
948
961
|
/** Data format for response. */
|
|
949
|
-
alt?:
|
|
962
|
+
alt?: 'json' | 'media' | 'proto';
|
|
950
963
|
/** JSONP */
|
|
951
964
|
callback?: string;
|
|
952
965
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -973,11 +986,11 @@ declare namespace gapi.client {
|
|
|
973
986
|
create(
|
|
974
987
|
request: {
|
|
975
988
|
/** V1 error format. */
|
|
976
|
-
'$.xgafv'?:
|
|
989
|
+
'$.xgafv'?: '1' | '2';
|
|
977
990
|
/** OAuth access token. */
|
|
978
991
|
access_token?: string;
|
|
979
992
|
/** Data format for response. */
|
|
980
|
-
alt?:
|
|
993
|
+
alt?: 'json' | 'media' | 'proto';
|
|
981
994
|
/** JSONP */
|
|
982
995
|
callback?: string;
|
|
983
996
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1004,11 +1017,11 @@ declare namespace gapi.client {
|
|
|
1004
1017
|
/** Deletes the specified topic. */
|
|
1005
1018
|
delete(request?: {
|
|
1006
1019
|
/** V1 error format. */
|
|
1007
|
-
'$.xgafv'?:
|
|
1020
|
+
'$.xgafv'?: '1' | '2';
|
|
1008
1021
|
/** OAuth access token. */
|
|
1009
1022
|
access_token?: string;
|
|
1010
1023
|
/** Data format for response. */
|
|
1011
|
-
alt?:
|
|
1024
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1012
1025
|
/** JSONP */
|
|
1013
1026
|
callback?: string;
|
|
1014
1027
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1031,11 +1044,11 @@ declare namespace gapi.client {
|
|
|
1031
1044
|
/** Returns the topic configuration. */
|
|
1032
1045
|
get(request?: {
|
|
1033
1046
|
/** V1 error format. */
|
|
1034
|
-
'$.xgafv'?:
|
|
1047
|
+
'$.xgafv'?: '1' | '2';
|
|
1035
1048
|
/** OAuth access token. */
|
|
1036
1049
|
access_token?: string;
|
|
1037
1050
|
/** Data format for response. */
|
|
1038
|
-
alt?:
|
|
1051
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1039
1052
|
/** JSONP */
|
|
1040
1053
|
callback?: string;
|
|
1041
1054
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1058,11 +1071,11 @@ declare namespace gapi.client {
|
|
|
1058
1071
|
/** Returns the partition information for the requested topic. */
|
|
1059
1072
|
getPartitions(request?: {
|
|
1060
1073
|
/** V1 error format. */
|
|
1061
|
-
'$.xgafv'?:
|
|
1074
|
+
'$.xgafv'?: '1' | '2';
|
|
1062
1075
|
/** OAuth access token. */
|
|
1063
1076
|
access_token?: string;
|
|
1064
1077
|
/** Data format for response. */
|
|
1065
|
-
alt?:
|
|
1078
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1066
1079
|
/** JSONP */
|
|
1067
1080
|
callback?: string;
|
|
1068
1081
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1085,11 +1098,11 @@ declare namespace gapi.client {
|
|
|
1085
1098
|
/** Returns the list of topics for the given project. */
|
|
1086
1099
|
list(request?: {
|
|
1087
1100
|
/** V1 error format. */
|
|
1088
|
-
'$.xgafv'?:
|
|
1101
|
+
'$.xgafv'?: '1' | '2';
|
|
1089
1102
|
/** OAuth access token. */
|
|
1090
1103
|
access_token?: string;
|
|
1091
1104
|
/** Data format for response. */
|
|
1092
|
-
alt?:
|
|
1105
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1093
1106
|
/** JSONP */
|
|
1094
1107
|
callback?: string;
|
|
1095
1108
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1116,11 +1129,11 @@ declare namespace gapi.client {
|
|
|
1116
1129
|
/** Updates properties of the specified topic. */
|
|
1117
1130
|
patch(request: {
|
|
1118
1131
|
/** V1 error format. */
|
|
1119
|
-
'$.xgafv'?:
|
|
1132
|
+
'$.xgafv'?: '1' | '2';
|
|
1120
1133
|
/** OAuth access token. */
|
|
1121
1134
|
access_token?: string;
|
|
1122
1135
|
/** Data format for response. */
|
|
1123
|
-
alt?:
|
|
1136
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1124
1137
|
/** JSONP */
|
|
1125
1138
|
callback?: string;
|
|
1126
1139
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1147,11 +1160,11 @@ declare namespace gapi.client {
|
|
|
1147
1160
|
patch(
|
|
1148
1161
|
request: {
|
|
1149
1162
|
/** V1 error format. */
|
|
1150
|
-
'$.xgafv'?:
|
|
1163
|
+
'$.xgafv'?: '1' | '2';
|
|
1151
1164
|
/** OAuth access token. */
|
|
1152
1165
|
access_token?: string;
|
|
1153
1166
|
/** Data format for response. */
|
|
1154
|
-
alt?:
|
|
1167
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1155
1168
|
/** JSONP */
|
|
1156
1169
|
callback?: string;
|
|
1157
1170
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1193,11 +1206,11 @@ declare namespace gapi.client {
|
|
|
1193
1206
|
/** Returns all committed cursor information for a subscription. */
|
|
1194
1207
|
list(request?: {
|
|
1195
1208
|
/** V1 error format. */
|
|
1196
|
-
'$.xgafv'?:
|
|
1209
|
+
'$.xgafv'?: '1' | '2';
|
|
1197
1210
|
/** OAuth access token. */
|
|
1198
1211
|
access_token?: string;
|
|
1199
1212
|
/** Data format for response. */
|
|
1200
|
-
alt?:
|
|
1213
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1201
1214
|
/** JSONP */
|
|
1202
1215
|
callback?: string;
|
|
1203
1216
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1226,11 +1239,11 @@ declare namespace gapi.client {
|
|
|
1226
1239
|
/** Updates the committed cursor. */
|
|
1227
1240
|
commitCursor(request: {
|
|
1228
1241
|
/** V1 error format. */
|
|
1229
|
-
'$.xgafv'?:
|
|
1242
|
+
'$.xgafv'?: '1' | '2';
|
|
1230
1243
|
/** OAuth access token. */
|
|
1231
1244
|
access_token?: string;
|
|
1232
1245
|
/** Data format for response. */
|
|
1233
|
-
alt?:
|
|
1246
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1234
1247
|
/** JSONP */
|
|
1235
1248
|
callback?: string;
|
|
1236
1249
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1255,11 +1268,11 @@ declare namespace gapi.client {
|
|
|
1255
1268
|
commitCursor(
|
|
1256
1269
|
request: {
|
|
1257
1270
|
/** V1 error format. */
|
|
1258
|
-
'$.xgafv'?:
|
|
1271
|
+
'$.xgafv'?: '1' | '2';
|
|
1259
1272
|
/** OAuth access token. */
|
|
1260
1273
|
access_token?: string;
|
|
1261
1274
|
/** Data format for response. */
|
|
1262
|
-
alt?:
|
|
1275
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1263
1276
|
/** JSONP */
|
|
1264
1277
|
callback?: string;
|
|
1265
1278
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1296,11 +1309,11 @@ declare namespace gapi.client {
|
|
|
1296
1309
|
/** Compute the head cursor for the partition. The head cursor's offset is guaranteed to be less than or equal to all messages which have not yet been acknowledged as published, and greater than the offset of any message whose publish has already been acknowledged. It is zero if there have never been messages in the partition. */
|
|
1297
1310
|
computeHeadCursor(request: {
|
|
1298
1311
|
/** V1 error format. */
|
|
1299
|
-
'$.xgafv'?:
|
|
1312
|
+
'$.xgafv'?: '1' | '2';
|
|
1300
1313
|
/** OAuth access token. */
|
|
1301
1314
|
access_token?: string;
|
|
1302
1315
|
/** Data format for response. */
|
|
1303
|
-
alt?:
|
|
1316
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1304
1317
|
/** JSONP */
|
|
1305
1318
|
callback?: string;
|
|
1306
1319
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1325,11 +1338,11 @@ declare namespace gapi.client {
|
|
|
1325
1338
|
computeHeadCursor(
|
|
1326
1339
|
request: {
|
|
1327
1340
|
/** V1 error format. */
|
|
1328
|
-
'$.xgafv'?:
|
|
1341
|
+
'$.xgafv'?: '1' | '2';
|
|
1329
1342
|
/** OAuth access token. */
|
|
1330
1343
|
access_token?: string;
|
|
1331
1344
|
/** Data format for response. */
|
|
1332
|
-
alt?:
|
|
1345
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1333
1346
|
/** JSONP */
|
|
1334
1347
|
callback?: string;
|
|
1335
1348
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1354,11 +1367,11 @@ declare namespace gapi.client {
|
|
|
1354
1367
|
/** Compute statistics about a range of messages in a given topic and partition. */
|
|
1355
1368
|
computeMessageStats(request: {
|
|
1356
1369
|
/** V1 error format. */
|
|
1357
|
-
'$.xgafv'?:
|
|
1370
|
+
'$.xgafv'?: '1' | '2';
|
|
1358
1371
|
/** OAuth access token. */
|
|
1359
1372
|
access_token?: string;
|
|
1360
1373
|
/** Data format for response. */
|
|
1361
|
-
alt?:
|
|
1374
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1362
1375
|
/** JSONP */
|
|
1363
1376
|
callback?: string;
|
|
1364
1377
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1383,11 +1396,11 @@ declare namespace gapi.client {
|
|
|
1383
1396
|
computeMessageStats(
|
|
1384
1397
|
request: {
|
|
1385
1398
|
/** V1 error format. */
|
|
1386
|
-
'$.xgafv'?:
|
|
1399
|
+
'$.xgafv'?: '1' | '2';
|
|
1387
1400
|
/** OAuth access token. */
|
|
1388
1401
|
access_token?: string;
|
|
1389
1402
|
/** Data format for response. */
|
|
1390
|
-
alt?:
|
|
1403
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1391
1404
|
/** JSONP */
|
|
1392
1405
|
callback?: string;
|
|
1393
1406
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1412,11 +1425,11 @@ declare namespace gapi.client {
|
|
|
1412
1425
|
/** Compute the corresponding cursor for a publish or event time in a topic partition. */
|
|
1413
1426
|
computeTimeCursor(request: {
|
|
1414
1427
|
/** V1 error format. */
|
|
1415
|
-
'$.xgafv'?:
|
|
1428
|
+
'$.xgafv'?: '1' | '2';
|
|
1416
1429
|
/** OAuth access token. */
|
|
1417
1430
|
access_token?: string;
|
|
1418
1431
|
/** Data format for response. */
|
|
1419
|
-
alt?:
|
|
1432
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1420
1433
|
/** JSONP */
|
|
1421
1434
|
callback?: string;
|
|
1422
1435
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1441,11 +1454,11 @@ declare namespace gapi.client {
|
|
|
1441
1454
|
computeTimeCursor(
|
|
1442
1455
|
request: {
|
|
1443
1456
|
/** V1 error format. */
|
|
1444
|
-
'$.xgafv'?:
|
|
1457
|
+
'$.xgafv'?: '1' | '2';
|
|
1445
1458
|
/** OAuth access token. */
|
|
1446
1459
|
access_token?: string;
|
|
1447
1460
|
/** Data format for response. */
|
|
1448
|
-
alt?:
|
|
1461
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1449
1462
|
/** JSONP */
|
|
1450
1463
|
callback?: string;
|
|
1451
1464
|
/** Selector specifying which fields to include in a partial response. */
|