Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class EncryptionKey.
Defined a customer managed encryption key that will be used to encrypt Backup artifacts.
Generated from protobuf message google.cloud.gkebackup.v1.EncryptionKey
Namespace
Google \ Cloud \ GkeBackup \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ gcp_kms_encryption_key |
string
Optional. Google Cloud KMS encryption key. Format: |
getGcpKmsEncryptionKey
Optional. Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
| Returns | |
|---|---|
| Type | Description |
string |
|
setGcpKmsEncryptionKey
Optional. Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|