Method: projects.locations.updateSkillEncryptionSpec

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

string

Identifier. Resource name of the SkillEncryptionSpec. Format: projects/{project}/locations/{location}/skillEncryptionSpec

Query parameters

Parameters
updateMask

string (FieldMask format)

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: "user.displayName,photo".

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-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only
  • https://www.googleapis.com/auth/agentregistry.read-write
  • https://www.googleapis.com/auth/agentregistry.read-only

For more information, see the Authentication Overview.