Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ToolVersion.
Tool version is a snapshot of the tool at certain timestamp.
Generated from protobuf message google.cloud.dialogflow.cx.v3.ToolVersion
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The unique identifier of the tool version. Format: |
↳ display_name |
string
Required. The display name of the tool version. |
↳ tool |
Tool
Required. Snapshot of the tool to be associated with this version. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Last time the tool version was created or modified. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Last time the tool version was created or modified. |
getName
Identifier. The unique identifier of the tool version.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>/versions/<VersionID>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The unique identifier of the tool version.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>/versions/<VersionID>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Required. The display name of the tool version.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Required. The display name of the tool version.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTool
Required. Snapshot of the tool to be associated with this version.
| Returns | |
|---|---|
| Type | Description |
Tool|null |
|
hasTool
clearTool
setTool
Required. Snapshot of the tool to be associated with this version.
| Parameter | |
|---|---|
| Name | Description |
var |
Tool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. Last time the tool version was created or modified.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. Last time the tool version was created or modified.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. Last time the tool version was created or modified.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Last time the tool version was created or modified.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|