Show / Hide Table of Contents

Class DocumentsResource

The "documents" collection of methods.

Inheritance
object
DocumentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: documents/{uri_without_scheme} Example: documents/docs.cloud.google.com/storage/docs/creating-buckets

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
In this article
Back to top Generated by DocFX