Google Cloud Config Delivery V1 Client - Class RolloutInfo (0.2.0)

Reference documentation and code samples for the Google Cloud Config Delivery V1 Client class RolloutInfo.

RolloutInfo represents the state of the FleetPackage at all the clusters the rollout is targeting.

Generated from protobuf message google.cloud.configdelivery.v1.RolloutInfo

Namespace

Google \ Cloud \ ConfigDelivery \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ state int

Output only. state contains the overall status of the Rollout.

↳ start_time Google\Protobuf\Timestamp

Output only. Time when the rollout started.

↳ end_time Google\Protobuf\Timestamp

Output only. Time when the rollout completed.

↳ message string

Output only. Message containing additional information related to the rollout.

↳ rollout_strategy_info RolloutStrategyInfo

Output only. Rollout strategy info represents the status of execution of rollout strategy.

getState

Output only. state contains the overall status of the Rollout.

Returns
Type Description
int

setState

Output only. state contains the overall status of the Rollout.

Parameter
Name Description
var int
Returns
Type Description
$this

getStartTime

Output only. Time when the rollout started.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. Time when the rollout started.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Output only. Time when the rollout completed.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. Time when the rollout completed.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getMessage

Output only. Message containing additional information related to the rollout.

Returns
Type Description
string

setMessage

Output only. Message containing additional information related to the rollout.

Parameter
Name Description
var string
Returns
Type Description
$this

getRolloutStrategyInfo

Output only. Rollout strategy info represents the status of execution of rollout strategy.

Returns
Type Description
RolloutStrategyInfo|null

hasRolloutStrategyInfo

clearRolloutStrategyInfo

setRolloutStrategyInfo

Output only. Rollout strategy info represents the status of execution of rollout strategy.

Parameter
Name Description
var RolloutStrategyInfo
Returns
Type Description
$this