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

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 \ V3

Methods

__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: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID> .

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

static::build

Parameters
Name
Description
parent
string

Required. The tool to create a version for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID> . Please see ToolsClient::toolName() for help formatting this field.

toolVersion
ToolVersion

Required. The tool version to create.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: