Class DataType
Represents a type of health data a user can have data points recorded for. It matches the parent resource of collection containing data points of the given type.
Clients currently do not need to interact with this resource directly.
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class DataType : IMessage<DataType>, IEquatable<DataType>, IDeepCloneable<DataType>, IBufferMessage, IMessage
Constructors
DataType()
Declaration
public DataType()
DataType(DataType)
Declaration
public DataType(DataType other)
Parameters
| Type | Name | Description |
|---|---|---|
| DataType | other |
Properties
DataTypeName
DataTypeName-typed view over the Name resource name property.
Declaration
public DataTypeName DataTypeName { get; set; }
Property Value
| Type | Description |
|---|---|
| DataTypeName |
Name
Identifier. The resource name of the data type.
Format: users/{user}/dataTypes/{data_type}
See [DataPoint.name][google.devicesandservices.health.v4.DataPoint.name] for examples and possible values.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |