Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec
- 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) ⇒ 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.
12981 12982 12983 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12981 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key ⇒ String
Corresponds to the JSON property kmsKey
12974 12975 12976 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12974 def kms_key @kms_key end |
#name ⇒ String
Corresponds to the JSON property name
12979 12980 12981 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12979 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12986 12987 12988 12989 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12986 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) @name = args[:name] if args.key?(:name) end |