Google Cloud Container V1 Client - Class FetchNodePoolUpgradeInfoRequest (2.4.0)

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

FetchNodePoolUpgradeInfoRequest fetches the upgrade information of a nodepool.

Generated from protobuf message google.container.v1.FetchNodePoolUpgradeInfoRequest

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/* or projects/*/zones/*/clusters/*/nodePools/*.

↳ version string

API request version that initiates this operation.

getName

Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/* or projects/*/zones/*/clusters/*/nodePools/*.

Returns
Type Description
string

setName

Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/* or projects/*/zones/*/clusters/*/nodePools/*.

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, nodepool) of the nodepool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/* or projects/*/zones/*/clusters/*/nodePools/*.

Returns
Type Description
FetchNodePoolUpgradeInfoRequest