Reference documentation and code samples for the Google Cloud Container V1 Client class FetchClusterUpgradeInfoRequest.
FetchClusterUpgradeInfoRequest fetches the upgrade information of a cluster.
Generated from protobuf message google.container.v1.FetchClusterUpgradeInfoRequest
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name (project, location, cluster) of the cluster to get. Specified in the format |
↳ version |
string
API request version that initiates this operation. |
getName
Required. The name (project, location, cluster) of the cluster to get.
Specified in the format projects/*/locations/*/clusters/* or
projects/*/zones/*/clusters/*.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name (project, location, cluster) of the cluster to get.
Specified in the format projects/*/locations/*/clusters/* or
projects/*/zones/*/clusters/*.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
API request version that initiates this operation.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
API request version that initiates this operation.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The name (project, location, cluster) of the cluster to get.
Specified in the format |
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest |
|