Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose endpoint_id field for aiplatform.PrivateEndpoint.create Method #4754

Open
sapphire008 opened this issue Dec 6, 2024 · 0 comments
Open
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.

Comments

@sapphire008
Copy link

sapphire008 commented Dec 6, 2024

If we can expose the endpoint_id argument for the aipatlform.PrivateEndpoint.create method, it could be a QoL improvements. Currently, on version 1.74.0, only display_name field is exposed. However, it would be nice to create endpoints with ids specified by the user.

Relevant code:

def create(
cls,
display_name: str,
project: Optional[str] = None,
location: Optional[str] = None,
network: Optional[str] = None,
description: Optional[str] = None,
labels: Optional[Dict[str, str]] = None,
credentials: Optional[auth_credentials.Credentials] = None,
encryption_spec_key_name: Optional[str] = None,
sync=True,
private_service_connect_config: Optional[PrivateServiceConnectConfig] = None,
inference_timeout: Optional[int] = None,
) -> "PrivateEndpoint":
"""Creates a new PrivateEndpoint.

@product-auto-label product-auto-label bot added the api: vertex-ai Issues related to the googleapis/python-aiplatform API. label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.
Projects
None yet
Development

No branches or pull requests

1 participant