Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<ClearValuesResponse>
SheetsBaseServiceRequest<ClearValuesResponse>
SpreadsheetsResource.ValuesResource.ClearRequest
Implements
IClientServiceRequest<ClearValuesResponse>
IClientServiceRequest
Inherited Members
SheetsBaseServiceRequest<ClearValuesResponse>.Xgafv
SheetsBaseServiceRequest<ClearValuesResponse>.AccessToken
SheetsBaseServiceRequest<ClearValuesResponse>.Alt
SheetsBaseServiceRequest<ClearValuesResponse>.Callback
SheetsBaseServiceRequest<ClearValuesResponse>.Fields
SheetsBaseServiceRequest<ClearValuesResponse>.Key
SheetsBaseServiceRequest<ClearValuesResponse>.OauthToken
SheetsBaseServiceRequest<ClearValuesResponse>.PrettyPrint
SheetsBaseServiceRequest<ClearValuesResponse>.QuotaUser
SheetsBaseServiceRequest<ClearValuesResponse>.UploadType
SheetsBaseServiceRequest<ClearValuesResponse>.UploadProtocol
ClientServiceRequest<ClearValuesResponse>.Execute()
ClientServiceRequest<ClearValuesResponse>.ExecuteAsStream()
ClientServiceRequest<ClearValuesResponse>.ExecuteAsync()
ClientServiceRequest<ClearValuesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ClearValuesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ClearValuesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ClearValuesResponse>.CreateRequest(bool?)
ClientServiceRequest<ClearValuesResponse>.GenerateRequestUri()
ClientServiceRequest<ClearValuesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ClearValuesResponse>.ETagAction
ClientServiceRequest<ClearValuesResponse>.ModifyRequest
ClientServiceRequest<ClearValuesResponse>.ValidateParameters
ClientServiceRequest<ClearValuesResponse>.ApiVersion
ClientServiceRequest<ClearValuesResponse>.RequestParameters
ClientServiceRequest<ClearValuesResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<ClearValuesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ClearValuesResponse>.MethodName

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
ClientServiceRequest<ClearValuesResponse>.RestPath

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
ClientServiceRequest<ClearValuesResponse>.GetBody()

InitParameters()

Initializes Clear parameter list.

Declaration
protected override void InitParameters()
Overrides
SheetsBaseServiceRequest<ClearValuesResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX