- [JSON representation](https://developers.google.com/health/reference/rest/v4/HydrationLogRollupValue#SCHEMA_REPRESENTATION)
- [HydrationLogRollupValue.VolumeQuantityRollup](https://developers.google.com/health/reference/rest/v4/HydrationLogRollupValue#HydrationLogRollupValue.VolumeQuantityRollup)
  - [JSON representation](https://developers.google.com/health/reference/rest/v4/HydrationLogRollupValue#HydrationLogRollupValue.VolumeQuantityRollup.SCHEMA_REPRESENTATION)

Represents the result of the rollup of the hydration log data type.

| JSON representation |
|---|
| ``` { "amountConsumed": { object (`https://developers.google.com/health/reference/rest/v4/HydrationLogRollupValue#HydrationLogRollupValue.VolumeQuantityRollup`) } } ``` |

| Fields ||
|---|---|
| `amountConsumed` | ``object (`https://developers.google.com/health/reference/rest/v4/HydrationLogRollupValue#HydrationLogRollupValue.VolumeQuantityRollup`)`` Rollup for amount consumed. |

## HydrationLogRollupValue.VolumeQuantityRollup

Rollup for volume quantity.

| JSON representation |
|---|
| ``` { "userProvidedUnitLast": enum (`https://developers.google.com/health/reference/rest/v4/users.dataTypes.dataPoints#VolumeUnit`), "millilitersSum": number } ``` |

| Fields ||
|---|---|
| `userProvidedUnitLast` | ``enum (`https://developers.google.com/health/reference/rest/v4/users.dataTypes.dataPoints#VolumeUnit`)`` Optional. The user provided unit on the last element. |
| `millilitersSum` | `number` Required. The sum of volume in milliliters. |