Google Cloud Batch V1 Client - Class KMSEnvMap (0.6.0)

Reference documentation and code samples for the Google Cloud Batch V1 Client class KMSEnvMap.

Generated from protobuf message google.cloud.batch.v1.Environment.KMSEnvMap

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key_name string

The name of the KMS key that will be used to decrypt the cipher text.

↳ cipher_text string

The value of the cipherText response from the encrypt method.

getKeyName

The name of the KMS key that will be used to decrypt the cipher text.

Returns
TypeDescription
string

setKeyName

The name of the KMS key that will be used to decrypt the cipher text.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCipherText

The value of the cipherText response from the encrypt method.

Returns
TypeDescription
string

setCipherText

The value of the cipherText response from the encrypt method.

Parameter
NameDescription
var string
Returns
TypeDescription
$this