Google Cloud Dialogflow V2 Client - Class UpdateGeneratorRequest (1.13.0)

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

Request of UpdateGenerator.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ generator Google\Cloud\Dialogflow\V2\Generator

Required. The generator to update. The name field of generator is to identify the generator to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getGenerator

Required. The generator to update.

The name field of generator is to identify the generator to update.

Returns
Type Description
Google\Cloud\Dialogflow\V2\Generator|null

hasGenerator

clearGenerator

setGenerator

Required. The generator to update.

The name field of generator is to identify the generator to update.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\Generator
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

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

static::build

Parameters
Name Description
generator Google\Cloud\Dialogflow\V2\Generator

Required. The generator to update. The name field of generator is to identify the generator to update.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

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