Show / Hide Table of Contents

Class SpreadsheetsResource.GetByDataFilterRequest

Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters will return the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids will not be returned. You can include grid data one of two ways: * Specify a field mask listing your desired fields using the fields URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the includeGridData parameter is ignored For large spreadsheets, it is recommended to retrieve only the specific fields of the spreadsheet that you want.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Spreadsheet>
SheetsBaseServiceRequest<Spreadsheet>
SpreadsheetsResource.GetByDataFilterRequest
Implements
IClientServiceRequest<Spreadsheet>
IClientServiceRequest
Inherited Members
SheetsBaseServiceRequest<Spreadsheet>.Xgafv
SheetsBaseServiceRequest<Spreadsheet>.AccessToken
SheetsBaseServiceRequest<Spreadsheet>.Alt
SheetsBaseServiceRequest<Spreadsheet>.Callback
SheetsBaseServiceRequest<Spreadsheet>.Fields
SheetsBaseServiceRequest<Spreadsheet>.Key
SheetsBaseServiceRequest<Spreadsheet>.OauthToken
SheetsBaseServiceRequest<Spreadsheet>.PrettyPrint
SheetsBaseServiceRequest<Spreadsheet>.QuotaUser
SheetsBaseServiceRequest<Spreadsheet>.UploadType
SheetsBaseServiceRequest<Spreadsheet>.UploadProtocol
ClientServiceRequest<Spreadsheet>.Execute()
ClientServiceRequest<Spreadsheet>.ExecuteAsStream()
ClientServiceRequest<Spreadsheet>.ExecuteAsync()
ClientServiceRequest<Spreadsheet>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Spreadsheet>.ExecuteAsStreamAsync()
ClientServiceRequest<Spreadsheet>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Spreadsheet>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Spreadsheet>.GenerateRequestUri()
ClientServiceRequest<Spreadsheet>.GetDefaultETagAction(String)
ClientServiceRequest<Spreadsheet>.ETagAction
ClientServiceRequest<Spreadsheet>.ModifyRequest
ClientServiceRequest<Spreadsheet>.ValidateParameters
ClientServiceRequest<Spreadsheet>.RequestParameters
ClientServiceRequest<Spreadsheet>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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 GetByDataFilterRequest : SheetsBaseServiceRequest<Spreadsheet>, IClientServiceRequest<Spreadsheet>, IClientServiceRequest

Constructors

GetByDataFilterRequest(IClientService, GetSpreadsheetByDataFilterRequest, String)

Constructs a new GetByDataFilter request.

Declaration
public GetByDataFilterRequest(IClientService service, GetSpreadsheetByDataFilterRequest body, string spreadsheetId)
Parameters
Type Name Description
IClientService service
GetSpreadsheetByDataFilterRequest 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.Spreadsheet>.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.Spreadsheet>.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.Spreadsheet>.RestPath

SpreadsheetId

The spreadsheet to request.

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

InitParameters()

Initializes GetByDataFilter parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Sheets.v4.SheetsBaseServiceRequest<Google.Apis.Sheets.v4.Data.Spreadsheet>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top