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

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 Playbook
Returns
Type Description
$this

getExamples

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

Returns
Type Description
Google\Protobuf\RepeatedField<Example>

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
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

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