Skip to content

Commit

Permalink
feat: Add support for opt-in debug logging (#4734)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Dec 12, 2024
1 parent 9a12097 commit 4b7799b
Show file tree
Hide file tree
Showing 547 changed files with 192,595 additions and 26,009 deletions.
264 changes: 177 additions & 87 deletions google/cloud/aiplatform_v1/services/dataset_service/async_client.py

Large diffs are not rendered by default.

269 changes: 182 additions & 87 deletions google/cloud/aiplatform_v1/services/dataset_service/client.py

Large diffs are not rendered by default.

96 changes: 60 additions & 36 deletions google/cloud/aiplatform_v1/services/dataset_service/pagers.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -85,8 +85,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListDatasetsRequest(request)
Expand Down Expand Up @@ -145,7 +147,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -159,8 +161,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListDatasetsRequest(request)
Expand Down Expand Up @@ -223,7 +227,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -237,8 +241,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListDatasetVersionsRequest(request)
Expand Down Expand Up @@ -297,7 +303,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -311,8 +317,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListDatasetVersionsRequest(request)
Expand Down Expand Up @@ -375,7 +383,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -389,8 +397,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListDataItemsRequest(request)
Expand Down Expand Up @@ -449,7 +459,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -463,8 +473,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListDataItemsRequest(request)
Expand Down Expand Up @@ -527,7 +539,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -541,8 +553,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.SearchDataItemsRequest(request)
Expand Down Expand Up @@ -601,7 +615,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -615,8 +629,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.SearchDataItemsRequest(request)
Expand Down Expand Up @@ -679,7 +695,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -693,8 +709,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListSavedQueriesRequest(request)
Expand Down Expand Up @@ -753,7 +771,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -767,8 +785,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListSavedQueriesRequest(request)
Expand Down Expand Up @@ -831,7 +851,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -845,8 +865,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListAnnotationsRequest(request)
Expand Down Expand Up @@ -905,7 +927,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -919,8 +941,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = dataset_service.ListAnnotationsRequest(request)
Expand Down
Loading

0 comments on commit 4b7799b

Please sign in to comment.