Google Anthos Multi Cloud V1 Client - Class AttachedPlatformVersionInfo (1.4.0)

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

Information about a supported Attached Clusters platform version.

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version string

Platform version name.

↳ enabled bool

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

↳ 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

Platform version name.

Returns
Type Description
string

setVersion

Platform version name.

Parameter
Name Description
var string
Returns
Type Description
$this

getEnabled

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

Returns
Type Description
bool

setEnabled

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

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