Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec
- 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
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) ⇒ GoogleCloudDialogflowV2beta1EncryptionSpec
constructor
A new instance of GoogleCloudDialogflowV2beta1EncryptionSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1EncryptionSpec
Returns a new instance of GoogleCloudDialogflowV2beta1EncryptionSpec.
17594 17595 17596 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17594 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key ⇒ String
Corresponds to the JSON property kmsKey
17587 17588 17589 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17587 def kms_key @kms_key end |
#name ⇒ String
Corresponds to the JSON property name
17592 17593 17594 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17592 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17599 17600 17601 17602 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17599 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) @name = args[:name] if args.key?(:name) end |