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
Overview
Configuration for a specific RAI category.
Instance Attribute Summary collapse
-
#category ⇒ String
Optional.
-
#sensitivity_level ⇒ String
Optional.
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.
16302 16303 16304 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16302 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
Optional. The RAI category.
Corresponds to the JSON property category
16295 16296 16297 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16295 def category @category end |
#sensitivity_level ⇒ String
Optional. The sensitivity level for this category.
Corresponds to the JSON property sensitivityLevel
16300 16301 16302 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16300 def sensitivity_level @sensitivity_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16307 16308 16309 16310 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16307 def update!(**args) @category = args[:category] if args.key?(:category) @sensitivity_level = args[:sensitivity_level] if args.key?(:sensitivity_level) end |