- 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/*/cmekConfigs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
config. |
Required. name of the CmekConfig, of the form |
Query parameters
Parameters | |
---|---|
set |
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 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 name
resource:
discoveryengine.cmekConfigs.update
For more information, see the IAM documentation.