BigQuery Data Transfer V1 Client - Class EncryptionConfiguration (1.7.0)

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
NameDescription
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
TypeDescription
Google\Protobuf\StringValue|null

hasKmsKeyName

clearKmsKeyName

getKmsKeyNameValue

Returns the unboxed value from getKmsKeyName()

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

Returns
TypeDescription
string|null

setKmsKeyName

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

Parameter
NameDescription
var Google\Protobuf\StringValue
Returns
TypeDescription
$this

setKmsKeyNameValue

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
NameDescription
var string|null
Returns
TypeDescription
$this