Google Cloud Dialogflow Cx V3 Client - Class Version (0.5.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
Name Description
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 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/

Version ID is a self-increasing number generated by Dialogflow upon version creation.

Returns
Type Description
string

setName

Format: projects/

Version ID is a self-increasing number generated by Dialogflow upon version creation.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

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

Returns
Type Description
string

setDisplayName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

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

Returns
Type Description
string

setDescription

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

Parameter
Name Description
var string
Returns
Type Description
$this

getNluSettings

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

Returns
Type Description
NluSettings|null

hasNluSettings

clearNluSettings

setNluSettings

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

Parameter
Name Description
var NluSettings
Returns
Type Description
$this

getCreateTime

Output only. Create time of the version.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time of the version.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getState

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

Returns
Type Description
int

setState

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

Parameter
Name Description
var int
Returns
Type Description
$this