Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings.



11654
11655
11656
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11654

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

Instance Attribute Details

#category_filtersArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter>

Corresponds to the JSON property categoryFilters



11652
11653
11654
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11652

def category_filters
  @category_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11659
11660
11661
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11659

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