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 | |
---|---|
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 |
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 | |
---|---|
Type | Description |
string |
setVersion
The release version available for upgrade.
Generated from protobuf field string version = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResourceType
The resource type of the release version.
Generated from protobuf field .google.container.v1.UpgradeResourceType resource_type = 2;
Returns | |
---|---|
Type | Description |
int |
setResourceType
The resource type of the release version.
Generated from protobuf field .google.container.v1.UpgradeResourceType resource_type = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Container\V1\ReleaseChannel
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |