Skip to content

Commit abf2d23

Browse files
HurSungYuncopybara-github
authored andcommitted
Copybara import of the project:
-- 502688b by lambert <lambert@daangn.com>: chore: documentation typo in MatchingEngineIndexEndpoint COPYBARA_INTEGRATE_REVIEW=#6062 from HurSungYun:fix_doc_typo 4f0680a PiperOrigin-RevId: 831541562
1 parent 92da48a commit abf2d23

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

google/cloud/aiplatform/matching_engine/matching_engine_index_endpoint.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -702,10 +702,10 @@ def _get_psc_automated_deployed_index_ip_address(
702702
psc_network: Optional[str] = None,
703703
) -> str:
704704
"""Helper method to get the ip address for a psc automated endpoint.
705-
Returns:
705+
Args:
706706
deployed_index_id (str):
707-
Optional. Required for private service access endpoint.
708-
The user specified ID of the DeployedIndex.
707+
Optional. Required for private service access endpoint.
708+
The user specified ID of the DeployedIndex.
709709
deployed_index (gca_matching_engine_index_endpoint.DeployedIndex):
710710
Optional. Required for private service access endpoint.
711711
The DeployedIndex resource.
@@ -722,6 +722,9 @@ def _get_psc_automated_deployed_index_ip_address(
722722
MatchingEngineIndexEndpoint instance, if the ip address is
723723
already known.
724724
725+
Returns:
726+
str: The IP address for the PSC automated endpoint.
727+
725728
Raises:
726729
RuntimeError: No valid ip found for deployed index with id
727730
deployed_index_id within network psc_network, invalid PSC

0 commit comments

Comments
 (0)