Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::UpgradeEvent.
UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#current_version
def current_version() -> ::String
Returns
- (::String) — The current version before the upgrade.
#current_version=
def current_version=(value) -> ::String
Parameter
- value (::String) — The current version before the upgrade.
Returns
- (::String) — The current version before the upgrade.
#operation
def operation() -> ::String
Returns
- (::String) — The operation associated with this upgrade.
#operation=
def operation=(value) -> ::String
Parameter
- value (::String) — The operation associated with this upgrade.
Returns
- (::String) — The operation associated with this upgrade.
#operation_start_time
def operation_start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time when the operation was started.
#operation_start_time=
def operation_start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time when the operation was started.
Returns
- (::Google::Protobuf::Timestamp) — The time when the operation was started.
#resource
def resource() -> ::String
Returns
- (::String) — Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
#resource=
def resource=(value) -> ::String
Parameter
- value (::String) — Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
Returns
- (::String) — Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
#resource_type
def resource_type() -> ::Google::Cloud::Container::V1::UpgradeResourceType
Returns
- (::Google::Cloud::Container::V1::UpgradeResourceType) — The resource type that is upgrading.
#resource_type=
def resource_type=(value) -> ::Google::Cloud::Container::V1::UpgradeResourceType
Parameter
- value (::Google::Cloud::Container::V1::UpgradeResourceType) — The resource type that is upgrading.
Returns
- (::Google::Cloud::Container::V1::UpgradeResourceType) — The resource type that is upgrading.
#target_version
def target_version() -> ::String
Returns
- (::String) — The target version for the upgrade.
#target_version=
def target_version=(value) -> ::String
Parameter
- value (::String) — The target version for the upgrade.
Returns
- (::String) — The target version for the upgrade.