Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
- 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
Instance Attribute Summary collapse
-
#category ⇒ String
Corresponds to the JSON property
category. -
#sensitivity_level ⇒ String
Corresponds to the JSON property
sensitivityLevel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
constructor
A new instance of GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
Returns a new instance of GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig.
14639 14640 14641 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
Corresponds to the JSON property category
14632 14633 14634 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14632 def category @category end |
#sensitivity_level ⇒ String
Corresponds to the JSON property sensitivityLevel
14637 14638 14639 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14637 def sensitivity_level @sensitivity_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14644 14645 14646 14647 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14644 def update!(**args) @category = args[:category] if args.key?(:category) @sensitivity_level = args[:sensitivity_level] if args.key?(:sensitivity_level) end |