Google Anthos Multi Cloud V1 Client - Class AwsK8sVersionInfo (0.5.4)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsK8sVersionInfo.

Kubernetes version information of GKE cluster on AWS.

Generated from protobuf message google.cloud.gkemulticloud.v1.AwsK8sVersionInfo

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version string

Kubernetes version name.

↳ enabled bool

Optional. True if the version is available for cluster creation. If a version is enabled for creation, it can be used to create new clusters. Otherwise, cluster creation will fail. However, cluster upgrade operations may succeed, even if the version is not enabled.

↳ end_of_life bool

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

↳ end_of_life_date Google\Type\Date

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

↳ release_date Google\Type\Date

Optional. The date (in Pacific Time) when the cluster version was released.

getVersion

Kubernetes version name.

Returns
Type Description
string

setVersion

Kubernetes version name.

Parameter
Name Description
var string
Returns
Type Description
$this

getEnabled

Optional. True if the version is available for cluster creation. If a version is enabled for creation, it can be used to create new clusters.

Otherwise, cluster creation will fail. However, cluster upgrade operations may succeed, even if the version is not enabled.

Returns
Type Description
bool

setEnabled

Optional. True if the version is available for cluster creation. If a version is enabled for creation, it can be used to create new clusters.

Otherwise, cluster creation will fail. However, cluster upgrade operations may succeed, even if the version is not enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEndOfLife

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

Returns
Type Description
bool

setEndOfLife

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEndOfLifeDate

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

Returns
Type Description
Google\Type\Date|null

hasEndOfLifeDate

clearEndOfLifeDate

setEndOfLifeDate

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

getReleaseDate

Optional. The date (in Pacific Time) when the cluster version was released.

Returns
Type Description
Google\Type\Date|null

hasReleaseDate

clearReleaseDate

setReleaseDate

Optional. The date (in Pacific Time) when the cluster version was released.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this