projects

GET /v1/projects/{projectsId}/locations/{locationsId}/skillEncryptionSpec

Changed on

========================================================================= # Skill Encryption Spec Service Methods Gets the customer-managed encryption key (CMEK) configuration for Skills in a specific project and location.

Request

  • Base URL
    https://agentregistry.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/agentregistry.read-only
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/agentregistry.read-only
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/agentregistry.read-write
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/agentregistry.read-write
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform.read-only
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform.read-only

Path parameters

projectsId, string required
locationsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Response

Successful response

SkillEncryptionSpec required

Once the SkillEncryptionSpec is configured, new Skill payloads are protected using the provided customer-managed encryption key instead of a Google-managed encryption key. SkillEncryptionSpec cannot be set if any Skills have already been created in the project and location.

createTime, string google-datetime

Output only. Creation timestamp.

cryptoKeyName, string

Required. The Cloud KMS CryptoKey resource name used to protect Skill payloads in this project and location. This field can be set or updated only when no Skills exist in the target project and location. Once any Skill exists in the location, updating this field is rejected with FAILED_PRECONDITION. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}

name, string

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

updateTime, string google-datetime

Output only. Most recent update timestamp.

Changes