Class MaintenanceEvent (0.5.9)

MaintenanceEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Maintenance Event is an operation that could cause temporary disruptions to the cluster workloads, including Google-driven or user-initiated cluster upgrades, user-initiated cluster configuration changes that require restarting nodes, etc.

Attributes

NameDescription
uuid str
Output only. UUID of the maintenance event.
target_version str
Output only. The target version of the cluster.
operation str
Output only. The operation for running the maintenance event. Specified in the format projects/*/locations/*/operations/*. If the maintenance event is split into multiple operations (e.g. due to maintenance windows), the latest one is recorded.
type_ google.cloud.edgecontainer_v1.types.Cluster.MaintenanceEvent.Type
Output only. The type of the maintenance event.
schedule google.cloud.edgecontainer_v1.types.Cluster.MaintenanceEvent.Schedule
Output only. The schedule of the maintenance event.
state google.cloud.edgecontainer_v1.types.Cluster.MaintenanceEvent.State
Output only. The state of the maintenance event.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the maintenance event request was created.
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the maintenance event started.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the maintenance event ended, either successfully or not. If the maintenance event is split into multiple maintenance windows, end_time is only updated when the whole flow ends.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the maintenance event message was updated.

Classes

Schedule

Schedule(value)

Indicates when the maintenance event should be performed.

Values: SCHEDULE_UNSPECIFIED (0): Unspecified. IMMEDIATELY (1): Immediately after receiving the request.

State

State(value)

Indicates the maintenance event state.

Values: STATE_UNSPECIFIED (0): Unspecified. RECONCILING (1): The maintenance event is ongoing. The cluster might be unusable. SUCCEEDED (2): The maintenance event succeeded. FAILED (3): The maintenance event failed.

Type

Type(value)

Indicates the maintenance event type.

Values: TYPE_UNSPECIFIED (0): Unspecified. USER_INITIATED_UPGRADE (1): Upgrade initiated by users. GOOGLE_DRIVEN_UPGRADE (2): Upgrade driven by Google.