Google Cloud Dialogflow Cx V3 Client - Class ValidationMessage (0.2.1)

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 \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setResourceType

The type of the resources where the message is found.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResources

The names of the resources where the message is found.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResources

The names of the resources where the message is found.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getResourceNames

The resource names of the resources where the message is found.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResourceNames

The resource names of the resources where the message is found.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\Cx\V3\ResourceName>
Returns
TypeDescription
$this

getSeverity

Indicates the severity of the message.

Returns
TypeDescription
int

setSeverity

Indicates the severity of the message.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDetail

The message detail.

Returns
TypeDescription
string

setDetail

The message detail.

Parameter
NameDescription
var string
Returns
TypeDescription
$this