Class DocumentsResource
The "documents" collection of methods.
Inherited Members
Namespace: Google.Apis.DeveloperKnowledge.v1alpha
Assembly: Google.Apis.DeveloperKnowledge.v1alpha.dll
Syntax
public class DocumentsResource
Constructors
DocumentsResource(IClientService)
Constructs a new resource.
Declaration
public DocumentsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
BatchGet()
Retrieves multiple documents, each with its full Markdown content.
Declaration
public virtual DocumentsResource.BatchGetRequest BatchGet()
Returns
| Type | Description |
|---|---|
| DocumentsResource.BatchGetRequest |
Get(string)
Retrieves a single document with its full Markdown content.
Declaration
public virtual DocumentsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the document to retrieve. Format: |
Returns
| Type | Description |
|---|---|
| DocumentsResource.GetRequest |
SearchDocumentChunks()
Searches for developer knowledge across Google's developer documentation. This method returns document chunks based on the user's query. There can be many chunks of the same Document. To retrieve full documents, use DeveloperKnowledge.GetDocument or DeveloperKnowledge.BatchGetDocuments with the DocumentChunk.parent returned in the SearchDocumentChunksResponse.results.
Declaration
public virtual DocumentsResource.SearchDocumentChunksRequest SearchDocumentChunks()
Returns
| Type | Description |
|---|---|
| DocumentsResource.SearchDocumentChunksRequest |