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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
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 | |
---|---|
Type | Description |
string |
setVersion
The release version available for upgrade.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResourceType
The resource type of the release version.
Returns | |
---|---|
Type | Description |
int |
setResourceType
The resource type of the release version.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getReleaseChannel
The release channel of the version. If empty, it means a non-channel release.
Returns | |
---|---|
Type | Description |
ReleaseChannel|null |
hasReleaseChannel
clearReleaseChannel
setReleaseChannel
The release channel of the version. If empty, it means a non-channel release.
Parameter | |
---|---|
Name | Description |
var |
ReleaseChannel
|
Returns | |
---|---|
Type | Description |
$this |
getResource
Optional relative path to the resource. For example, the relative path of the node pool.
Returns | |
---|---|
Type | Description |
string |
setResource
Optional relative path to the resource. For example, the relative path of the node pool.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |