Show / Hide Table of Contents

Class UsersResource.DataSourcesResource.DatasetsResource.GetRequest

Returns a dataset containing all data points whose start and end times overlap with the specified range of the dataset minimum start time and maximum end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end time is greater than or equal to the dataset start time.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Dataset>
FitnessBaseServiceRequest<Dataset>
UsersResource.DataSourcesResource.DatasetsResource.GetRequest
Implements
IClientServiceRequest<Dataset>
IClientServiceRequest
Inherited Members
FitnessBaseServiceRequest<Dataset>.Xgafv
FitnessBaseServiceRequest<Dataset>.AccessToken
FitnessBaseServiceRequest<Dataset>.Alt
FitnessBaseServiceRequest<Dataset>.Callback
FitnessBaseServiceRequest<Dataset>.Fields
FitnessBaseServiceRequest<Dataset>.Key
FitnessBaseServiceRequest<Dataset>.OauthToken
FitnessBaseServiceRequest<Dataset>.PrettyPrint
FitnessBaseServiceRequest<Dataset>.QuotaUser
FitnessBaseServiceRequest<Dataset>.UploadType
FitnessBaseServiceRequest<Dataset>.UploadProtocol
ClientServiceRequest<Dataset>.Execute()
ClientServiceRequest<Dataset>.ExecuteAsStream()
ClientServiceRequest<Dataset>.ExecuteAsync()
ClientServiceRequest<Dataset>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Dataset>.ExecuteAsStreamAsync()
ClientServiceRequest<Dataset>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Dataset>.CreateRequest(bool?)
ClientServiceRequest<Dataset>.GenerateRequestUri()
ClientServiceRequest<Dataset>.GetBody()
ClientServiceRequest<Dataset>.GetDefaultETagAction(string)
ClientServiceRequest<Dataset>.ETagAction
ClientServiceRequest<Dataset>.ModifyRequest
ClientServiceRequest<Dataset>.ValidateParameters
ClientServiceRequest<Dataset>.ApiVersion
ClientServiceRequest<Dataset>.RequestParameters
ClientServiceRequest<Dataset>.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.Fitness.v1
Assembly: Google.Apis.Fitness.v1.dll
Syntax
public class UsersResource.DataSourcesResource.DatasetsResource.GetRequest : FitnessBaseServiceRequest<Dataset>, IClientServiceRequest<Dataset>, IClientServiceRequest

Constructors

GetRequest(IClientService, string, string, string)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string userId, string dataSourceId, string datasetId)
Parameters
Type Name Description
IClientService service
string userId
string dataSourceId
string datasetId

Properties

DataSourceId

The data stream ID of the data source that created the dataset.

Declaration
[RequestParameter("dataSourceId", RequestParameterType.Path)]
public virtual string DataSourceId { get; }
Property Value
Type Description
string

DatasetId

Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" where startTime and endTime are 64 bit integers.

Declaration
[RequestParameter("datasetId", RequestParameterType.Path)]
public virtual string DatasetId { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Fitness.v1.Data.Dataset>.HttpMethod

Limit

If specified, no more than this many data points will be included in the dataset. If there are more data points in the dataset, nextPageToken will be set in the dataset response. The limit is applied from the end of the time range. That is, if pageToken is absent, the limit most recent data points will be returned.

Declaration
[RequestParameter("limit", RequestParameterType.Query)]
public virtual int? Limit { get; set; }
Property Value
Type Description
int?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Fitness.v1.Data.Dataset>.MethodName

PageToken

The continuation token, which is used to page through large datasets. To get the next page of a dataset, set this parameter to the value of nextPageToken from the previous response. Each subsequent call will yield a partial dataset with data point end timestamps that are strictly smaller than those in the previous partial response.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Fitness.v1.Data.Dataset>.RestPath

UserId

Retrieve a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.

Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
FitnessBaseServiceRequest<Dataset>.InitParameters()

Implements

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