- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.
HTTP request
PATCH https://discoveryengine.googleapis.com/v1alpha/{config.name=projects/*/locations/*/cmekConfig}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
config.name |
Required. The name of the CmekConfig of the form |
Query parameters
| Parameters | |
|---|---|
setDefault |
Set the following CmekConfig as the default to be used for child resources if one is not specified. |
Request body
The request body contains an instance of CmekConfig.
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwrite
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
discoveryengine.cmekConfigs.update
For more information, see the IAM documentation.