Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig.
Configuration for a specific RAI category.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#category
def category() -> ::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::RaiCategory
Returns
- (::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::RaiCategory) — Optional. The RAI category.
#category=
def category=(value) -> ::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::RaiCategory
Parameter
- value (::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::RaiCategory) — Optional. The RAI category.
Returns
- (::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::RaiCategory) — Optional. The RAI category.
#sensitivity_level
def sensitivity_level() -> ::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::SensitivityLevel
Returns
- (::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::SensitivityLevel) — Optional. The sensitivity level for this category.
#sensitivity_level=
def sensitivity_level=(value) -> ::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::SensitivityLevel
Parameter
- value (::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::SensitivityLevel) — Optional. The sensitivity level for this category.
Returns
- (::Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::SensitivityLevel) — Optional. The sensitivity level for this category.