Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest

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

Overview

The request to initialize a location-level encryption specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest

Returns a new instance of GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest.



14863
14864
14865
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14863

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

Instance Attribute Details

#encryption_specGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec

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



14861
14862
14863
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14861

def encryption_spec
  @encryption_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14868
14869
14870
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14868

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