Google Cloud Dialogflow V2 Client - Class UpdateVersionRequest (1.2.0)

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

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

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
Returns
Type
Description
$this

getUpdateMask

Required. The mask to control which fields get updated.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields get updated.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: