Class UsersResource.DataTypesResource.DataPointsResource.RollUpRequest
Roll up data points over physical time intervals for supported data types.
Inheritance
UsersResource.DataTypesResource.DataPointsResource.RollUpRequest
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class UsersResource.DataTypesResource.DataPointsResource.RollUpRequest : GoogleHealthAPIBaseServiceRequest<RollUpDataPointsResponse>, IClientServiceRequest<RollUpDataPointsResponse>, IClientServiceRequest
Constructors
RollUpRequest(IClientService, RollUpDataPointsRequest, string)
Constructs a new RollUp request.
Declaration
public RollUpRequest(IClientService service, RollUpDataPointsRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RollUpDataPointsRequest | body | |
| string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Parent
Required. Parent data type of the Data Point collection. Format:
users/{user}/dataTypes/{data_type}, e.g.: - users/me/dataTypes/steps -
users/me/dataTypes/distance For a list of the supported data types see the RollupDataPoint
value union field.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes RollUp parameter list.
Declaration
protected override void InitParameters()