Google Cloud Dialogflow V2 Client - Class InitializeEncryptionSpecRequest (1.17.1)

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

The request to initialize a location-level encryption specification.

Generated from protobuf message google.cloud.dialogflow.v2.InitializeEncryptionSpecRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ encryption_spec 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.

getEncryptionSpec

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
Type Description
EncryptionSpec|null

hasEncryptionSpec

clearEncryptionSpec

setEncryptionSpec

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.

Parameter
Name Description
var EncryptionSpec
Returns
Type Description
$this

static::build

Parameter
Name Description
encryptionSpec 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
Type Description
InitializeEncryptionSpecRequest