Class DocumentsResource.GetRequest
Gets the latest version of the specified document.
Inheritance
Inherited Members
Namespace: Google.Apis.Docs.v1
Assembly: Google.Apis.Docs.v1.dll
Syntax
public class DocumentsResource.GetRequest : DocsBaseServiceRequest<Document>, IClientServiceRequest<Document>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string documentId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | documentId |
Properties
DocumentId
The ID of the document to retrieve.
Declaration
[RequestParameter("documentId", RequestParameterType.Path)]
public virtual string DocumentId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
IncludeTabsContent
Whether to populate the Document.tabs field instead of the text content fields like body
and
documentStyle
on Document. - When True
: Document content populates in the Document.tabs field
instead of the text content fields in Document. - When False
: The content of the document's first tab
populates the content fields in Document excluding Document.tabs. If a document has only one tab, then
that tab is used to populate the document content. Document.tabs will be empty.
Declaration
[RequestParameter("includeTabsContent", RequestParameterType.Query)]
public virtual bool? IncludeTabsContent { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SuggestionsViewMode
The suggestions view mode to apply to the document. This allows viewing the document with all suggestions inline, accepted or rejected. If one is not specified, DEFAULT_FOR_CURRENT_ACCESS is used.
Declaration
[RequestParameter("suggestionsViewMode", RequestParameterType.Query)]
public virtual DocumentsResource.GetRequest.SuggestionsViewModeEnum? SuggestionsViewMode { get; set; }
Property Value
Type | Description |
---|---|
DocumentsResource.GetRequest.SuggestionsViewModeEnum? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()