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

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

Request for UpdateGenerativeSettings RPC.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ generative_settings Google\Cloud\Dialogflow\Cx\V3\GenerativeSettings

Required. Generative settings to update.

↳ update_mask Google\Protobuf\FieldMask

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

getGenerativeSettings

Required. Generative settings to update.

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

hasGenerativeSettings

clearGenerativeSettings

setGenerativeSettings

Required. Generative settings to update.

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

getUpdateMask

Optional. 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

Optional. 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
generativeSettings Google\Cloud\Dialogflow\Cx\V3\GenerativeSettings

Required. Generative settings to update.

updateMask Google\Protobuf\FieldMask

Optional. 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\UpdateGenerativeSettingsRequest