Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettings
- 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
Settings for Responsible AI checks.
Instance Attribute Summary collapse
-
#rai_category_configs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig>
Configuration for a set of RAI categories.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2RaiSettings
constructor
A new instance of GoogleCloudDialogflowV2RaiSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2RaiSettings
Returns a new instance of GoogleCloudDialogflowV2RaiSettings.
16278 16279 16280 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rai_category_configs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig>
Configuration for a set of RAI categories.
Corresponds to the JSON property raiCategoryConfigs
16276 16277 16278 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16276 def rai_category_configs @rai_category_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16283 16284 16285 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16283 def update!(**args) @rai_category_configs = args[:rai_category_configs] if args.key?(:rai_category_configs) end |