Google Cloud Dialogflow Cx V3 Client - Class UpdateGeneratorRequest (0.2.1)

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

The request message for Generators.UpdateGenerator.

Generated from protobuf message google.cloud.dialogflow.cx.v3.UpdateGeneratorRequest

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ generator Google\Cloud\Dialogflow\Cx\V3\Generator

Required. The generator to update.

↳ language_code string

The language to list generators for.

↳ update_mask Google\Protobuf\FieldMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

getGenerator

Required. The generator to update.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\Generator|null

hasGenerator

clearGenerator

setGenerator

Required. The generator to update.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\Generator
Returns
TypeDescription
$this

getLanguageCode

The language to list generators for.

Returns
TypeDescription
string

setLanguageCode

The language to list generators for.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUpdateMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

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

static::build

Parameters
NameDescription
generator Google\Cloud\Dialogflow\Cx\V3\Generator

Required. The generator to update.

updateMask Google\Protobuf\FieldMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\UpdateGeneratorRequest