Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1EncryptionKey

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

Overview

Encryption Key value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1EncryptionKey

Returns a new instance of GoogleCloudConnectorsV1EncryptionKey.



5448
5449
5450
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5448

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

Instance Attribute Details

#kms_key_nameString

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

Returns:

  • (String)


5441
5442
5443
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5441

def kms_key_name
  @kms_key_name
end

#typeString

Type. Corresponds to the JSON property type

Returns:

  • (String)


5446
5447
5448
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5446

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5453
5454
5455
5456
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5453

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