Skip to content

Commit 4b7799b

Browse files
feat: Add support for opt-in debug logging (#4734)
* feat: A new value `NVIDIA_H100_MEGA_80GB` is added to enum `AcceleratorType` PiperOrigin-RevId: 703589133 Source-Link: googleapis/googleapis@5934869 Source-Link: googleapis/googleapis-gen@533c112 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTMzYzExMjhhY2MwN2RhNjg3NzRhYWI4OTJjYWRjNWQ3ODkwZjIwMSJ9 feat: A new field `list_all_versions` to `ListPublisherModelsRequest` PiperOrigin-RevId: 703587328 Source-Link: googleapis/googleapis@febe049 Source-Link: googleapis/googleapis-gen@13c5ebd Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTNjNWViZDZiOWM2OGFkNWQ2YjlkYjZiNzA3NjU4OWQ4NTMzNjAyYyJ9 feat: A new value `NVIDIA_H100_MEGA_80GB` is added to enum `AcceleratorType` PiperOrigin-RevId: 703586349 Source-Link: googleapis/googleapis@7f78b7b Source-Link: googleapis/googleapis-gen@db4cd17 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGI0Y2QxNzgwNTUyYTk3YTY0Y2Y5MjgzNDQ5YmRkNjQ5ODZhOWQyYiJ9 feat: add service renaming to GoSettings PiperOrigin-RevId: 703180693 Source-Link: googleapis/googleapis@895f2b5 Source-Link: googleapis/googleapis-gen@ea27218 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWEyNzIxODgxMDk5Yzg1ZTM0NjU2Y2EwMjJkMDE2YmFiZmQ4MjNiMCJ9 feat: add workbench_runtime and kernel_name to NotebookExecutionJob docs: A comment for field `encryption_spec` in message `.google.cloud.aiplatform.v1.NotebookExecutionJob` is changed PiperOrigin-RevId: 702775459 Source-Link: googleapis/googleapis@e865ba0 Source-Link: googleapis/googleapis-gen@6e54e78 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmU1NGU3ODJmOWNlYjBmMmY5MjA4ZTVjZjAwZWM3Y2JlMzNmY2Y5MyJ9 feat: add workbench_runtime and kernel_name to NotebookExecutionJob docs: A comment for field `encryption_spec` in message `.google.cloud.aiplatform.v1beta1.NotebookExecutionJob` is changed PiperOrigin-RevId: 702768722 Source-Link: googleapis/googleapis@4c5e086 Source-Link: googleapis/googleapis-gen@0663ff3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDY2M2ZmM2RlOTVhMDRmM2Y4N2FkZmEzMjc3ZGJhNjkwOGJhMzY4YSJ9 feat: add new `Status` field to DeployedModel in Endpoint feat: add new `RequiredReplicaCount` field to DedicatedResources in MachineResources PiperOrigin-RevId: 700843265 Source-Link: googleapis/googleapis@6ac8800 Source-Link: googleapis/googleapis-gen@9ddee29 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWRkZWUyOWI5ODE1ZmM1OGVmYWJlOTNiNzViZmVmMjk5MDYwODRkNCJ9 feat: add new `Status` field to DeployedModel in Endpoint feat: add new `RequiredReplicaCount` field to DedicatedResources in MachineResources PiperOrigin-RevId: 700839591 Source-Link: googleapis/googleapis@3ea7640 Source-Link: googleapis/googleapis-gen@4569fee Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDU2OWZlZWQ3NThmMjhlMWU0OWE4NmFiYjBlYmM1YjM4MTMyYjU2OSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: enable FeatureGroup Service Account and IAM methods PiperOrigin-RevId: 704910450 Source-Link: googleapis/googleapis@798bd23 Source-Link: googleapis/googleapis-gen@ff2b284 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmYyYjI4NDdhNDcwYTlkZWEwZDY3YzE2YmY5Nzg4MjM3Y2E3MWZkNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add Tool.GoogleSearch feat: add GenerationConfig.Modality feat: add GenerationConfig.SpeechConfig feat: add GenerationConfig.MediaResolution PiperOrigin-RevId: 705158245 Source-Link: googleapis/googleapis@484e441 Source-Link: googleapis/googleapis-gen@d2cb9a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDJjYjlhNWYzNzQ5ZTdjM2NjMGYzMGE5NmVhMGNmNDNkZDAwMWQ2MiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add LLM parser proto to API PiperOrigin-RevId: 705199740 Source-Link: googleapis/googleapis@2f81f77 Source-Link: googleapis/googleapis-gen@4205283 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDIwNTI4MzUyNDg0NzNmYTU5ZGM1YWJiZjMwNjMyZmUzOTUwMWIwYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Add support for opt-in debug logging fix: Fix typing issue with gRPC metadata when key ends in -bin chore: Update gapic-generator-python to v1.21.0 PiperOrigin-RevId: 705285820 Source-Link: googleapis/googleapis@f9b8b91 Source-Link: googleapis/googleapis-gen@ca1e0a1 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2ExZTBhMWU0NzJkNmU2ZjVkZTg4M2E1Y2I1NDcyNGYxMTJjZTM0OCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 9a12097 commit 4b7799b

File tree

547 files changed

+192595
-26009
lines changed

Some content is hidden

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

547 files changed

+192595
-26009
lines changed

google/cloud/aiplatform_v1/services/dataset_service/async_client.py

+177-87
Large diffs are not rendered by default.

google/cloud/aiplatform_v1/services/dataset_service/client.py

+182-87
Large diffs are not rendered by default.

google/cloud/aiplatform_v1/services/dataset_service/pagers.py

+60-36
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __init__(
7171
*,
7272
retry: OptionalRetry = gapic_v1.method.DEFAULT,
7373
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
74-
metadata: Sequence[Tuple[str, str]] = ()
74+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
7575
):
7676
"""Instantiate the pager.
7777
@@ -85,8 +85,10 @@ def __init__(
8585
retry (google.api_core.retry.Retry): Designation of what errors,
8686
if any, should be retried.
8787
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`.
9092
"""
9193
self._method = method
9294
self._request = dataset_service.ListDatasetsRequest(request)
@@ -145,7 +147,7 @@ def __init__(
145147
*,
146148
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
147149
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
148-
metadata: Sequence[Tuple[str, str]] = ()
150+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
149151
):
150152
"""Instantiates the pager.
151153
@@ -159,8 +161,10 @@ def __init__(
159161
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
160162
if any, should be retried.
161163
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`.
164168
"""
165169
self._method = method
166170
self._request = dataset_service.ListDatasetsRequest(request)
@@ -223,7 +227,7 @@ def __init__(
223227
*,
224228
retry: OptionalRetry = gapic_v1.method.DEFAULT,
225229
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
226-
metadata: Sequence[Tuple[str, str]] = ()
230+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
227231
):
228232
"""Instantiate the pager.
229233
@@ -237,8 +241,10 @@ def __init__(
237241
retry (google.api_core.retry.Retry): Designation of what errors,
238242
if any, should be retried.
239243
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`.
242248
"""
243249
self._method = method
244250
self._request = dataset_service.ListDatasetVersionsRequest(request)
@@ -297,7 +303,7 @@ def __init__(
297303
*,
298304
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
299305
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
300-
metadata: Sequence[Tuple[str, str]] = ()
306+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
301307
):
302308
"""Instantiates the pager.
303309
@@ -311,8 +317,10 @@ def __init__(
311317
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
312318
if any, should be retried.
313319
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`.
316324
"""
317325
self._method = method
318326
self._request = dataset_service.ListDatasetVersionsRequest(request)
@@ -375,7 +383,7 @@ def __init__(
375383
*,
376384
retry: OptionalRetry = gapic_v1.method.DEFAULT,
377385
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
378-
metadata: Sequence[Tuple[str, str]] = ()
386+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
379387
):
380388
"""Instantiate the pager.
381389
@@ -389,8 +397,10 @@ def __init__(
389397
retry (google.api_core.retry.Retry): Designation of what errors,
390398
if any, should be retried.
391399
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`.
394404
"""
395405
self._method = method
396406
self._request = dataset_service.ListDataItemsRequest(request)
@@ -449,7 +459,7 @@ def __init__(
449459
*,
450460
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
451461
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
452-
metadata: Sequence[Tuple[str, str]] = ()
462+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
453463
):
454464
"""Instantiates the pager.
455465
@@ -463,8 +473,10 @@ def __init__(
463473
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
464474
if any, should be retried.
465475
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`.
468480
"""
469481
self._method = method
470482
self._request = dataset_service.ListDataItemsRequest(request)
@@ -527,7 +539,7 @@ def __init__(
527539
*,
528540
retry: OptionalRetry = gapic_v1.method.DEFAULT,
529541
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
530-
metadata: Sequence[Tuple[str, str]] = ()
542+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
531543
):
532544
"""Instantiate the pager.
533545
@@ -541,8 +553,10 @@ def __init__(
541553
retry (google.api_core.retry.Retry): Designation of what errors,
542554
if any, should be retried.
543555
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`.
546560
"""
547561
self._method = method
548562
self._request = dataset_service.SearchDataItemsRequest(request)
@@ -601,7 +615,7 @@ def __init__(
601615
*,
602616
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
603617
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
604-
metadata: Sequence[Tuple[str, str]] = ()
618+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
605619
):
606620
"""Instantiates the pager.
607621
@@ -615,8 +629,10 @@ def __init__(
615629
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
616630
if any, should be retried.
617631
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`.
620636
"""
621637
self._method = method
622638
self._request = dataset_service.SearchDataItemsRequest(request)
@@ -679,7 +695,7 @@ def __init__(
679695
*,
680696
retry: OptionalRetry = gapic_v1.method.DEFAULT,
681697
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
682-
metadata: Sequence[Tuple[str, str]] = ()
698+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
683699
):
684700
"""Instantiate the pager.
685701
@@ -693,8 +709,10 @@ def __init__(
693709
retry (google.api_core.retry.Retry): Designation of what errors,
694710
if any, should be retried.
695711
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`.
698716
"""
699717
self._method = method
700718
self._request = dataset_service.ListSavedQueriesRequest(request)
@@ -753,7 +771,7 @@ def __init__(
753771
*,
754772
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
755773
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
756-
metadata: Sequence[Tuple[str, str]] = ()
774+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
757775
):
758776
"""Instantiates the pager.
759777
@@ -767,8 +785,10 @@ def __init__(
767785
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
768786
if any, should be retried.
769787
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`.
772792
"""
773793
self._method = method
774794
self._request = dataset_service.ListSavedQueriesRequest(request)
@@ -831,7 +851,7 @@ def __init__(
831851
*,
832852
retry: OptionalRetry = gapic_v1.method.DEFAULT,
833853
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
834-
metadata: Sequence[Tuple[str, str]] = ()
854+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
835855
):
836856
"""Instantiate the pager.
837857
@@ -845,8 +865,10 @@ def __init__(
845865
retry (google.api_core.retry.Retry): Designation of what errors,
846866
if any, should be retried.
847867
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`.
850872
"""
851873
self._method = method
852874
self._request = dataset_service.ListAnnotationsRequest(request)
@@ -905,7 +927,7 @@ def __init__(
905927
*,
906928
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
907929
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
908-
metadata: Sequence[Tuple[str, str]] = ()
930+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
909931
):
910932
"""Instantiates the pager.
911933
@@ -919,8 +941,10 @@ def __init__(
919941
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
920942
if any, should be retried.
921943
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`.
924948
"""
925949
self._method = method
926950
self._request = dataset_service.ListAnnotationsRequest(request)

0 commit comments

Comments
 (0)