Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec
- 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
-
#kms_key ⇒ String
Corresponds to the JSON property
kmsKey. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2EncryptionSpec
constructor
A new instance of GoogleCloudDialogflowV2EncryptionSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2EncryptionSpec
Returns a new instance of GoogleCloudDialogflowV2EncryptionSpec.
9356 9357 9358 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9356 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key ⇒ String
Corresponds to the JSON property kmsKey
9349 9350 9351 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9349 def kms_key @kms_key end |
#name ⇒ String
Corresponds to the JSON property name
9354 9355 9356 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9354 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9361 9362 9363 9364 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9361 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) @name = args[:name] if args.key?(:name) end |