Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Represents the parameters of human assist query.
Instance Attribute Summary collapse
-
#documents_metadata_filters ⇒ Hash<String,String>
Key-value filters on the metadata of documents returned by article suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AssistQueryParameters
constructor
A new instance of GoogleCloudDialogflowV2beta1AssistQueryParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AssistQueryParameters
Returns a new instance of GoogleCloudDialogflowV2beta1AssistQueryParameters.
11670 11671 11672 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11670 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documents_metadata_filters ⇒ Hash<String,String>
Key-value filters on the metadata of documents returned by article suggestion.
If specified, article suggestion only returns suggested documents that match
all filters in their Document.metadata. Multiple values for a metadata key
should be concatenated by comma. For example, filters to match all documents
that have 'US' or 'CA' in their market metadata values and 'agent' in their
user metadata values will be documents_metadata_filters ` key: "market"
value: "US,CA" ` documents_metadata_filters ` key: "user" value: "agent" `
Corresponds to the JSON property documentsMetadataFilters
11668 11669 11670 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11668 def @documents_metadata_filters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11675 11676 11677 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11675 def update!(**args) @documents_metadata_filters = args[:documents_metadata_filters] if args.key?(:documents_metadata_filters) end |