# Google Cloud Net App V1 Client - Class TieringPolicy (1.12.0)

1.12.0 (latest) 1.11.0 1.10.2 1.9.0 1.8.1 1.7.0 1.6.1 1.4.0 1.3.1 1.2.1 1.1.1 1.0.1 0.3.1 0.2.6 0.1.1 Reference documentation and code samples for the Google Cloud Net App V1 Client class TieringPolicy.

Defines tiering policy for the volume.

Generated from protobuf message `google.cloud.netapp.v1.TieringPolicy`

## Namespace

Google \\ Cloud \\ NetApp \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tier_action` | `int` Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED. |
| `↳ cooling_threshold_days` | `int` 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. |
| `↳ hot_tier_bypass_mode_enabled` | `bool` Optional. Flag indicating that the hot tier bypass mode is enabled. Default is false. This is only applicable to Flex service level. |

### getTierAction

Optional. Flag indicating if the volume has tiering policy enable/pause.

Default is PAUSED.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasTierAction

### clearTierAction

### setTierAction

Optional. Flag indicating if the volume has tiering policy enable/pause.

Default is PAUSED.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCoolingThresholdDays

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasCoolingThresholdDays

### clearCoolingThresholdDays

### setCoolingThresholdDays

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHotTierBypassModeEnabled

Optional. Flag indicating that the hot tier bypass mode is enabled. Default
is false. This is only applicable to Flex service level.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasHotTierBypassModeEnabled

### clearHotTierBypassModeEnabled

### setHotTierBypassModeEnabled

Optional. Flag indicating that the hot tier bypass mode is enabled. Default
is false. This is only applicable to Flex service level.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |