Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1EncryptionSpec

Returns a new instance of GoogleCloudDialogflowV2beta1EncryptionSpec.



18294
18295
18296
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18294

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

Instance Attribute Details

#kms_keyString

Corresponds to the JSON property kmsKey

Returns:

  • (String)


18287
18288
18289
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18287

def kms_key
  @kms_key
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


18292
18293
18294
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18292

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18299
18300
18301
18302
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18299

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