gcloud beta ai endpoints create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta ai endpoints create - create a new Vertex AI endpoint
- SYNOPSIS
gcloud beta ai endpoints create--display-name=DISPLAY_NAME[--description=DESCRIPTION][--encryption-kms-key-name=ENCRYPTION_KMS_KEY_NAME][--endpoint-id=ENDPOINT_ID][--gdc-zone=GDC_ZONE][--labels=[KEY=VALUE,…]][--network=NETWORK][--region=REGION][--request-response-logging-rate=REQUEST_RESPONSE_LOGGING_RATE--request-response-logging-table=REQUEST_RESPONSE_LOGGING_TABLE][GCLOUD_WIDE_FLAG …]
- EXAMPLES
- To create an endpoint under project
in regionexample, run:us-central1gcloudbetaaiendpointscreate--project=example--region=us-central1--display-name=my_endpoint - REQUIRED FLAGS
--display-name=DISPLAY_NAME- Display name of the endpoint.
- OPTIONAL FLAGS
--description=DESCRIPTION- Description of the endpoint.
--encryption-kms-key-name=ENCRYPTION_KMS_KEY_NAME- The Cloud KMS resource identifier of the customer managed encryption key used toprotect a resource. Has the form:projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key.
The key needs to be in the same region as where the compute resource is created.
--endpoint-id=ENDPOINT_ID- User-specified ID of the endpoint.
--gdc-zone=GDC_ZONE- The name of the GDC zone. If set, the endpoint is for GDCc.
--labels=[KEY=VALUE,…]- List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens(
-), underscores (_), lowercase characters, andnumbers. Values must contain only hyphens (-), underscores(_), lowercase characters, and numbers. --network=NETWORK- The full name of the Google Compute Engine network to which the endpoint shouldbe peered.
- Region resource - Cloud region to create endpoint. This represents a Cloudresource. (NOTE) Some attributes are not given arguments in this group but canbe set in other ways.
To set the
projectattribute:- provide the argument
--regionon the command line with a fullyspecified name; - set the property
ai/regionwith a fully specified name; - choose one from the prompted list of available regions with a fully specifiedname;
- provide the argument
--projecton the command line; - set the property
core/project.
--region=REGION- ID of the region or fully qualified identifier for the region.
To set the
regionattribute:- provide the argument
--regionon the command line; - set the property
ai/region; - choose one from the prompted list of available regions.
- provide the argument
- provide the argument
--request-response-logging-rate=REQUEST_RESPONSE_LOGGING_RATE- Prediction request & response sampling rate for logging to BigQuery table.
--request-response-logging-table=REQUEST_RESPONSE_LOGGING_TABLE- BigQuery table uri for prediction request & response logging.
You can provide table uri that does not exist, it will be created for you.
Value should be provided in format:bq://
/PROJECT_ID/DATASETTABLE
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$gcloud helpfor details. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudaiendpointscreategcloudalphaaiendpointscreate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-16 UTC.