Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest

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

Overview

The request to initialize a location-level encryption specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2InitializeEncryptionSpecRequest

Returns a new instance of GoogleCloudDialogflowV2InitializeEncryptionSpecRequest.



13630
13631
13632
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13630

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

Instance Attribute Details

#encryption_specGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec

A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). Corresponds to the JSON property encryptionSpec



13628
13629
13630
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13628

def encryption_spec
  @encryption_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13635
13636
13637
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13635

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