Google Cloud Net App V1 Client - Class TieringPolicy (1.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 7-183. Default is 31.

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 7-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 7-183. Default is 31.

Parameter
Name Description
var int
Returns
Type Description
$this