Class SpreadsheetsResource.ValuesResource.BatchClearByDataFilterRequest
Clears one or more ranges of values from a spreadsheet. For more information, see Read, write, and search metadata. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc.) are kept.
Inheritance
SpreadsheetsResource.ValuesResource.BatchClearByDataFilterRequest
Inherited Members
Namespace: Google.Apis.Sheets.v4
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class SpreadsheetsResource.ValuesResource.BatchClearByDataFilterRequest : SheetsBaseServiceRequest<BatchClearValuesByDataFilterResponse>, IClientServiceRequest<BatchClearValuesByDataFilterResponse>, IClientServiceRequest
Constructors
BatchClearByDataFilterRequest(IClientService, BatchClearValuesByDataFilterRequest, string)
Constructs a new BatchClearByDataFilter request.
Declaration
public BatchClearByDataFilterRequest(IClientService service, BatchClearValuesByDataFilterRequest body, string spreadsheetId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BatchClearValuesByDataFilterRequest | 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 BatchClearByDataFilter parameter list.
Declaration
protected override void InitParameters()