Class CreateDataPointRequest
Request to create an identifiable data point.
Implements
Namespace: Google.DevicesAndServices.Health.V4Beta
Assembly: Google.DevicesAndServices.Health.V4Beta.dll
Syntax
public sealed class CreateDataPointRequest : IMessage<CreateDataPointRequest>, IEquatable<CreateDataPointRequest>, IDeepCloneable<CreateDataPointRequest>, IBufferMessage, IMessage
Constructors
CreateDataPointRequest()
Declaration
public CreateDataPointRequest()
CreateDataPointRequest(CreateDataPointRequest)
Declaration
public CreateDataPointRequest(CreateDataPointRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDataPointRequest | other |
Properties
DataPoint
Required. The data point to create.
Declaration
public DataPoint DataPoint { get; set; }
Property Value
| Type | Description |
|---|---|
| DataPoint |
Parent
Required. The parent resource name where the data point will be created.
Format: users/{user}/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/1234567890/dataTypes/steps
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]).
Declaration
public string Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ParentAsDataTypeName
DataTypeName-typed view over the Parent resource name property.
Declaration
public DataTypeName ParentAsDataTypeName { get; set; }
Property Value
| Type | Description |
|---|---|
| DataTypeName |