Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ValidationMessage.
Agent/flow validation message.
Generated from protobuf message google.cloud.dialogflow.cx.v3.ValidationMessage
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ resource_type |
int
The type of the resources where the message is found. |
↳ resources |
array
The names of the resources where the message is found. |
↳ resource_names |
array<ResourceName>
The resource names of the resources where the message is found. |
↳ severity |
int
Indicates the severity of the message. |
↳ detail |
string
The message detail. |
getResourceType
The type of the resources where the message is found.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ResourceType. |
setResourceType
The type of the resources where the message is found.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ResourceType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResources
The names of the resources where the message is found.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setResources
The names of the resources where the message is found.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourceNames
The resource names of the resources where the message is found.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setResourceNames
The resource names of the resources where the message is found.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ResourceName>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSeverity
Indicates the severity of the message.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Severity. |
setSeverity
Indicates the severity of the message.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Severity. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDetail
The message detail.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDetail
The message detail.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|