# BigQuery Data Transfer Service V1 API - Class Google::Cloud::Bigquery::DataTransfer::V1::EncryptionConfiguration (v1.6.0)

1.6.0 (latest) 1.5.1 1.4.1 1.3.1 1.2.0 1.1.0 1.0.3 0.14.2 0.13.1 0.12.2 0.11.0 0.10.0 0.9.0 0.8.0 0.7.1 0.6.1 0.5.1 0.4.6 Reference documentation and code samples for the BigQuery Data Transfer Service V1 API class Google::Cloud::Bigquery::DataTransfer::V1::EncryptionConfiguration.

Represents the encryption configuration for a transfer.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #kms_key_name

    def kms_key_name() -> ::Google::Protobuf::StringValue

**Returns**

- ([::Google::Protobuf::StringValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/latest/Google-Protobuf-StringValue)) --- The name of the KMS key used for encrypting BigQuery data.

### #kms_key_name=

    def kms_key_name=(value) -> ::Google::Protobuf::StringValue

**Parameter**

- **value** ([::Google::Protobuf::StringValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/latest/Google-Protobuf-StringValue)) --- The name of the KMS key used for encrypting BigQuery data.
**Returns**

- ([::Google::Protobuf::StringValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/latest/Google-Protobuf-StringValue)) --- The name of the KMS key used for encrypting BigQuery data.