Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class PromptSecuritySettings.
Settings for prompt security checks.
Generated from protobuf message google.cloud.dialogflow.cx.v3.SafetySettings.PromptSecuritySettings
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ SafetySettingsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enable_prompt_security |
bool
Optional. Enable prompt security checks. |
getEnablePromptSecurity
Optional. Enable prompt security checks.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setEnablePromptSecurity
Optional. Enable prompt security checks.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|