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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ generative_settings 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
Type Description
GenerativeSettings|null

hasGenerativeSettings

clearGenerativeSettings

setGenerativeSettings

Required. Generative settings to update.

Parameter
Name Description
var GenerativeSettings
Returns
Type Description
$this

getUpdateMask

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

Returns
Type Description
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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
generativeSettings 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
Type Description
UpdateGenerativeSettingsRequest