Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EncryptionKey
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EncryptionKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
Encryption Key value.
Instance Attribute Summary collapse
-
#kms_key_name ⇒ String
The [KMS key name] with which the content of the Operation is encrypted.
-
#type ⇒ String
Type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1EncryptionKey
constructor
A new instance of GoogleCloudConnectorsV1EncryptionKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1EncryptionKey
Returns a new instance of GoogleCloudConnectorsV1EncryptionKey.
5854 5855 5856 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5854 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_name ⇒ String
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
5847 5848 5849 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5847 def kms_key_name @kms_key_name end |
#type ⇒ String
Type.
Corresponds to the JSON property type
5852 5853 5854 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5852 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5859 5860 5861 5862 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5859 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) @type = args[:type] if args.key?(:type) end |