Google Cloud Dialogflow V2 Client - Class UpdateVersionRequest (1.10.2)

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Dialogflow\V2\Version
Returns
TypeDescription
$this

getUpdateMask

Required. The mask to control which fields get updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields get updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\UpdateVersionRequest