Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::EncryptionSpec.
A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#kms_key
def kms_key() -> ::String
Returns
-
(::String) — Required. The name of customer-managed encryption key that is used to
secure a resource and its sub-resources. If empty, the resource is secured
by the default Google encryption key. Only the key in the same location as
this resource is allowed to be used for encryption. Format:
projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}
#kms_key=
def kms_key=(value) -> ::String
Parameter
-
value (::String) — Required. The name of customer-managed encryption key that is used to
secure a resource and its sub-resources. If empty, the resource is secured
by the default Google encryption key. Only the key in the same location as
this resource is allowed to be used for encryption. Format:
projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}
Returns
-
(::String) — Required. The name of customer-managed encryption key that is used to
secure a resource and its sub-resources. If empty, the resource is secured
by the default Google encryption key. Only the key in the same location as
this resource is allowed to be used for encryption. Format:
projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}
#name
def name() -> ::String
Returns
- (::String) — Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec
Returns
- (::String) — Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec