Google Cloud Container V1 Client - Class BlueGreenInfo (1.9.1)

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.

Generated from protobuf field .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;

Returns
TypeDescription
int

setPhase

Current blue-green upgrade phase.

Generated from protobuf field .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getBlueInstanceGroupUrls

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

Generated from protobuf field repeated string blue_instance_group_urls = 2;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBlueInstanceGroupUrls

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

Generated from protobuf field repeated string blue_instance_group_urls = 2;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getGreenInstanceGroupUrls

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

Generated from protobuf field repeated string green_instance_group_urls = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGreenInstanceGroupUrls

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

Generated from protobuf field repeated string green_instance_group_urls = 3;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getBluePoolDeletionStartTime

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

Generated from protobuf field string blue_pool_deletion_start_time = 4;

Returns
TypeDescription
string

setBluePoolDeletionStartTime

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

Generated from protobuf field string blue_pool_deletion_start_time = 4;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGreenPoolVersion

Version of green pool.

Generated from protobuf field string green_pool_version = 5;

Returns
TypeDescription
string

setGreenPoolVersion

Version of green pool.

Generated from protobuf field string green_pool_version = 5;

Parameter
NameDescription
var string
Returns
TypeDescription
$this