Creates an Endpoint.
HTTP request
POST https://{service-endpoint}/v1/{parent}/endpoints
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the Location to create the Endpoint in. Format: |
Query parameters
Parameters | |
---|---|
endpointId |
Immutable. The id to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this id. If the first character is a letter, this value may be up to 63 characters, and valid characters are If the first character is a number, this value may be up to 9 characters, and valid characters are When using HTTP/JSON, this field is populated based on a query string argument, such as |
Request body
The request body contains an instance of Endpoint
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
aiplatform.endpoints.create
For more information, see the IAM documentation.