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<Google\Cloud\Dialogflow\Cx\V3\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 |
setResourceType
The type of the resources where the message is found.
Parameter | |
---|---|
Name | Description |
var |
int
|
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<Google\Cloud\Dialogflow\Cx\V3\ResourceName>
|
Returns | |
---|---|
Type | Description |
$this |
getSeverity
Indicates the severity of the message.
Returns | |
---|---|
Type | Description |
int |
setSeverity
Indicates the severity of the message.
Parameter | |
---|---|
Name | Description |
var |
int
|
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 |