Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettingsRaiSettings

Inherits:
Object
  • Object
show all
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

Overview

Settings for Responsible AI.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SafetySettingsRaiSettings

Returns a new instance of GoogleCloudDialogflowCxV3SafetySettingsRaiSettings.



8265
8266
8267
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8265

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#category_filtersArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettingsRaiSettingsCategoryFilter>

Optional. RAI blocking configurations. Corresponds to the JSON property categoryFilters



8263
8264
8265
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8263

def category_filters
  @category_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8270
8271
8272
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8270

def update!(**args)
  @category_filters = args[:category_filters] if args.key?(:category_filters)
end