Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite31cbb0

Browse files
feat: [Many APIs] Add support for opt-in debug logging (#13342)
BEGIN_COMMIT_OVERRIDEfeat: Add support for opt-in debug loggingfix: Fix typing issue with gRPC metadata when key ends in -binchore: Update gapic-generator-python to v1.21.0END_COMMIT_OVERRIDE- [ ] Regenerate this pull request now.fix: Fix typing issue with gRPC metadata when key ends in -binchore: Update gapic-generator-python to v1.21.0PiperOrigin-RevId: 705285820Source-Link:googleapis/googleapis@f9b8b91Source-Link:googleapis/googleapis-gen@ca1e0a1Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhY2t1cGRyLy5Pd2xCb3QueWFtbCIsImgiOiJjYTFlMGExZTQ3MmQ2ZTZmNWRlODgzYTVjYjU0NzI0ZjExMmNlMzQ4In0=Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhcmUtbWV0YWwtc29sdXRpb24vLk93bEJvdC55YW1sIiwiaCI6ImNhMWUwYTFlNDcyZDZlNmY1ZGU4ODNhNWNiNTQ3MjRmMTEyY2UzNDgifQ==Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJleW9uZGNvcnAtYXBwY29ubmVjdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImNhMWUwYTFlNDcyZDZlNmY1ZGU4ODNhNWNiNTQ3MjRmMTEyY2UzNDgifQ==Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJleW9uZGNvcnAtYXBwY29ubmVjdG9ycy8uT3dsQm90LnlhbWwiLCJoIjoiY2ExZTBhMWU0NzJkNmU2ZjVkZTg4M2E1Y2I1NDcyNGYxMTJjZTM0OCJ9Copy-Tag:eyJwIjoicGFja2Fn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vZ2xlLWNsb3VkLWJpbmFyeS1hdXRob3JpemF0aW9uLy5Pd2xCb3QueWFtbCIsImgiOiJjYTFlMGExZTQ3MmQ2ZTZmNWRlODgzYTVjYjU0NzI0ZjExMmNlMzQ4In0=Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJ1aWxkLy5Pd2xCb3QueWFtbCIsImgiOiJjYTFlMGExZTQ3MmQ2ZTZmNWRlODgzYTVjYjU0NzI0ZjExMmNlMzQ4In0=Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNlcnRpZmljYXRlLW1hbmFnZXIvLk93bEJvdC55YW1sIiwiaCI6ImNhMWUwYTFlNDcyZDZlNmY1ZGU4ODNhNWNiNTQ3MjRmMTEyY2UzNDgifQ==---------Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: ohmayr <omairnaveed@ymail.com>
1 parentb1dfc55 commite31cbb0

File tree

267 files changed

+35899
-6452
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+35899
-6452
lines changed

‎packages/google-cloud-backupdr/google/cloud/backupdr/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__="0.1.6"# {x-release-please-version}
16+
__version__="0.0.0"# {x-release-please-version}

‎packages/google-cloud-backupdr/google/cloud/backupdr_v1/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__="0.1.6"# {x-release-please-version}
16+
__version__="0.0.0"# {x-release-please-version}

‎packages/google-cloud-backupdr/google/cloud/backupdr_v1/services/backup_dr/async_client.py‎

Lines changed: 212 additions & 108 deletions
Large diffs are not rendered by default.

‎packages/google-cloud-backupdr/google/cloud/backupdr_v1/services/backup_dr/client.py‎

Lines changed: 217 additions & 108 deletions
Large diffs are not rendered by default.

‎packages/google-cloud-backupdr/google/cloud/backupdr_v1/services/backup_dr/pagers.py‎

Lines changed: 70 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(
7272
*,
7373
retry:OptionalRetry=gapic_v1.method.DEFAULT,
7474
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
75-
metadata:Sequence[Tuple[str,str]]= ()
75+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
7676
):
7777
"""Instantiate the pager.
7878
@@ -86,8 +86,10 @@ def __init__(
8686
retry (google.api_core.retry.Retry): Designation of what errors,
8787
if any, should be retried.
8888
timeout (float): The timeout for this request.
89-
metadata (Sequence[Tuple[str, str]]): Strings which should be
90-
sent along with the request as metadata.
89+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
90+
sent along with the request as metadata. Normally, each value must be of type `str`,
91+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
92+
be of type `bytes`.
9193
"""
9294
self._method=method
9395
self._request=backupdr.ListManagementServersRequest(request)
@@ -146,7 +148,7 @@ def __init__(
146148
*,
147149
retry:OptionalAsyncRetry=gapic_v1.method.DEFAULT,
148150
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
149-
metadata:Sequence[Tuple[str,str]]= ()
151+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
150152
):
151153
"""Instantiates the pager.
152154
@@ -160,8 +162,10 @@ def __init__(
160162
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
161163
if any, should be retried.
162164
timeout (float): The timeout for this request.
163-
metadata (Sequence[Tuple[str, str]]): Strings which should be
164-
sent along with the request as metadata.
165+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
166+
sent along with the request as metadata. Normally, each value must be of type `str`,
167+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
168+
be of type `bytes`.
165169
"""
166170
self._method=method
167171
self._request=backupdr.ListManagementServersRequest(request)
@@ -224,7 +228,7 @@ def __init__(
224228
*,
225229
retry:OptionalRetry=gapic_v1.method.DEFAULT,
226230
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
227-
metadata:Sequence[Tuple[str,str]]= ()
231+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
228232
):
229233
"""Instantiate the pager.
230234
@@ -238,8 +242,10 @@ def __init__(
238242
retry (google.api_core.retry.Retry): Designation of what errors,
239243
if any, should be retried.
240244
timeout (float): The timeout for this request.
241-
metadata (Sequence[Tuple[str, str]]): Strings which should be
242-
sent along with the request as metadata.
245+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
246+
sent along with the request as metadata. Normally, each value must be of type `str`,
247+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
248+
be of type `bytes`.
243249
"""
244250
self._method=method
245251
self._request=backupvault.ListBackupVaultsRequest(request)
@@ -298,7 +304,7 @@ def __init__(
298304
*,
299305
retry:OptionalAsyncRetry=gapic_v1.method.DEFAULT,
300306
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
301-
metadata:Sequence[Tuple[str,str]]= ()
307+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
302308
):
303309
"""Instantiates the pager.
304310
@@ -312,8 +318,10 @@ def __init__(
312318
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
313319
if any, should be retried.
314320
timeout (float): The timeout for this request.
315-
metadata (Sequence[Tuple[str, str]]): Strings which should be
316-
sent along with the request as metadata.
321+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
322+
sent along with the request as metadata. Normally, each value must be of type `str`,
323+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
324+
be of type `bytes`.
317325
"""
318326
self._method=method
319327
self._request=backupvault.ListBackupVaultsRequest(request)
@@ -376,7 +384,7 @@ def __init__(
376384
*,
377385
retry:OptionalRetry=gapic_v1.method.DEFAULT,
378386
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
379-
metadata:Sequence[Tuple[str,str]]= ()
387+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
380388
):
381389
"""Instantiate the pager.
382390
@@ -390,8 +398,10 @@ def __init__(
390398
retry (google.api_core.retry.Retry): Designation of what errors,
391399
if any, should be retried.
392400
timeout (float): The timeout for this request.
393-
metadata (Sequence[Tuple[str, str]]): Strings which should be
394-
sent along with the request as metadata.
401+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
402+
sent along with the request as metadata. Normally, each value must be of type `str`,
403+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
404+
be of type `bytes`.
395405
"""
396406
self._method=method
397407
self._request=backupvault.FetchUsableBackupVaultsRequest(request)
@@ -450,7 +460,7 @@ def __init__(
450460
*,
451461
retry:OptionalAsyncRetry=gapic_v1.method.DEFAULT,
452462
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
453-
metadata:Sequence[Tuple[str,str]]= ()
463+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
454464
):
455465
"""Instantiates the pager.
456466
@@ -464,8 +474,10 @@ def __init__(
464474
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
465475
if any, should be retried.
466476
timeout (float): The timeout for this request.
467-
metadata (Sequence[Tuple[str, str]]): Strings which should be
468-
sent along with the request as metadata.
477+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
478+
sent along with the request as metadata. Normally, each value must be of type `str`,
479+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
480+
be of type `bytes`.
469481
"""
470482
self._method=method
471483
self._request=backupvault.FetchUsableBackupVaultsRequest(request)
@@ -528,7 +540,7 @@ def __init__(
528540
*,
529541
retry:OptionalRetry=gapic_v1.method.DEFAULT,
530542
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
531-
metadata:Sequence[Tuple[str,str]]= ()
543+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
532544
):
533545
"""Instantiate the pager.
534546
@@ -542,8 +554,10 @@ def __init__(
542554
retry (google.api_core.retry.Retry): Designation of what errors,
543555
if any, should be retried.
544556
timeout (float): The timeout for this request.
545-
metadata (Sequence[Tuple[str, str]]): Strings which should be
546-
sent along with the request as metadata.
557+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
558+
sent along with the request as metadata. Normally, each value must be of type `str`,
559+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
560+
be of type `bytes`.
547561
"""
548562
self._method=method
549563
self._request=backupvault.ListDataSourcesRequest(request)
@@ -602,7 +616,7 @@ def __init__(
602616
*,
603617
retry:OptionalAsyncRetry=gapic_v1.method.DEFAULT,
604618
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
605-
metadata:Sequence[Tuple[str,str]]= ()
619+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
606620
):
607621
"""Instantiates the pager.
608622
@@ -616,8 +630,10 @@ def __init__(
616630
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
617631
if any, should be retried.
618632
timeout (float): The timeout for this request.
619-
metadata (Sequence[Tuple[str, str]]): Strings which should be
620-
sent along with the request as metadata.
633+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
634+
sent along with the request as metadata. Normally, each value must be of type `str`,
635+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
636+
be of type `bytes`.
621637
"""
622638
self._method=method
623639
self._request=backupvault.ListDataSourcesRequest(request)
@@ -680,7 +696,7 @@ def __init__(
680696
*,
681697
retry:OptionalRetry=gapic_v1.method.DEFAULT,
682698
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
683-
metadata:Sequence[Tuple[str,str]]= ()
699+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
684700
):
685701
"""Instantiate the pager.
686702
@@ -694,8 +710,10 @@ def __init__(
694710
retry (google.api_core.retry.Retry): Designation of what errors,
695711
if any, should be retried.
696712
timeout (float): The timeout for this request.
697-
metadata (Sequence[Tuple[str, str]]): Strings which should be
698-
sent along with the request as metadata.
713+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
714+
sent along with the request as metadata. Normally, each value must be of type `str`,
715+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
716+
be of type `bytes`.
699717
"""
700718
self._method=method
701719
self._request=backupvault.ListBackupsRequest(request)
@@ -754,7 +772,7 @@ def __init__(
754772
*,
755773
retry:OptionalAsyncRetry=gapic_v1.method.DEFAULT,
756774
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
757-
metadata:Sequence[Tuple[str,str]]= ()
775+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
758776
):
759777
"""Instantiates the pager.
760778
@@ -768,8 +786,10 @@ def __init__(
768786
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
769787
if any, should be retried.
770788
timeout (float): The timeout for this request.
771-
metadata (Sequence[Tuple[str, str]]): Strings which should be
772-
sent along with the request as metadata.
789+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
790+
sent along with the request as metadata. Normally, each value must be of type `str`,
791+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
792+
be of type `bytes`.
773793
"""
774794
self._method=method
775795
self._request=backupvault.ListBackupsRequest(request)
@@ -832,7 +852,7 @@ def __init__(
832852
*,
833853
retry:OptionalRetry=gapic_v1.method.DEFAULT,
834854
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
835-
metadata:Sequence[Tuple[str,str]]= ()
855+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
836856
):
837857
"""Instantiate the pager.
838858
@@ -846,8 +866,10 @@ def __init__(
846866
retry (google.api_core.retry.Retry): Designation of what errors,
847867
if any, should be retried.
848868
timeout (float): The timeout for this request.
849-
metadata (Sequence[Tuple[str, str]]): Strings which should be
850-
sent along with the request as metadata.
869+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
870+
sent along with the request as metadata. Normally, each value must be of type `str`,
871+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
872+
be of type `bytes`.
851873
"""
852874
self._method=method
853875
self._request=backupplan.ListBackupPlansRequest(request)
@@ -906,7 +928,7 @@ def __init__(
906928
*,
907929
retry:OptionalAsyncRetry=gapic_v1.method.DEFAULT,
908930
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
909-
metadata:Sequence[Tuple[str,str]]= ()
931+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
910932
):
911933
"""Instantiates the pager.
912934
@@ -920,8 +942,10 @@ def __init__(
920942
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
921943
if any, should be retried.
922944
timeout (float): The timeout for this request.
923-
metadata (Sequence[Tuple[str, str]]): Strings which should be
924-
sent along with the request as metadata.
945+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
946+
sent along with the request as metadata. Normally, each value must be of type `str`,
947+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
948+
be of type `bytes`.
925949
"""
926950
self._method=method
927951
self._request=backupplan.ListBackupPlansRequest(request)
@@ -984,7 +1008,7 @@ def __init__(
9841008
*,
9851009
retry:OptionalRetry=gapic_v1.method.DEFAULT,
9861010
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
987-
metadata:Sequence[Tuple[str,str]]= ()
1011+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
9881012
):
9891013
"""Instantiate the pager.
9901014
@@ -998,8 +1022,10 @@ def __init__(
9981022
retry (google.api_core.retry.Retry): Designation of what errors,
9991023
if any, should be retried.
10001024
timeout (float): The timeout for this request.
1001-
metadata (Sequence[Tuple[str, str]]): Strings which should be
1002-
sent along with the request as metadata.
1025+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
1026+
sent along with the request as metadata. Normally, each value must be of type `str`,
1027+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
1028+
be of type `bytes`.
10031029
"""
10041030
self._method=method
10051031
self._request=backupplanassociation.ListBackupPlanAssociationsRequest(request)
@@ -1062,7 +1088,7 @@ def __init__(
10621088
*,
10631089
retry:OptionalAsyncRetry=gapic_v1.method.DEFAULT,
10641090
timeout:Union[float,object]=gapic_v1.method.DEFAULT,
1065-
metadata:Sequence[Tuple[str,str]]= ()
1091+
metadata:Sequence[Tuple[str,Union[str,bytes]]]= ()
10661092
):
10671093
"""Instantiates the pager.
10681094
@@ -1076,8 +1102,10 @@ def __init__(
10761102
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
10771103
if any, should be retried.
10781104
timeout (float): The timeout for this request.
1079-
metadata (Sequence[Tuple[str, str]]): Strings which should be
1080-
sent along with the request as metadata.
1105+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
1106+
sent along with the request as metadata. Normally, each value must be of type `str`,
1107+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
1108+
be of type `bytes`.
10811109
"""
10821110
self._method=method
10831111
self._request=backupplanassociation.ListBackupPlanAssociationsRequest(request)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp