Skip to content

Commit a442866

Browse files
matthew29tangcopybara-github
authored andcommitted
docs: Update transport docstrings to include that REST is in preview
PiperOrigin-RevId: 611222651
1 parent 6ab4084 commit a442866

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

google/cloud/aiplatform/initializer.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ def init(
182182
Optional. The desired API endpoint,
183183
e.g., us-central1-aiplatform.googleapis.com
184184
api_transport (str):
185-
Optional. The transport method which is either 'grpc' or 'rest'
185+
Optional. The transport method which is either 'grpc' or 'rest'.
186+
NOTE: "rest" transport functionality is currently in a
187+
beta state (preview).
186188
Raises:
187189
ValueError:
188190
If experiment_description is provided but experiment is not.

google/cloud/aiplatform/utils/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ def __init__(
403403
Optional. Client credentials to pass to client.
404404
transport (str):
405405
Optional. Transport type to pass to client.
406+
NOTE: "rest" transport functionality is currently in a
407+
beta state (preview).
406408
"""
407409

408410
self._client_class = client_class
@@ -472,6 +474,8 @@ def __init__(
472474
Optional. Client credentials to pass to client.
473475
transport (str):
474476
Optional. Transport type to pass to client.
477+
NOTE: "rest" transport functionality is currently in a
478+
beta state (preview).
475479
"""
476480
kwargs = dict(
477481
credentials=credentials,

0 commit comments

Comments
 (0)