Class: Google::Apis::BigquerydatatransferV1::EncryptionConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::EncryptionConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquerydatatransfer_v1/classes.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb
Overview
Represents the encryption configuration for a transfer.
Instance Attribute Summary collapse
-
#kms_key_name ⇒ String
The name of the KMS key used for encrypting BigQuery data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionConfiguration
constructor
A new instance of EncryptionConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EncryptionConfiguration
Returns a new instance of EncryptionConfiguration.
357 358 359 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_name ⇒ String
The name of the KMS key used for encrypting BigQuery data.
Corresponds to the JSON property kmsKeyName
355 356 357 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 355 def kms_key_name @kms_key_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
362 363 364 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 362 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end |