Class DocumentsResource.GetRequest
Gets the latest version of the specified document.
Inheritance
DocumentsResource.GetRequest
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Docs.v1.Data.Document>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Docs.v1.Data.Document>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Docs.v1.Data.Document>.RestPath
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()