Class: Google::Apis::BigquerydatatransferV1::EncryptionConfiguration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nameString

The name of the KMS key used for encrypting BigQuery data. Corresponds to the JSON property kmsKeyName

Returns:

  • (String)


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