Google Cloud Dialogflow Cx V3 Client - Class CreateVersionRequest (0.1.1)

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

The request message for Versions.CreateVersion.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The Flow to create an Version for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

↳ version Google\Cloud\Dialogflow\Cx\V3\Version

Required. The version to create.

getParent

Required. The Flow to create an Version for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

Returns
TypeDescription
string

setParent

Required. The Flow to create an Version for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

Required. The version to create.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\Version|null

hasVersion

clearVersion

setVersion

Required. The version to create.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\Version
Returns
TypeDescription
$this