Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class DiskEncryptionConfiguration.
Disk encryption configuration for an instance.
Generated from protobuf message google.cloud.sql.v1.DiskEncryptionConfiguration
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ kms_key_name |
string
Resource name of KMS key for disk encryption. |
↳ kind |
string
This is always |
↳ confidential_mode |
bool
Optional. If true, enables Confidential Mode for the instance's Hyperdisk Balanced volumes. Only supported for zonal C4A instances currently. |
↳ cmek_source_log_encryption_enforced |
bool
Optional. Whether to enforce CMEK log encryption at source. When enforced, transaction logs are encrypted prior to being uploaded to Cloud Storage. If not enforced, then CMEK logs are encrypted by the Cloud Storage service. |
getKmsKeyName
Resource name of KMS key for disk encryption.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKmsKeyName
Resource name of KMS key for disk encryption.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKind
This is always sql#diskEncryptionConfiguration.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKind
This is always sql#diskEncryptionConfiguration.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfidentialMode
Optional. If true, enables Confidential Mode for the instance's Hyperdisk Balanced volumes. Only supported for zonal C4A instances currently.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasConfidentialMode
clearConfidentialMode
setConfidentialMode
Optional. If true, enables Confidential Mode for the instance's Hyperdisk Balanced volumes. Only supported for zonal C4A instances currently.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCmekSourceLogEncryptionEnforced
Optional. Whether to enforce CMEK log encryption at source. When enforced, transaction logs are encrypted prior to being uploaded to Cloud Storage. If not enforced, then CMEK logs are encrypted by the Cloud Storage service.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasCmekSourceLogEncryptionEnforced
clearCmekSourceLogEncryptionEnforced
setCmekSourceLogEncryptionEnforced
Optional. Whether to enforce CMEK log encryption at source. When enforced, transaction logs are encrypted prior to being uploaded to Cloud Storage. If not enforced, then CMEK logs are encrypted by the Cloud Storage service.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|