Skip to content

Commit 9c66132

Browse files
authored
fix: docstring in endpoint_service.py (#34135)
The docstring in the class UndeployModelOperator regarding the endpoint_id is not correct. This parameter accept only the id of the endpoint and not the path as written 'projects/{project}/locations/{location}/endpoints/{endpoint}'
1 parent 9079093 commit 9c66132

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

β€Žairflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,7 @@ class UndeployModelOperator(GoogleCloudBaseOperator):
463463
464464
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
465465
:param region: Required. The ID of the Google Cloud region that the service belongs to.
466-
:param endpoint_id: Required. The name of the Endpoint resource from which to undeploy a Model. Format:
467-
``projects/{project}/locations/{location}/endpoints/{endpoint}``
466+
:param endpoint_id: Required. The ID of the Endpoint resource from which to undeploy a Model.
468467
:param deployed_model_id: Required. The ID of the DeployedModel to be undeployed from the Endpoint.
469468
:param traffic_split: If this field is provided, then the Endpoint's
470469
[traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be overwritten with it. If

0 commit comments

Comments
 (0)