Class: Google::Apis::ConnectorsV1::EncryptionConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::EncryptionConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Regional encryption config for CMEK details.
Instance Attribute Summary collapse
-
#encryption_type ⇒ String
Optional.
-
#kms_key_name ⇒ String
Optional.
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.
2098 2099 2100 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2098 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption_type ⇒ String
Optional. Encryption type for the region.
Corresponds to the JSON property encryptionType
2090 2091 2092 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2090 def encryption_type @encryption_type end |
#kms_key_name ⇒ String
Optional. KMS crypto key. This field accepts identifiers of the form projects/
project/locations/
location/keyRings/
key_ring/cryptoKeys/
crypto_key`
Corresponds to the JSON property
kmsKeyName`
2096 2097 2098 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2096 def kms_key_name @kms_key_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2103 2104 2105 2106 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2103 def update!(**args) @encryption_type = args[:encryption_type] if args.key?(:encryption_type) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end |