- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Creates a ServingConfig.
Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API.
A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/dataStores/*}/servingConfigs
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. Full resource name of parent. Format:  | 
Query parameters
| Parameters | |
|---|---|
| servingConfigId | 
 Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. | 
Request body
The request body contains an instance of ServingConfig.
Response body
If successful, the response body contains a newly created instance of ServingConfig.
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/discoveryengine.readwrite
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
- discoveryengine.servingConfigs.create
For more information, see the IAM documentation.