Show / Hide Table of Contents

Class Serving

Represents different properties and information about the serving of a specific food.

Inheritance
object
Serving
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX