Google Cloud Container V1 Client - Class BlueGreenInfo (1.14.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class BlueGreenInfo.

Information relevant to blue-green upgrade.

Generated from protobuf message google.container.v1.NodePool.UpdateInfo.BlueGreenInfo

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ phase int

Current blue-green upgrade phase.

↳ blue_instance_group_urls array

The resource URLs of the managed instance groups associated with blue pool.

↳ green_instance_group_urls array

The resource URLs of the managed instance groups associated with green pool.

↳ blue_pool_deletion_start_time string

Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format.

↳ green_pool_version string

Version of green pool.

getPhase

Current blue-green upgrade phase.

Returns
TypeDescription
int

setPhase

Current blue-green upgrade phase.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getBlueInstanceGroupUrls

The resource URLs of the managed instance groups associated with blue pool.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBlueInstanceGroupUrls

The resource URLs of the managed instance groups associated with blue pool.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getGreenInstanceGroupUrls

The resource URLs of the managed instance groups associated with green pool.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGreenInstanceGroupUrls

The resource URLs of the managed instance groups associated with green pool.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getBluePoolDeletionStartTime

Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format.

Returns
TypeDescription
string

setBluePoolDeletionStartTime

Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGreenPoolVersion

Version of green pool.

Returns
TypeDescription
string

setGreenPoolVersion

Version of green pool.

Parameter
NameDescription
var string
Returns
TypeDescription
$this