Class FoodServing
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 FoodServing : 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 |
FoodMeasurementUnitDisplayNamePlural
Output only. Legacy measurement unit for serving size in plural form (e.g. "pieces", "grams").
Declaration
[JsonProperty("foodMeasurementUnitDisplayNamePlural")]
public virtual string FoodMeasurementUnitDisplayNamePlural { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Multiplier
Optional. Value representing the multiplier used to compute the energy when using this serving instead of the default serving.
Declaration
[JsonProperty("multiplier")]
public virtual double? Multiplier { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |