Google Cloud Dialogflow V2 Client - Class UpdateDocumentRequest (2.1.1)

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

Request message for Documents.UpdateDocument .

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ document
Document

Required. The document to update.

↳ update_mask
Google\Protobuf\FieldMask

Optional. Not specified means update all . Currently, only display_name can be updated, an InvalidArgument will be returned for attempting to update other fields.

getDocument

Required. The document to update.

Returns
Type
Description
Document |null

hasDocument

clearDocument

setDocument

Required. The document to update.

Parameter
Name
Description
var
Returns
Type
Description
$this

getUpdateMask

Optional. Not specified means update all .

Currently, only display_name can be updated, an InvalidArgument will be returned for attempting to update other fields.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Not specified means update all .

Currently, only display_name can be updated, an InvalidArgument will be returned for attempting to update other fields.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
document
Document

Required. The document to update.

updateMask
Google\Protobuf\FieldMask

Optional. Not specified means update all . Currently, only display_name can be updated, an InvalidArgument will be returned for attempting to update other fields.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: