Class BatchGetDocumentsRequest
Request message for [DeveloperKnowledge.BatchGetDocuments][google.developers.knowledge.v1.DeveloperKnowledge.BatchGetDocuments].
Implements
Namespace: Google.Developers.DeveloperKnowledge.V1
Assembly: Google.Developers.DeveloperKnowledge.V1.dll
Syntax
public sealed class BatchGetDocumentsRequest : IMessage<BatchGetDocumentsRequest>, IEquatable<BatchGetDocumentsRequest>, IDeepCloneable<BatchGetDocumentsRequest>, IBufferMessage, IMessage
Constructors
BatchGetDocumentsRequest()
Declaration
public BatchGetDocumentsRequest()
BatchGetDocumentsRequest(BatchGetDocumentsRequest)
Declaration
public BatchGetDocumentsRequest(BatchGetDocumentsRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchGetDocumentsRequest | other |
Properties
DocumentNames
DocumentName-typed view over the Names resource name property.
Declaration
public ResourceNameList<DocumentName> DocumentNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<DocumentName> |
Names
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
Declaration
public RepeatedField<string> Names { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
View
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.
Declaration
public DocumentView View { get; set; }
Property Value
| Type | Description |
|---|---|
| DocumentView |