Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class CreateToolVersionRequest.
The request message for Tools.CreateToolVersion.
The request message for Tools.CreateToolVersion.
Generated from protobuf message google.cloud.dialogflow.cx.v3.CreateToolVersionRequest
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The tool to create a version for. Format: |
↳ tool_version |
ToolVersion
Required. The tool version to create. |
getParent
Required. The tool to create a version for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The tool to create a version for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getToolVersion
Required. The tool version to create.
| Returns | |
|---|---|
| Type | Description |
ToolVersion|null |
|
hasToolVersion
clearToolVersion
setToolVersion
Required. The tool version to create.
| Parameter | |
|---|---|
| Name | Description |
var |
ToolVersion
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The tool to create a version for.
Format:
|
toolVersion |
ToolVersion
Required. The tool version to create. |
| Returns | |
|---|---|
| Type | Description |
CreateToolVersionRequest |
|