File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
google/cloud/aiplatform/matching_engine Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments