Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Settings for prompt security checks.
Instance Attribute Summary collapse
-
#enable_prompt_security ⇒ Boolean
(also: #enable_prompt_security?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings
constructor
A new instance of GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings
Returns a new instance of GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings.
8246 8247 8248 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_prompt_security ⇒ Boolean Also known as: enable_prompt_security?
Optional. Enable prompt security checks.
Corresponds to the JSON property enablePromptSecurity
8243 8244 8245 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8243 def enable_prompt_security @enable_prompt_security end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8251 8252 8253 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8251 def update!(**args) @enable_prompt_security = args[:enable_prompt_security] if args.key?(:enable_prompt_security) end |