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, data validation, etc..) are kept.
Inheritance
System.Object
SpreadsheetsResource.ValuesResource.BatchClearRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Sheets.v4
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class 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 | |
System.String | spreadsheetId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Sheets.v4.Data.BatchClearValuesResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Sheets.v4.Data.BatchClearValuesResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Sheets.v4.Data.BatchClearValuesResponse>.RestPath
SpreadsheetId
The ID of the spreadsheet to update.
Declaration
[RequestParameter("spreadsheetId", RequestParameterType.Path)]
public virtual string SpreadsheetId { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Sheets.v4.Data.BatchClearValuesResponse>.GetBody()
InitParameters()
Initializes BatchClear parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Sheets.v4.SheetsBaseServiceRequest<Google.Apis.Sheets.v4.Data.BatchClearValuesResponse>.InitParameters()