Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings
- 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
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AgentPersonalizationSettings
constructor
A new instance of GoogleCloudDialogflowCxV3AgentPersonalizationSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AgentPersonalizationSettings
Returns a new instance of GoogleCloudDialogflowCxV3AgentPersonalizationSettings.
480 481 482 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 480 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_end_user_metadata ⇒ Hash<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
478 479 480 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 478 def @default_end_user_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
485 486 487 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 485 def update!(**args) @default_end_user_metadata = args[:default_end_user_metadata] if args.key?(:default_end_user_metadata) end |