Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CreateVersionRequest.
The request message for Versions.CreateVersion .
Generated from protobuf message google.cloud.dialogflow.v2.CreateVersionRequest
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The agent to create a version for. Supported formats: - projects/<Project ID>/agent
- projects/<Project ID>/locations/<Location ID>/agent
↳ version
getParent
Required. The agent to create a version for.
Supported formats:
-
projects/<Project ID>/agent
-
projects/<Project ID>/locations/<Location ID>/agent
string
setParent
Required. The agent to create a version for.
Supported formats:
-
projects/<Project ID>/agent
-
projects/<Project ID>/locations/<Location ID>/agent
var
string
$this
getVersion
Required. The version to create.
hasVersion
clearVersion
setVersion
Required. The version to create.
$this
static::build
parent
string
Required. The agent to create a version for. Supported formats:
-
projects/<Project ID>/agent
-
projects/<Project ID>/locations/<Location ID>/agent
Please see Google\Cloud\Dialogflow\V2\VersionsClient::agentName() for help formatting this field.
version