Class: Google::Apis::LookerV1::EncryptionConfig
- Inherits:
-
Object
- Object
- Google::Apis::LookerV1::EncryptionConfig
- 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 configuration (i.e. CMEK).
Instance Attribute Summary collapse
-
#kms_key_name ⇒ String
Name of the CMEK key in KMS (input parameter).
-
#kms_key_name_version ⇒ String
Output only.
-
#kms_key_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionConfig
constructor
A new instance of EncryptionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EncryptionConfig
Returns a new instance of EncryptionConfig.
380 381 382 |
# File 'lib/google/apis/looker_v1/classes.rb', line 380 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_name ⇒ String
Name of the CMEK key in KMS (input parameter).
Corresponds to the JSON property kmsKeyName
365 366 367 |
# File 'lib/google/apis/looker_v1/classes.rb', line 365 def kms_key_name @kms_key_name end |
#kms_key_name_version ⇒ String
Output only. Full name and version of the CMEK key currently in use to encrypt
Looker data. Format: projects/
project/locations/
location/keyRings/
ring/
cryptoKeys/
key/cryptoKeyVersions/
version`. Empty if CMEK is not configured
in this instance.
Corresponds to the JSON property
kmsKeyNameVersion`
373 374 375 |
# File 'lib/google/apis/looker_v1/classes.rb', line 373 def kms_key_name_version @kms_key_name_version end |
#kms_key_state ⇒ String
Output only. Status of the CMEK key.
Corresponds to the JSON property kmsKeyState
378 379 380 |
# File 'lib/google/apis/looker_v1/classes.rb', line 378 def kms_key_state @kms_key_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
385 386 387 388 389 |
# File 'lib/google/apis/looker_v1/classes.rb', line 385 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) @kms_key_name_version = args[:kms_key_name_version] if args.key?(:kms_key_name_version) @kms_key_state = args[:kms_key_state] if args.key?(:kms_key_state) end |