Class: Google::Apis::ConnectorsV1::EncryptionKey
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::EncryptionKey
- 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
Encryption Key value.
Instance Attribute Summary collapse
-
#kms_key_name ⇒ String
Optional.
-
#type ⇒ String
Type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionKey
constructor
A new instance of EncryptionKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EncryptionKey
Returns a new instance of EncryptionKey.
2254 2255 2256 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2254 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_name ⇒ String
Optional. The [KMS key name] with which the content of the Operation is
encrypted. The expected format: projects/*/locations/*/keyRings/*/cryptoKeys/*
. Will be empty string if google managed.
Corresponds to the JSON property kmsKeyName
2247 2248 2249 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2247 def kms_key_name @kms_key_name end |
#type ⇒ String
Type.
Corresponds to the JSON property type
2252 2253 2254 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2252 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2259 2260 2261 2262 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2259 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) @type = args[:type] if args.key?(:type) end |