Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
- 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
Overview
The request to initialize a location-level encryption specification.
Instance Attribute Summary collapse
-
#encryption_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec
A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
Returns a new instance of GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest.
17124 17125 17126 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption_spec ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec
A customer-managed encryption key specification that can be applied to all
created resources (e.g. Conversation).
Corresponds to the JSON property encryptionSpec
17122 17123 17124 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17122 def encryption_spec @encryption_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17129 17130 17131 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17129 def update!(**args) @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec) end |