Class GetDataPointRequest
Request for getting a single data point
Implements
Namespace: Google.DevicesAndServices.Health.V4Beta
Assembly: Google.DevicesAndServices.Health.V4Beta.dll
Syntax
public sealed class GetDataPointRequest : IMessage<GetDataPointRequest>, IEquatable<GetDataPointRequest>, IDeepCloneable<GetDataPointRequest>, IBufferMessage, IMessage
Constructors
GetDataPointRequest()
Declaration
public GetDataPointRequest()
GetDataPointRequest(GetDataPointRequest)
Declaration
public GetDataPointRequest(GetDataPointRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataPointRequest | other |
Properties
DataPointName
DataPointName-typed view over the Name resource name property.
Declaration
public DataPointName DataPointName { get; set; }
Property Value
| Type | Description |
|---|---|
| DataPointName |
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][google.devicesandservices.health.v4beta.HealthProfileService.GetIdentity]).
See [DataPoint.name][google.devicesandservices.health.v4beta.DataPoint.name] for examples and possible values.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |