Google Cloud Gke Backup V1 Client - Class EncryptionKey (0.6.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcp_kms_encryption_key string

Google Cloud KMS encryption key. Format: projects/*/locations/*/keyRings/*/cryptoKeys/*

getGcpKmsEncryptionKey

Google Cloud KMS encryption key. Format: projects/*/locations/*/keyRings/*/cryptoKeys/*

Returns
TypeDescription
string

setGcpKmsEncryptionKey

Google Cloud KMS encryption key. Format: projects/*/locations/*/keyRings/*/cryptoKeys/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this