@@ -71,7 +71,7 @@ def __init__(
71
71
* ,
72
72
retry : OptionalRetry = gapic_v1 .method .DEFAULT ,
73
73
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
74
- metadata : Sequence [Tuple [str , str ]] = ()
74
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
75
75
):
76
76
"""Instantiate the pager.
77
77
@@ -85,8 +85,10 @@ def __init__(
85
85
retry (google.api_core.retry.Retry): Designation of what errors,
86
86
if any, should be retried.
87
87
timeout (float): The timeout for this request.
88
- metadata (Sequence[Tuple[str, str]]): Strings which should be
89
- sent along with the request as metadata.
88
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
89
+ sent along with the request as metadata. Normally, each value must be of type `str`,
90
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
91
+ be of type `bytes`.
90
92
"""
91
93
self ._method = method
92
94
self ._request = dataset_service .ListDatasetsRequest (request )
@@ -145,7 +147,7 @@ def __init__(
145
147
* ,
146
148
retry : OptionalAsyncRetry = gapic_v1 .method .DEFAULT ,
147
149
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
148
- metadata : Sequence [Tuple [str , str ]] = ()
150
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
149
151
):
150
152
"""Instantiates the pager.
151
153
@@ -159,8 +161,10 @@ def __init__(
159
161
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
160
162
if any, should be retried.
161
163
timeout (float): The timeout for this request.
162
- metadata (Sequence[Tuple[str, str]]): Strings which should be
163
- sent along with the request as metadata.
164
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
165
+ sent along with the request as metadata. Normally, each value must be of type `str`,
166
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
167
+ be of type `bytes`.
164
168
"""
165
169
self ._method = method
166
170
self ._request = dataset_service .ListDatasetsRequest (request )
@@ -223,7 +227,7 @@ def __init__(
223
227
* ,
224
228
retry : OptionalRetry = gapic_v1 .method .DEFAULT ,
225
229
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
226
- metadata : Sequence [Tuple [str , str ]] = ()
230
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
227
231
):
228
232
"""Instantiate the pager.
229
233
@@ -237,8 +241,10 @@ def __init__(
237
241
retry (google.api_core.retry.Retry): Designation of what errors,
238
242
if any, should be retried.
239
243
timeout (float): The timeout for this request.
240
- metadata (Sequence[Tuple[str, str]]): Strings which should be
241
- sent along with the request as metadata.
244
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
245
+ sent along with the request as metadata. Normally, each value must be of type `str`,
246
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
247
+ be of type `bytes`.
242
248
"""
243
249
self ._method = method
244
250
self ._request = dataset_service .ListDatasetVersionsRequest (request )
@@ -297,7 +303,7 @@ def __init__(
297
303
* ,
298
304
retry : OptionalAsyncRetry = gapic_v1 .method .DEFAULT ,
299
305
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
300
- metadata : Sequence [Tuple [str , str ]] = ()
306
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
301
307
):
302
308
"""Instantiates the pager.
303
309
@@ -311,8 +317,10 @@ def __init__(
311
317
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
312
318
if any, should be retried.
313
319
timeout (float): The timeout for this request.
314
- metadata (Sequence[Tuple[str, str]]): Strings which should be
315
- sent along with the request as metadata.
320
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
321
+ sent along with the request as metadata. Normally, each value must be of type `str`,
322
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
323
+ be of type `bytes`.
316
324
"""
317
325
self ._method = method
318
326
self ._request = dataset_service .ListDatasetVersionsRequest (request )
@@ -375,7 +383,7 @@ def __init__(
375
383
* ,
376
384
retry : OptionalRetry = gapic_v1 .method .DEFAULT ,
377
385
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
378
- metadata : Sequence [Tuple [str , str ]] = ()
386
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
379
387
):
380
388
"""Instantiate the pager.
381
389
@@ -389,8 +397,10 @@ def __init__(
389
397
retry (google.api_core.retry.Retry): Designation of what errors,
390
398
if any, should be retried.
391
399
timeout (float): The timeout for this request.
392
- metadata (Sequence[Tuple[str, str]]): Strings which should be
393
- sent along with the request as metadata.
400
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
401
+ sent along with the request as metadata. Normally, each value must be of type `str`,
402
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
403
+ be of type `bytes`.
394
404
"""
395
405
self ._method = method
396
406
self ._request = dataset_service .ListDataItemsRequest (request )
@@ -449,7 +459,7 @@ def __init__(
449
459
* ,
450
460
retry : OptionalAsyncRetry = gapic_v1 .method .DEFAULT ,
451
461
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
452
- metadata : Sequence [Tuple [str , str ]] = ()
462
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
453
463
):
454
464
"""Instantiates the pager.
455
465
@@ -463,8 +473,10 @@ def __init__(
463
473
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
464
474
if any, should be retried.
465
475
timeout (float): The timeout for this request.
466
- metadata (Sequence[Tuple[str, str]]): Strings which should be
467
- sent along with the request as metadata.
476
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
477
+ sent along with the request as metadata. Normally, each value must be of type `str`,
478
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
479
+ be of type `bytes`.
468
480
"""
469
481
self ._method = method
470
482
self ._request = dataset_service .ListDataItemsRequest (request )
@@ -527,7 +539,7 @@ def __init__(
527
539
* ,
528
540
retry : OptionalRetry = gapic_v1 .method .DEFAULT ,
529
541
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
530
- metadata : Sequence [Tuple [str , str ]] = ()
542
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
531
543
):
532
544
"""Instantiate the pager.
533
545
@@ -541,8 +553,10 @@ def __init__(
541
553
retry (google.api_core.retry.Retry): Designation of what errors,
542
554
if any, should be retried.
543
555
timeout (float): The timeout for this request.
544
- metadata (Sequence[Tuple[str, str]]): Strings which should be
545
- sent along with the request as metadata.
556
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
557
+ sent along with the request as metadata. Normally, each value must be of type `str`,
558
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
559
+ be of type `bytes`.
546
560
"""
547
561
self ._method = method
548
562
self ._request = dataset_service .SearchDataItemsRequest (request )
@@ -601,7 +615,7 @@ def __init__(
601
615
* ,
602
616
retry : OptionalAsyncRetry = gapic_v1 .method .DEFAULT ,
603
617
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
604
- metadata : Sequence [Tuple [str , str ]] = ()
618
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
605
619
):
606
620
"""Instantiates the pager.
607
621
@@ -615,8 +629,10 @@ def __init__(
615
629
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
616
630
if any, should be retried.
617
631
timeout (float): The timeout for this request.
618
- metadata (Sequence[Tuple[str, str]]): Strings which should be
619
- sent along with the request as metadata.
632
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
633
+ sent along with the request as metadata. Normally, each value must be of type `str`,
634
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
635
+ be of type `bytes`.
620
636
"""
621
637
self ._method = method
622
638
self ._request = dataset_service .SearchDataItemsRequest (request )
@@ -679,7 +695,7 @@ def __init__(
679
695
* ,
680
696
retry : OptionalRetry = gapic_v1 .method .DEFAULT ,
681
697
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
682
- metadata : Sequence [Tuple [str , str ]] = ()
698
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
683
699
):
684
700
"""Instantiate the pager.
685
701
@@ -693,8 +709,10 @@ def __init__(
693
709
retry (google.api_core.retry.Retry): Designation of what errors,
694
710
if any, should be retried.
695
711
timeout (float): The timeout for this request.
696
- metadata (Sequence[Tuple[str, str]]): Strings which should be
697
- sent along with the request as metadata.
712
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
713
+ sent along with the request as metadata. Normally, each value must be of type `str`,
714
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
715
+ be of type `bytes`.
698
716
"""
699
717
self ._method = method
700
718
self ._request = dataset_service .ListSavedQueriesRequest (request )
@@ -753,7 +771,7 @@ def __init__(
753
771
* ,
754
772
retry : OptionalAsyncRetry = gapic_v1 .method .DEFAULT ,
755
773
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
756
- metadata : Sequence [Tuple [str , str ]] = ()
774
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
757
775
):
758
776
"""Instantiates the pager.
759
777
@@ -767,8 +785,10 @@ def __init__(
767
785
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
768
786
if any, should be retried.
769
787
timeout (float): The timeout for this request.
770
- metadata (Sequence[Tuple[str, str]]): Strings which should be
771
- sent along with the request as metadata.
788
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
789
+ sent along with the request as metadata. Normally, each value must be of type `str`,
790
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
791
+ be of type `bytes`.
772
792
"""
773
793
self ._method = method
774
794
self ._request = dataset_service .ListSavedQueriesRequest (request )
@@ -831,7 +851,7 @@ def __init__(
831
851
* ,
832
852
retry : OptionalRetry = gapic_v1 .method .DEFAULT ,
833
853
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
834
- metadata : Sequence [Tuple [str , str ]] = ()
854
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
835
855
):
836
856
"""Instantiate the pager.
837
857
@@ -845,8 +865,10 @@ def __init__(
845
865
retry (google.api_core.retry.Retry): Designation of what errors,
846
866
if any, should be retried.
847
867
timeout (float): The timeout for this request.
848
- metadata (Sequence[Tuple[str, str]]): Strings which should be
849
- sent along with the request as metadata.
868
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
869
+ sent along with the request as metadata. Normally, each value must be of type `str`,
870
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
871
+ be of type `bytes`.
850
872
"""
851
873
self ._method = method
852
874
self ._request = dataset_service .ListAnnotationsRequest (request )
@@ -905,7 +927,7 @@ def __init__(
905
927
* ,
906
928
retry : OptionalAsyncRetry = gapic_v1 .method .DEFAULT ,
907
929
timeout : Union [float , object ] = gapic_v1 .method .DEFAULT ,
908
- metadata : Sequence [Tuple [str , str ]] = ()
930
+ metadata : Sequence [Tuple [str , Union [ str , bytes ] ]] = ()
909
931
):
910
932
"""Instantiates the pager.
911
933
@@ -919,8 +941,10 @@ def __init__(
919
941
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
920
942
if any, should be retried.
921
943
timeout (float): The timeout for this request.
922
- metadata (Sequence[Tuple[str, str]]): Strings which should be
923
- sent along with the request as metadata.
944
+ metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
945
+ sent along with the request as metadata. Normally, each value must be of type `str`,
946
+ but for metadata keys ending with the suffix `-bin`, the corresponding values must
947
+ be of type `bytes`.
924
948
"""
925
949
self ._method = method
926
950
self ._request = dataset_service .ListAnnotationsRequest (request )
0 commit comments