Compute V1 Client - Class RolloutPlanWave (2.10.0)

Reference documentation and code samples for the Compute V1 Client class RolloutPlanWave.

A single wave in a rollout plan.

Generated from protobuf message google.cloud.compute.v1.RolloutPlanWave

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ display_name string

Optional. The display name of this wave of the rollout plan.

↳ number int|string

Output only. The wave number.

↳ orchestration_options RolloutPlanWaveOrchestrationOptions

Optional. The orchestration options for this wave.

↳ selectors array<RolloutPlanWaveSelector>

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

↳ validation RolloutPlanWaveValidation

Required. The validation to be performed at the end of this wave.

getDisplayName

Optional. The display name of this wave of the rollout plan.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Optional. The display name of this wave of the rollout plan.

Parameter
Name Description
var string
Returns
Type Description
$this

getNumber

Output only. The wave number.

Returns
Type Description
int|string

hasNumber

clearNumber

setNumber

Output only. The wave number.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getOrchestrationOptions

Optional. The orchestration options for this wave.

Returns
Type Description
RolloutPlanWaveOrchestrationOptions|null

hasOrchestrationOptions

clearOrchestrationOptions

setOrchestrationOptions

Optional. The orchestration options for this wave.

Parameter
Name Description
var RolloutPlanWaveOrchestrationOptions
Returns
Type Description
$this

getSelectors

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

Returns
Type Description
Google\Protobuf\RepeatedField<RolloutPlanWaveSelector>

setSelectors

Required. The selectors for this wave. There is a logical AND between each selector defined in a wave, so a resource must satisfy the criteria of all the specified selectors to be in scope for the wave.

Parameter
Name Description
var array<RolloutPlanWaveSelector>
Returns
Type Description
$this

getValidation

Required. The validation to be performed at the end of this wave.

Returns
Type Description
RolloutPlanWaveValidation|null

hasValidation

clearValidation

setValidation

Required. The validation to be performed at the end of this wave.

Parameter
Name Description
var RolloutPlanWaveValidation
Returns
Type Description
$this