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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ encryption_spec |
Google\Cloud\ContactCenterInsights\V1\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 |
Google\Cloud\ContactCenterInsights\V1\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 |
Google\Cloud\ContactCenterInsights\V1\EncryptionSpec
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
encryptionSpec |
Google\Cloud\ContactCenterInsights\V1\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 |
Google\Cloud\ContactCenterInsights\V1\InitializeEncryptionSpecRequest |