Class UsersResource.DatasetResource.AggregateRequest
Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggregated into exactly one bucket type per request.
Inheritance
UsersResource.DatasetResource.AggregateRequest
Inherited Members
Namespace: Google.Apis.Fitness.v1
Assembly: Google.Apis.Fitness.v1.dll
Syntax
public class UsersResource.DatasetResource.AggregateRequest : FitnessBaseServiceRequest<AggregateResponse>, IClientServiceRequest<AggregateResponse>, IClientServiceRequest
Constructors
AggregateRequest(IClientService, AggregateRequest, string)
Constructs a new Aggregate request.
Declaration
public AggregateRequest(IClientService service, AggregateRequest body, string userId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AggregateRequest | body | |
string | userId |
Properties
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.AggregateResponse>.HttpMethod
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.AggregateResponse>.MethodName
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.AggregateResponse>.RestPath
UserId
Aggregate data 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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Fitness.v1.Data.AggregateResponse>.GetBody()
InitParameters()
Initializes Aggregate parameter list.
Declaration
protected override void InitParameters()