Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::UpgradeEvent (v1.2.0)

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

#operation_start_time=

def operation_start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#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

#resource_type=

def resource_type=(value) -> ::Google::Cloud::Container::V1::UpgradeResourceType
Parameter
Returns

#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.