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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setPhase
Current blue-green upgrade phase.
Generated from protobuf field .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGreenPoolVersion
Version of green pool.
Generated from protobuf field string green_pool_version = 5;
Returns | |
---|---|
Type | Description |
string |
setGreenPoolVersion
Version of green pool.
Generated from protobuf field string green_pool_version = 5;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |