Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::SkillEncryptionSpec.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Creation timestamp.
#crypto_key_name
def crypto_key_name() -> ::String
Returns
-
(::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}
#crypto_key_name=
def crypto_key_name=(value) -> ::String
Parameter
-
value (::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}
Returns
-
(::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
def name() -> ::String
Returns
-
(::String) — Identifier. Resource name of the SkillEncryptionSpec.
Format:
projects/{project}/locations/{location}/skillEncryptionSpec
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. Resource name of the SkillEncryptionSpec.
Format:
projects/{project}/locations/{location}/skillEncryptionSpec
Returns
-
(::String) — Identifier. Resource name of the SkillEncryptionSpec.
Format:
projects/{project}/locations/{location}/skillEncryptionSpec
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Most recent update timestamp.