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.



4248
4249
4250
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4248

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>)


4246
4247
4248
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4246

def 
  @default_end_user_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4253
4254
4255
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4253

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