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.



11666
11667
11668
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11666

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

Instance Attribute Details

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

Corresponds to the JSON property categoryFilters



11664
11665
11666
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11664

def category_filters
  @category_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11671
11672
11673
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11671

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