Google Cloud Dialogflow Cx V3 Client - Class PersonalizationSettings (0.5.1)

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

Settings for end user personalization.

Generated from protobuf message google.cloud.dialogflow.cx.v3.Agent.PersonalizationSettings

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ Agent

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ default_end_user_metadata Google\Protobuf\Struct

Optional. Default end user metadata, used when processing DetectIntent requests. Recommended to be filled as a template instead of hard-coded value, for example { "age": "$session.params.age" }. The data will be merged with the QueryParameters.end_user_metadata in DetectIntentRequest.query_params during query processing.

getDefaultEndUserMetadata

Optional. Default end user metadata, used when processing DetectIntent requests. Recommended to be filled as a template instead of hard-coded value, for example { "age": "$session.params.age" }. The data will be merged with the QueryParameters.end_user_metadata in DetectIntentRequest.query_params during query processing.

Returns
Type Description
Google\Protobuf\Struct|null

hasDefaultEndUserMetadata

clearDefaultEndUserMetadata

setDefaultEndUserMetadata

Optional. Default end user metadata, used when processing DetectIntent requests. Recommended to be filled as a template instead of hard-coded value, for example { "age": "$session.params.age" }. The data will be merged with the QueryParameters.end_user_metadata in DetectIntentRequest.query_params during query processing.

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