Google Cloud Dialogflow Cx V3 Client - Class PlaybookVersion (0.11.0)

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

Playbook version is a snapshot of the playbook at certain timestamp.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

The unique identifier of the playbook version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID> .

↳ description
string

Optional. The description of the playbook version.

↳ playbook
Playbook

Output only. Snapshot of the playbook when the playbook version is created.

↳ examples
array< Example >

Output only. Snapshot of the examples belonging to the playbook when the playbook version is created.

↳ update_time
Google\Protobuf\Timestamp

Output only. Last time the playbook version was created or modified.

getName

The unique identifier of the playbook version.

Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID> .

Returns
Type
Description
string

setName

The unique identifier of the playbook version.

Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID> .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

Optional. The description of the playbook version.

Returns
Type
Description
string

setDescription

Optional. The description of the playbook version.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPlaybook

Output only. Snapshot of the playbook when the playbook version is created.

Returns
Type
Description
Playbook |null

hasPlaybook

clearPlaybook

setPlaybook

Output only. Snapshot of the playbook when the playbook version is created.

Parameter
Name
Description
var
Returns
Type
Description
$this

getExamples

Output only. Snapshot of the examples belonging to the playbook when the playbook version is created.

Returns
Type
Description

setExamples

Output only. Snapshot of the examples belonging to the playbook when the playbook version is created.

Parameter
Name
Description
var
array< Example >
Returns
Type
Description
$this

getUpdateTime

Output only. Last time the playbook version was created or modified.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last time the playbook version was created or modified.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: