Event(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents service health events that may affect Google Cloud products. Event resource is a read-only view and does not allow any modifications. All fields are output only.
Attributes |
|
---|---|
Name | Description |
name |
str
Output only. Identifier. Name of the event. Unique name of the event in this scope including project and location using the form projects/{project_id}/locations/{location}/events/{event_id} .
|
title |
str
Output only. Brief description for the event. |
description |
str
Output only. Free-form, human-readable description. |
category |
google.cloud.servicehealth_v1.types.Event.EventCategory
Output only. The category of the event. |
detailed_category |
google.cloud.servicehealth_v1.types.Event.DetailedCategory
Output only. The detailed category of the event. |
state |
google.cloud.servicehealth_v1.types.Event.State
Output only. The current state of the event. |
detailed_state |
google.cloud.servicehealth_v1.types.Event.DetailedState
Output only. The current detailed state of the incident. |
event_impacts |
MutableSequence[google.cloud.servicehealth_v1.types.EventImpact]
Google Cloud products and locations impacted by the event. |
relevance |
google.cloud.servicehealth_v1.types.Event.Relevance
Output only. Communicates why a given event is deemed relevant in the context of a given project. |
updates |
MutableSequence[google.cloud.servicehealth_v1.types.EventUpdate]
Output only. Event updates are correspondence from Google. |
parent_event |
str
Output only. When detailed_state \ =\ MERGED ,
parent_event contains the name of the parent event. All
further updates will be published to the parent event.
|
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the event was last modified. |
start_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The start time of the event, if applicable. |
end_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The end time of the event, if applicable. |
next_update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the next update can be expected. |
Classes
DetailedCategory
DetailedCategory(value)
The detailed category of an event. Contains all possible states for all event categories.
Values: DETAILED_CATEGORY_UNSPECIFIED (0): Unspecified detailed category. CONFIRMED_INCIDENT (1): Indicates an event with category INCIDENT has a confirmed impact to at least one Google Cloud product. EMERGING_INCIDENT (2): Indicates an event with category INCIDENT is under investigation to determine if it has a confirmed impact on any Google Cloud products.
DetailedState
DetailedState(value)
The detailed state of the incident. This enum lists all possible detailed states of an incident.
Values:
DETAILED_STATE_UNSPECIFIED (0):
Unspecified detail state.
EMERGING (1):
Google engineers are actively investigating
the event to determine the impact.
CONFIRMED (2):
The incident is confirmed and impacting at
least one Google Cloud product. Ongoing status
updates will be provided until it is resolved.
RESOLVED (3):
The incident is no longer affecting any
Google Cloud product, and there will be no
further updates.
MERGED (4):
The incident was merged into a parent incident. All further
updates will be published to the parent only. The
parent_event
field contains the name of the parent.
AUTO_CLOSED (9):
The incident was automatically closed because of the
following reasons:
- The impact of the incident could not be confirmed.
- The incident was intermittent or resolved itself.
The incident does not have a resolution because no action or
investigation happened. If it is intermittent, the incident
may reopen.
FALSE_POSITIVE (10):
Upon investigation, Google engineers
concluded that the incident is not affecting a
Google Cloud product. This state can change if
the incident is reviewed again.
EventCategory
EventCategory(value)
The category of the event. This enum lists all possible categories of event.
Values: EVENT_CATEGORY_UNSPECIFIED (0): Unspecified category. INCIDENT (2): Event category for service outage or degradation.
Relevance
Relevance(value)
Communicates why a given incident is deemed relevant in the context of a given project. This enum lists all possible detailed states of relevance.
Values: RELEVANCE_UNSPECIFIED (0): Unspecified relevance. UNKNOWN (2): The relevance of the incident to the project is unknown. NOT_IMPACTED (6): The incident does not impact the project. PARTIALLY_RELATED (7): The incident is associated with a Google Cloud product your project uses, but the incident may not be impacting your project. For example, the incident may be impacting a Google Cloud product that your project uses, but in a location that your project does not use. RELATED (8): The incident has a direct connection with your project and impacts a Google Cloud product in a location your project uses. IMPACTED (9): The incident is verified to be impacting your project.
State
State(value)
The state of the event. This enum lists all possible states of event.
Values: STATE_UNSPECIFIED (0): Unspecified state. ACTIVE (1): Event is actively affecting a Google Cloud product and will continue to receive updates. CLOSED (2): Event is no longer affecting the Google Cloud product or has been merged with another event.