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.



363
364
365
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 363

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)


361
362
363
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 361

def kms_key_name
  @kms_key_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



368
369
370
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 368

def update!(**args)
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
end