Class SpreadsheetsResource.ValuesResource.BatchClearRequest
Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared -- all other properties of the cell (such as formatting and data validation) are kept.
Inheritance
SpreadsheetsResource.ValuesResource.BatchClearRequest
Inherited Members
Namespace: Google.Apis.Sheets.v4
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class SpreadsheetsResource.ValuesResource.BatchClearRequest : SheetsBaseServiceRequest<BatchClearValuesResponse>, IClientServiceRequest<BatchClearValuesResponse>, IClientServiceRequest
Constructors
BatchClearRequest(IClientService, BatchClearValuesRequest, string)
Constructs a new BatchClear request.
Declaration
public BatchClearRequest(IClientService service, BatchClearValuesRequest body, string spreadsheetId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchClearValuesRequest | body | |
string | spreadsheetId |
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
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 BatchClear parameter list.
Declaration
protected override void InitParameters()