Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::InitializeEncryptionSpecRequest (v1.5.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::InitializeEncryptionSpecRequest.

The request to initialize a location-level encryption specification.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#encryption_spec

def encryption_spec() -> ::Google::Cloud::Dialogflow::V2::EncryptionSpec
Returns
  • (::Google::Cloud::Dialogflow::V2::EncryptionSpec) — Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced.

#encryption_spec=

def encryption_spec=(value) -> ::Google::Cloud::Dialogflow::V2::EncryptionSpec
Parameter
  • value (::Google::Cloud::Dialogflow::V2::EncryptionSpec) — Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced.
Returns
  • (::Google::Cloud::Dialogflow::V2::EncryptionSpec) — Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced.