Google Cloud Dialogflow Cx V3 Client - Class UpdateVersionRequest (0.4.0)

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

The request message for Versions.UpdateVersion.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

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

Required. The version to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated. Currently only description and display_name can be updated.

getVersion

Required. The version to update.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\Version|null

hasVersion

clearVersion

setVersion

Required. The version to update.

Parameter
Name Description
var Google\Cloud\Dialogflow\Cx\V3\Version
Returns
Type Description
$this

getUpdateMask

Required. The mask to control which fields get updated. Currently only description and display_name can be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields get updated. Currently only description and display_name can be updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
version Google\Cloud\Dialogflow\Cx\V3\Version

Required. The version to update.

updateMask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated. Currently only description and display_name can be updated.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\UpdateVersionRequest