Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
- 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
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings.
4256 4257 4258 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4256 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
4254 4255 4256 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4254 def @default_end_user_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4261 4262 4263 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4261 def update!(**args) @default_end_user_metadata = args[:default_end_user_metadata] if args.key?(:default_end_user_metadata) end |