Class: Google::Apis::ContainerV1beta1::UpgradeAvailableEvent
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::UpgradeAvailableEvent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
UpgradeAvailableEvent is a notification sent to customers when a new available version is released.
Instance Attribute Summary collapse
-
#release_channel ⇒ Google::Apis::ContainerV1beta1::ReleaseChannel
ReleaseChannel indicates which release channel a cluster is subscribed to.
-
#resource ⇒ String
Optional.
-
#resource_type ⇒ String
The resource type of the release version.
-
#version ⇒ String
The release version available for upgrade.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpgradeAvailableEvent
constructor
A new instance of UpgradeAvailableEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpgradeAvailableEvent
Returns a new instance of UpgradeAvailableEvent.
4866 4867 4868 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4866 def initialize(**args) update!(**args) end |
Instance Attribute Details
#release_channel ⇒ Google::Apis::ContainerV1beta1::ReleaseChannel
ReleaseChannel indicates which release channel a cluster is subscribed to.
Release channels are arranged in order of risk. When a cluster is subscribed
to a release channel, Google maintains both the master version and the node
version. Node auto-upgrade defaults to true and cannot be disabled.
Corresponds to the JSON property releaseChannel
4848 4849 4850 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4848 def release_channel @release_channel end |
#resource ⇒ String
Optional. Optional relative path to the resource. For example, the relative
path of the node pool.
Corresponds to the JSON property resource
4854 4855 4856 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4854 def resource @resource end |
#resource_type ⇒ String
The resource type of the release version.
Corresponds to the JSON property resourceType
4859 4860 4861 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4859 def resource_type @resource_type end |
#version ⇒ String
The release version available for upgrade.
Corresponds to the JSON property version
4864 4865 4866 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4864 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4871 4872 4873 4874 4875 4876 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4871 def update!(**args) @release_channel = args[:release_channel] if args.key?(:release_channel) @resource = args[:resource] if args.key?(:resource) @resource_type = args[:resource_type] if args.key?(:resource_type) @version = args[:version] if args.key?(:version) end |