Skip to content

Commit 191a1aa

Browse files
jaycee-licopybara-github
authored andcommitted
chore: fix docstring in models.py
PiperOrigin-RevId: 599898655
1 parent 2301d79 commit 191a1aa

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

google/cloud/aiplatform/models.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,10 @@ def create(
351351
Optional. Strings which should be sent along with the request as
352352
metadata.
353353
project (str):
354-
Required. Project to retrieve endpoint from. If not set, project
354+
Optional. Project to retrieve endpoint from. If not set, project
355355
set in aiplatform.init will be used.
356356
location (str):
357-
Required. Location to retrieve endpoint from. If not set, location
357+
Optional. Location to retrieve endpoint from. If not set, location
358358
set in aiplatform.init will be used.
359359
credentials (auth_credentials.Credentials):
360360
Optional. Custom credentials to use to upload this model. Overrides
@@ -472,11 +472,9 @@ def _create(
472472
The name can be up to 128 characters long and can be consist
473473
of any UTF-8 characters.
474474
project (str):
475-
Required. Project to retrieve endpoint from. If not set, project
476-
set in aiplatform.init will be used.
475+
Required. Project to retrieve endpoint from.
477476
location (str):
478-
Required. Location to retrieve endpoint from. If not set, location
479-
set in aiplatform.init will be used.
477+
Required. Location to retrieve endpoint from.
480478
description (str):
481479
Optional. The description of the Endpoint.
482480
labels (Dict[str, str]):

0 commit comments

Comments
 (0)