BigQuery Data Transfer V1 Client - Class EncryptionConfiguration (2.0.0-RC1)

Reference documentation and code samples for the BigQuery Data Transfer V1 Client class EncryptionConfiguration.

Represents the encryption configuration for a transfer.

Generated from protobuf message google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ kms_key_name Google\Protobuf\StringValue

The name of the KMS key used for encrypting BigQuery data.

getKmsKeyName

The name of the KMS key used for encrypting BigQuery data.

Returns
Type Description
Google\Protobuf\StringValue|null

hasKmsKeyName

clearKmsKeyName

getKmsKeyNameUnwrapped

Returns the unboxed value from getKmsKeyName()

The name of the KMS key used for encrypting BigQuery data.

Returns
Type Description
string|null

setKmsKeyName

The name of the KMS key used for encrypting BigQuery data.

Parameter
Name Description
var Google\Protobuf\StringValue
Returns
Type Description
$this

setKmsKeyNameUnwrapped

Sets the field by wrapping a primitive type in a Google\Protobuf\StringValue object.

The name of the KMS key used for encrypting BigQuery data.

Parameter
Name Description
var string|null
Returns
Type Description
$this