Class Serving
Represents different properties and information about the serving of a specific food.
Implements
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4.Data
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class Serving : IDirectResponseSchema
Properties
Amount
Optional. Amount of food consumed, fractional values are supported.
Declaration
[JsonProperty("amount")]
public virtual double? Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FoodMeasurementUnit
Required. Food measurement unit
Declaration
[JsonProperty("foodMeasurementUnit")]
public virtual string FoodMeasurementUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FoodMeasurementUnitDisplayName
Output only. Legacy measurement unit for serving size in singular form (e.g. "piece", "gram").
Declaration
[JsonProperty("foodMeasurementUnitDisplayName")]
public virtual string FoodMeasurementUnitDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |