Class UsersResource.DataTypesResource.DataPointsResource.GetRequest
Get a single identifyable data point.
Inheritance
UsersResource.DataTypesResource.DataPointsResource.GetRequest
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4beta
Assembly: Google.Apis.GoogleHealthAPI.v4beta.dll
Syntax
public class UsersResource.DataTypesResource.DataPointsResource.GetRequest : GoogleHealthAPIBaseServiceRequest<DataPoint>, IClientServiceRequest<DataPoint>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
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
Name
Required. The name of the data point to retrieve. Format:
users/{user}/dataTypes/{data_type}/dataPoints/{data_point} ## Examples: ##
users/me/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef
users/1234567890/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef The {user}
can be either the alias me or the authenticated user's numeric Health User ID (retrieved via
GetIdentity). See DataPoint.name for examples and possible values.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()