Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CesAppSpec.
Spec of CES app that the generator can choose from.
Generated from protobuf message google.cloud.dialogflow.v2.CesAppSpec
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ces_app |
string
Optional. Format: |
↳ confirmation_requirement |
int
Optional. Indicates whether the app requires human confirmation. |
↳ proactive_enabled |
bool
Optional. Only applicable for CompanionAgent. Indicates whether the ces app is enabled in proactive mode. At least one of |
↳ reactive_enabled |
bool
Optional. Only applicable for CompanionAgent. Indicates whether the ces app is enabled in reactive mode. At least one of |
getCesApp
Optional. Format: projects/<Project ID>/locations/<Location ID>/apps/<app
ID>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCesApp
Optional. Format: projects/<Project ID>/locations/<Location ID>/apps/<app
ID>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfirmationRequirement
Optional. Indicates whether the app requires human confirmation.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ConfirmationRequirement. |
setConfirmationRequirement
Optional. Indicates whether the app requires human confirmation.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ConfirmationRequirement. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProactiveEnabled
Optional. Only applicable for CompanionAgent.
Indicates whether the ces app is enabled in proactive mode.
At least one of proactive_enabled or reactive_enabled should be
true; otherwise, the ces app will be ignored.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasProactiveEnabled
clearProactiveEnabled
setProactiveEnabled
Optional. Only applicable for CompanionAgent.
Indicates whether the ces app is enabled in proactive mode.
At least one of proactive_enabled or reactive_enabled should be
true; otherwise, the ces app will be ignored.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReactiveEnabled
Optional. Only applicable for CompanionAgent.
Indicates whether the ces app is enabled in reactive mode.
At least one of proactive_enabled or reactive_enabled should be
true; otherwise, the ces app will be ignored.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasReactiveEnabled
clearReactiveEnabled
setReactiveEnabled
Optional. Only applicable for CompanionAgent.
Indicates whether the ces app is enabled in reactive mode.
At least one of proactive_enabled or reactive_enabled should be
true; otherwise, the ces app will be ignored.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|