Class BatchGetDocumentsRequest (0.1.2)

BatchGetDocumentsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for DeveloperKnowledge.BatchGetDocuments][google.developers.knowledge.v1.DeveloperKnowledge.BatchGetDocuments].

Attributes

Name Description
names MutableSequence[str]
Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the names in the request. Format: documents/{uri_without_scheme} Example: documents/docs.cloud.google.com/storage/docs/creating-buckets Each name must not exceed 500 characters; values longer than 500 characters will result in an INVALID_ARGUMENT error.
view google.developer_knowledge_v1.types.DocumentView
Optional. Specifies the DocumentView][google.developers.knowledge.v1.DocumentView] of the document. If unspecified, DeveloperKnowledge.BatchGetDocuments][google.developers.knowledge.v1.DeveloperKnowledge.BatchGetDocuments] defaults to DOCUMENT_VIEW_CONTENT.