Google Cloud Dialogflow V2 Client - Class UpdateVersionRequest (1.12.3)

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

The request message for Versions.UpdateVersion.

Generated from protobuf message google.cloud.dialogflow.v2.UpdateVersionRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version Google\Cloud\Dialogflow\V2\Version

Required. The version to update. Supported formats: - projects/<Project ID>/agent/versions/<Version ID> - projects/<Project ID>/locations/<Location ID>/agent/versions/<Version ID>

↳ update_mask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated.

getVersion

Required. The version to update.

Supported formats:

  • projects/<Project ID>/agent/versions/<Version ID>
  • projects/<Project ID>/locations/<Location ID>/agent/versions/<Version ID>
Returns
Type Description
Google\Cloud\Dialogflow\V2\Version|null

hasVersion

clearVersion

setVersion

Required. The version to update.

Supported formats:

  • projects/<Project ID>/agent/versions/<Version ID>
  • projects/<Project ID>/locations/<Location ID>/agent/versions/<Version ID>
Parameter
Name Description
var Google\Cloud\Dialogflow\V2\Version
Returns
Type Description
$this

getUpdateMask

Required. The mask to control which fields get updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields get updated.

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

static::build

Parameters
Name Description
version Google\Cloud\Dialogflow\V2\Version

Required. The version to update. Supported formats:

  • projects/<Project ID>/agent/versions/<Version ID>
  • projects/<Project ID>/locations/<Location ID>/agent/versions/<Version ID>
updateMask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated.

Returns
Type Description
Google\Cloud\Dialogflow\V2\UpdateVersionRequest