# TieringPolicy

- [JSON representation](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1/TieringPolicy#SCHEMA_REPRESENTATION)
- [TierAction](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1/TieringPolicy#TierAction)

Defines tiering policy for the volume.

| JSON representation |
|---|
| ``` { "tierAction": enum (`https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1/TieringPolicy#TierAction`), "coolingThresholdDays": integer, "hotTierBypassModeEnabled": boolean } ``` |

| Fields ||
|---|---|
| `tierAction` | ``enum (`https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1/TieringPolicy#TierAction`)`` Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED. |
| `coolingThresholdDays` | `integer` Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183. Default is 31. |
| `hotTierBypassModeEnabled` | `boolean` Optional. Flag indicating that the hot tier bypass mode is enabled. Default is false. This is only applicable to Flex service level. |

## TierAction

Tier action for the volume.

| Enums ||
|---|---|
| `TIER_ACTION_UNSPECIFIED` | Unspecified. |
| `ENABLED` | When tiering is enabled, new cold data will be tiered. |
| `PAUSED` | When paused, tiering won't be performed on new data. Existing data stays tiered until accessed. |