Google Cloud Container V1 Client - Class UpgradeAvailableEvent (1.19.0)

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

UpgradeAvailableEvent is a notification sent to customers when a new available version is released.

Generated from protobuf message google.container.v1.UpgradeAvailableEvent

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ version string

The release version available for upgrade.

↳ resource_type int

The resource type of the release version.

↳ release_channel Google\Cloud\Container\V1\ReleaseChannel

The release channel of the version. If empty, it means a non-channel release.

↳ resource string

Optional relative path to the resource. For example, the relative path of the node pool.

getVersion

The release version available for upgrade.

Returns
TypeDescription
string

setVersion

The release version available for upgrade.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceType

The resource type of the release version.

Returns
TypeDescription
int

setResourceType

The resource type of the release version.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getReleaseChannel

The release channel of the version. If empty, it means a non-channel release.

Returns
TypeDescription
Google\Cloud\Container\V1\ReleaseChannel|null

hasReleaseChannel

clearReleaseChannel

setReleaseChannel

The release channel of the version. If empty, it means a non-channel release.

Parameter
NameDescription
var Google\Cloud\Container\V1\ReleaseChannel
Returns
TypeDescription
$this

getResource

Optional relative path to the resource. For example, the relative path of the node pool.

Returns
TypeDescription
string

setResource

Optional relative path to the resource. For example, the relative path of the node pool.

Parameter
NameDescription
var string
Returns
TypeDescription
$this