Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

Settings for end user personalization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings.



4293
4294
4295
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4293

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#default_end_user_metadataHash<String,Object>

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. Corresponds to the JSON property defaultEndUserMetadata

Returns:

  • (Hash<String,Object>)


4291
4292
4293
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4291

def 
  @default_end_user_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4298
4299
4300
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4298

def update!(**args)
  @default_end_user_metadata = args[:default_end_user_metadata] if args.key?(:default_end_user_metadata)
end