Google Cloud Contact Center Insights V1 Client - Class InitializeEncryptionSpecRequest (2.2.1)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class InitializeEncryptionSpecRequest.

The request to initialize a location-level encryption specification.

Generated from protobuf message google.cloud.contactcenterinsights.v1.InitializeEncryptionSpecRequest

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

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 field 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 field 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 field 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 field is left empty, no encryption will be enforced.

Returns
Type Description
InitializeEncryptionSpecRequest