Reference documentation and code samples for the Google Developer Knowledge V1 Client class BatchGetDocumentsRequest.
Request message for DeveloperKnowledge.BatchGetDocuments .
Generated from protobuf message google.developers.knowledge.v1.BatchGetDocumentsRequest
Namespace
Google \ Developers \ DeveloperKnowledge \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ names
string[]
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
↳ view
int
Optional. Specifies the DocumentView
of the document. If unspecified, DeveloperKnowledge.BatchGetDocuments
defaults to DOCUMENT_VIEW_CONTENT
.
getNames
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
setNames
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
var
string[]
$this
getView
Optional. Specifies the DocumentView
of the
document. If unspecified, DeveloperKnowledge.BatchGetDocuments
defaults to DOCUMENT_VIEW_CONTENT
.
setView
Optional. Specifies the DocumentView
of the
document. If unspecified, DeveloperKnowledge.BatchGetDocuments
defaults to DOCUMENT_VIEW_CONTENT
.
$this

