Class DocumentsResource.BatchGetRequest
Retrieves multiple documents, each with its full Markdown content.
Inheritance
DocumentsResource.BatchGetRequest
Inherited Members
Namespace: Google.Apis.DeveloperKnowledge.v1alpha
Assembly: Google.Apis.DeveloperKnowledge.v1alpha.dll
Syntax
public class DocumentsResource.BatchGetRequest : DeveloperKnowledgeBaseServiceRequest<BatchGetDocumentsResponse>, IClientServiceRequest<BatchGetDocumentsResponse>, IClientServiceRequest
Constructors
BatchGetRequest(IClientService)
Constructs a new BatchGet request.
Declaration
public BatchGetRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Names
Required. 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
[RequestParameter("names", RequestParameterType.Query)]
public virtual Repeatable<string> Names { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes BatchGet parameter list.
Declaration
protected override void InitParameters()