Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EncryptionSpec
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EncryptionSpec
- 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
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.
7533 7534 7535 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key ⇒ String
Corresponds to the JSON property kmsKey
7526 7527 7528 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7526 def kms_key @kms_key end |
#name ⇒ String
Corresponds to the JSON property name
7531 7532 7533 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7531 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7538 7539 7540 7541 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7538 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) @name = args[:name] if args.key?(:name) end |