Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class UpgradeClusterResponse.
UpgradeClusterResponse contains the response for upgrade cluster operation.
Generated from protobuf message google.cloud.alloydb.v1.UpgradeClusterResponse
Namespace
Google \ Cloud \ AlloyDb \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ status |
int
Status of upgrade operation. |
↳ message |
string
A user friendly message summarising the upgrade operation details and the next steps for the user if there is any. |
↳ cluster_upgrade_details |
array<UpgradeClusterResponse\ClusterUpgradeDetails>
Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster. |
getStatus
Status of upgrade operation.
Returns | |
---|---|
Type | Description |
int |
setStatus
Status of upgrade operation.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getMessage
A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
Returns | |
---|---|
Type | Description |
string |
setMessage
A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getClusterUpgradeDetails
Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setClusterUpgradeDetails
Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
Parameter | |
---|---|
Name | Description |
var |
array<UpgradeClusterResponse\ClusterUpgradeDetails>
|
Returns | |
---|---|
Type | Description |
$this |