Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
- 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
-
#category ⇒ String
Corresponds to the JSON property
category. -
#sensitivity_level ⇒ String
Corresponds to the JSON property
sensitivityLevel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
constructor
A new instance of GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
Returns a new instance of GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig.
14590 14591 14592 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
Corresponds to the JSON property category
14583 14584 14585 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14583 def category @category end |
#sensitivity_level ⇒ String
Corresponds to the JSON property sensitivityLevel
14588 14589 14590 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14588 def sensitivity_level @sensitivity_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14595 14596 14597 14598 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14595 def update!(**args) @category = args[:category] if args.key?(:category) @sensitivity_level = args[:sensitivity_level] if args.key?(:sensitivity_level) end |