Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1EncryptionSpec

Returns a new instance of GoogleCloudDialogflowV2beta1EncryptionSpec.



17730
17731
17732
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17730

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

Instance Attribute Details

#kms_keyString

Corresponds to the JSON property kmsKey

Returns:

  • (String)


17723
17724
17725
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17723

def kms_key
  @kms_key
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


17728
17729
17730
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17728

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17735
17736
17737
17738
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17735

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