Google Cloud Dialogflow Cx V3 Client - Class Version (0.1.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Version.

Represents a version of a flow.

Generated from protobuf message google.cloud.dialogflow.cx.v3.Version

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Format: projects/

↳ display_name string

Required. The human-readable name of the version. Limit of 64 characters.

↳ description string

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

↳ nlu_settings Google\Cloud\Dialogflow\Cx\V3\NluSettings

Output only. The NLU settings of the flow at version creation.

↳ create_time Google\Protobuf\Timestamp

Output only. Create time of the version.

↳ state int

Output only. The state of this version. This field is read-only and cannot be set by create and update methods.

getName

Format: projects/

Returns
TypeDescription
string

setName

Format: projects/

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Required. The human-readable name of the version. Limit of 64 characters.

Returns
TypeDescription
string

setDisplayName

Required. The human-readable name of the version. Limit of 64 characters.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

Returns
TypeDescription
string

setDescription

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNluSettings

Output only. The NLU settings of the flow at version creation.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\NluSettings|null

hasNluSettings

clearNluSettings

setNluSettings

Output only. The NLU settings of the flow at version creation.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\NluSettings
Returns
TypeDescription
$this

getCreateTime

Output only. Create time of the version.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time of the version.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

Output only. The state of this version. This field is read-only and cannot be set by create and update methods.

Returns
TypeDescription
int

setState

Output only. The state of this version. This field is read-only and cannot be set by create and update methods.

Parameter
NameDescription
var int
Returns
TypeDescription
$this