# Package google.cloud.servicehealth.logging.v1

## Index

- `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog` (message)
- `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.DetailedCategory` (enum)
- `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.DetailedState` (enum)
- `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.EventCategory` (enum)
- `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.Relevance` (enum)
- `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.State` (enum)

## EventLog

Message describing the payload of service health logs.

| Fields ||
|---|---|
| `title` | `string` Brief description for the event. |
| `description` | `string` Free-form, human-readable description. |
| `category` | `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.EventCategory` Identifies the category of the event. |
| `detailed_category` | `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.DetailedCategory` The detailed category of the event. |
| `state` | `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.State` The current state of the event. |
| `detailed_state` | `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.DetailedState` The current detailed state of the event. |
| `impacted_products` | `string` Google Cloud products known to be affected by the event, in JSON serialized format. See list of all supported [Google Cloud products](https://cloud.google.com/service-health/docs/products-locations.md). Example: "`['Google Cloud SQL', 'Cloud Compute Engine']`". |
| `impacted_locations` | `string` Locations known to be impacted by the event, in JSON serialized format. See possible [values](https://cloud.google.com/service-health/docs/products-locations.md). Example: "`['us-central1', 'us-west1']`". |
| `impacted_product_ids` | `string` Google Cloud Customer Product IDs known to be affected by the event, in JSON serialized format. Example: "\['UwaYoXQ5bHYHG6EdiPB8', 'PuCJ6W2ovoDhLcyvZ1xa'\]". |
| `relevance` | `https://docs.cloud.google.com/service-health/docs/reference/event-logs/rpc/google.cloud.servicehealth.logging.v1#google.cloud.servicehealth.logging.v1.EventLog.Relevance` Communicates why a given event is deemed relevant in the context of a given project. |
| `parent_event` | `string` 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` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` The time when the event was last modified. |
| `start_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` The start time of the event, if applicable. |
| `end_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` The end time of the event, if applicable. |
| `next_update_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Incident-only field. The time when the next update can be expected. |
| `artifacts[]` | `string` Artifacts associated with the event, such as incident reports. Example: "`['projects/{PROJECT_ID}/locations/{LOCATION}/artifacts/{ARTIFACT_ID}']`". |
| `symptom` | `string` Symptom of the event. |
| `workaround` | `string` Workaround for the event. |

## DetailedCategory

The detailed category of an event. Contains all possible states for all event categories.

| Enums ||
|---|---|
| `DETAILED_CATEGORY_UNSPECIFIED` | Unspecified detailed category. |
| `CONFIRMED_INCIDENT` | Indicates an event with category INCIDENT has a confirmed impact to at least one Google Cloud product. |
| `EMERGING_INCIDENT` | Indicates an event with category INCIDENT is under investigation to determine if it has a confirmed impact on any Google Cloud products. |

## DetailedState

The detailed state of the event. This enum lists all possible detail states of event.

| Enums ||
|---|---|
| `DETAILED_STATE_UNSPECIFIED` | Unspecified detail state. |
| `EMERGING` | Google engineers are actively investigating the event to determine the impact. |
| `CONFIRMED` | The event is confirmed and impacting at least one Google Cloud product. Ongoing status updates will be provided until it is resolved. |
| `RESOLVED` | The event is no longer affecting any Google Cloud product, and there will be no further updates. |
| `MERGED` | Event was merged into a parent event. All further updates will be published to the parent only. The `parent_event` field contains the name of the parent. |
| `AUTO_CLOSED` | 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` | 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

The category of the event. This enum lists all possible categories of event.

| Enums ||
|---|---|
| `EVENT_CATEGORY_UNSPECIFIED` | Unspecified category. |
| `INCIDENT` | Event category for service outage or degradation. |

## Relevance

Communicates why a given event is deemed relevant in the context of a given project. This enum lists all possible detailed states of relevance.

| Enums ||
|---|---|
| `RELEVANCE_UNSPECIFIED` | Unspecified relevance. |
| `UNKNOWN` | The relevance of the event to the project is unknown. |
| `NOT_IMPACTED` | The event does not impact the project. |
| `PARTIALLY_RELATED` | We determined that the event is linked to a product that is used by the project, but we have no information (either positive or negative) whether the project is affected. |
| `RELATED` | The event has a connection to your project and it may be impacted |
| `IMPACTED` | The event is impacting your project |

## State

The state of the event. This enum lists all possible states of event.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Unspecified state |
| `ACTIVE` | Event is actively affecting a Google Cloud product and will continue to receive updates. |
| `CLOSED` | Event is no longer affecting the Google Cloud product or has been merged with another event. |