Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings
- 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
-
#enable_prompt_security ⇒ Boolean
(also: #enable_prompt_security?)
Corresponds to the JSON property
enablePromptSecurity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings.
11635 11636 11637 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11635 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_prompt_security ⇒ Boolean Also known as: enable_prompt_security?
Corresponds to the JSON property enablePromptSecurity
11632 11633 11634 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11632 def enable_prompt_security @enable_prompt_security end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11640 11641 11642 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11640 def update!(**args) @enable_prompt_security = args[:enable_prompt_security] if args.key?(:enable_prompt_security) end |