Class AggregateRequest
Next id: 10
Implements
Inherited Members
Namespace: Google.Apis.Fitness.v1.Data
Assembly: Google.Apis.Fitness.v1.dll
Syntax
public class AggregateRequest : IDirectResponseSchema
Properties
AggregateBy
The specification of data to be aggregated. At least one aggregateBy spec must be provided. All data that is specified will be aggregated using the same bucketing criteria. There will be one dataset in the response for every aggregateBy spec.
Declaration
[JsonProperty("aggregateBy")]
public virtual IList<AggregateBy> AggregateBy { get; set; }
Property Value
Type | Description |
---|---|
IList<AggregateBy> |
BucketByActivitySegment
Specifies that data be aggregated each activity segment recorded for a user. Similar to bucketByActivitySegment, but bucketing is done for each activity segment rather than all segments of the same type. Mutually exclusive of other bucketing specifications.
Declaration
[JsonProperty("bucketByActivitySegment")]
public virtual BucketByActivity BucketByActivitySegment { get; set; }
Property Value
Type | Description |
---|---|
BucketByActivity |
BucketByActivityType
Specifies that data be aggregated by the type of activity being performed when the data was recorded. All data that was recorded during a certain activity type (.for the given time range) will be aggregated into the same bucket. Data that was recorded while the user was not active will not be included in the response. Mutually exclusive of other bucketing specifications.
Declaration
[JsonProperty("bucketByActivityType")]
public virtual BucketByActivity BucketByActivityType { get; set; }
Property Value
Type | Description |
---|---|
BucketByActivity |
BucketBySession
Specifies that data be aggregated by user sessions. Data that does not fall within the time range of a session will not be included in the response. Mutually exclusive of other bucketing specifications.
Declaration
[JsonProperty("bucketBySession")]
public virtual BucketBySession BucketBySession { get; set; }
Property Value
Type | Description |
---|---|
BucketBySession |
BucketByTime
Specifies that data be aggregated by a single time interval. Mutually exclusive of other bucketing specifications.
Declaration
[JsonProperty("bucketByTime")]
public virtual BucketByTime BucketByTime { get; set; }
Property Value
Type | Description |
---|---|
BucketByTime |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EndTimeMillis
The end of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive. The maximum allowed difference between start_time_millis // and end_time_millis is 7776000000 (roughly 90 days).
Declaration
[JsonProperty("endTimeMillis")]
public virtual long? EndTimeMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |
FilteredDataQualityStandard
DO NOT POPULATE THIS FIELD. It is ignored.
Declaration
[JsonProperty("filteredDataQualityStandard")]
public virtual IList<string> FilteredDataQualityStandard { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
StartTimeMillis
The start of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive.
Declaration
[JsonProperty("startTimeMillis")]
public virtual long? StartTimeMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |