Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings

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

Overview

Settings for end user personalization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AgentPersonalizationSettings

Returns a new instance of GoogleCloudDialogflowCxV3AgentPersonalizationSettings.



522
523
524
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 522

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


520
521
522
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 520

def 
  @default_end_user_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



527
528
529
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 527

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