Reference documentation and code samples for the Google Cloud Dataproc V1 Client class EncryptionConfig.
Encryption settings for the cluster.
Generated from protobuf message google.cloud.dataproc.v1.EncryptionConfig
Namespace
Google \ Cloud \ Dataproc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gce_pd_kms_key_name
string
Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data for more information.
↳ kms_key
string
Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data for more information. When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK: * 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
getGcePdKmsKeyName
Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data for more information.
string
setGcePdKmsKeyName
Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data for more information.
var
string
$this
getKmsKey
Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data for more information.
When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK:
- 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
string
setKmsKey
Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data for more information.
When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK:
- 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
var
string
$this