Class: Google::Apis::LookerV1::ExportMetadataEncryptionKey

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/looker_v1/classes.rb,
lib/google/apis/looker_v1/representations.rb,
lib/google/apis/looker_v1/representations.rb

Overview

Encryption key details for the exported artifact.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportMetadataEncryptionKey

Returns a new instance of ExportMetadataEncryptionKey.



511
512
513
# File 'lib/google/apis/looker_v1/classes.rb', line 511

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cmekString

Name of the CMEK. Corresponds to the JSON property cmek

Returns:

  • (String)


504
505
506
# File 'lib/google/apis/looker_v1/classes.rb', line 504

def cmek
  @cmek
end

#versionString

Version of the CMEK. Corresponds to the JSON property version

Returns:

  • (String)


509
510
511
# File 'lib/google/apis/looker_v1/classes.rb', line 509

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



516
517
518
519
# File 'lib/google/apis/looker_v1/classes.rb', line 516

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