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.
14539 14540 14541 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
Corresponds to the JSON property category
14532 14533 14534 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14532 def category @category end |
#sensitivity_level ⇒ String
Corresponds to the JSON property sensitivityLevel
14537 14538 14539 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14537 def sensitivity_level @sensitivity_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14544 14545 14546 14547 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14544 def update!(**args) @category = args[:category] if args.key?(:category) @sensitivity_level = args[:sensitivity_level] if args.key?(:sensitivity_level) end |