Google Cloud Dataproc V1 Client - Class EncryptionConfig (2.0.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class EncryptionConfig.

Encryption settings for encrypting workflow template job arguments.

Generated from protobuf message google.cloud.dataproc.v1.WorkflowTemplate.EncryptionConfig

Namespace

Google \ Cloud \ Dataproc \ V1 \ WorkflowTemplate

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ kms_key string

Optional. The Cloud KMS key name to use for encrypting workflow template job arguments. When this this key is provided, the following workflow template job arguments, if present, are CMEK encrypted: * FlinkJob args * HadoopJob args * SparkJob args * SparkRJob args * PySparkJob args * SparkSqlJob scriptVariables and queryList.queries * HiveJob scriptVariables and queryList.queries * PigJob scriptVariables and queryList.queries * PrestoJob scriptVariables and queryList.queries

getKmsKey

Optional. The Cloud KMS key name to use for encrypting workflow template job arguments.

When this this key is provided, the following workflow template job arguments, if present, are CMEK encrypted:

Returns
Type Description
string

setKmsKey

Optional. The Cloud KMS key name to use for encrypting workflow template job arguments.

When this this key is provided, the following workflow template job arguments, if present, are CMEK encrypted:

Parameter
Name Description
var string
Returns
Type Description
$this