- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates the customer-managed encryption key (CMEK) configuration for Skills in a specific project and location.
This method is only allowed when no Skills exist in the target project and location. If any Skill already exists in the location, the request fails with FAILED_PRECONDITION.
HTTP request
PATCH https://agentregistry.googleapis.com/v1/{skillEncryptionSpec.name=projects/*/locations/*/skillEncryptionSpec}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
skillEncryptionSpec.name |
Identifier. Resource name of the SkillEncryptionSpec. Format: |
Query parameters
| Parameters | |
|---|---|
updateMask |
Optional. Field mask is used to specify the fields to be overwritten in the SkillEncryptionSpec resource by the update. The fields specified in the updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of SkillEncryptionSpec.
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/cloud-platform.read-onlyhttps://www.googleapis.com/auth/agentregistry.read-writehttps://www.googleapis.com/auth/agentregistry.read-only
For more information, see the Authentication Overview.