Google Cloud Dialogflow Cx V3 Client - Class UpdateVersionRequest (0.5.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 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
Version|null

hasVersion

clearVersion

setVersion

Required. The version to update.

Parameter
Name Description
var 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 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
UpdateVersionRequest