Class SpreadsheetsResource.ValuesResource.ClearRequest
Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept.
Inheritance
SpreadsheetsResource.ValuesResource.ClearRequest
Inherited Members
Namespace: Google.Apis.Sheets.v4
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class SpreadsheetsResource.ValuesResource.ClearRequest : SheetsBaseServiceRequest<ClearValuesResponse>, IClientServiceRequest<ClearValuesResponse>, IClientServiceRequest
Constructors
ClearRequest(IClientService, ClearValuesRequest, string, string)
Constructs a new Clear request.
Declaration
public ClearRequest(IClientService service, ClearValuesRequest body, string spreadsheetId, string range)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ClearValuesRequest | body | |
string | spreadsheetId | |
string | range |
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
Range
The A1 notation or R1C1 notation of the values to clear.
Declaration
[RequestParameter("range", RequestParameterType.Path)]
public virtual string Range { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SpreadsheetId
The ID of the spreadsheet to update.
Declaration
[RequestParameter("spreadsheetId", RequestParameterType.Path)]
public virtual string SpreadsheetId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Clear parameter list.
Declaration
protected override void InitParameters()