Class: Google::Cloud::Dialogflow::V2::ListDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::ListDocumentsRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/document.rb
Overview
Request message for Documents.ListDocuments.
Instance Attribute Summary collapse
-
#filter ⇒ ::String
The filter expression used to filter documents returned by the list method.
-
#page_size ⇒ ::Integer
The maximum number of items to return in a single page.
-
#page_token ⇒ ::String
The next_page_token value returned from a previous list request.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#filter ⇒ ::String
Returns The filter expression used to filter documents returned by the list method. The expression has the following syntax:
The following fields and operators are supported:
- knowledge_types with has(:) operator
- display_name with has(:) operator
- state with equals(=) operator
Examples:
- "knowledge_types:FAQ" matches documents with FAQ knowledge type.
- "display_name:customer" matches documents whose display name contains "customer".
- "state=ACTIVE" matches documents with ACTIVE state.
- "knowledge_types:FAQ AND state=ACTIVE" matches all active FAQ documents.
For more information about filtering, see API Filtering.
219 220 221 222 |
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 219 class ListDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#page_size ⇒ ::Integer
Returns The maximum number of items to return in a single page. By default 10 and at most 100.
219 220 221 222 |
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 219 class ListDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#page_token ⇒ ::String
Returns The next_page_token value returned from a previous list request.
219 220 221 222 |
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 219 class ListDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The knowledge base to list all documents for.
Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>
.
219 220 221 222 |
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 219 class ListDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |