Google Cloud Container V1 Client - Class UpgradeAvailableEvent (1.9.1)

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

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.

Generated from protobuf field string version = 1;

Returns
TypeDescription
string

setVersion

The release version available for upgrade.

Generated from protobuf field string version = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceType

The resource type of the release version.

Generated from protobuf field .google.container.v1.UpgradeResourceType resource_type = 2;

Returns
TypeDescription
int

setResourceType

The resource type of the release version.

Generated from protobuf field .google.container.v1.UpgradeResourceType resource_type = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getReleaseChannel

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

Generated from protobuf field .google.container.v1.ReleaseChannel release_channel = 3;

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.

Generated from protobuf field .google.container.v1.ReleaseChannel release_channel = 3;

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.

Generated from protobuf field string resource = 4;

Returns
TypeDescription
string

setResource

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

Generated from protobuf field string resource = 4;

Parameter
NameDescription
var string
Returns
TypeDescription
$this