NAME
Google::Cloud::Servicehealth::V1::EventResources - Compiled Protocol Buffers messages for google/cloud/servicehealth/v1/event_resources.proto
SYNOPSIS
use Google::Cloud::Servicehealth::V1::EventResources;
my $msg = Google::Cloud::Servicehealth::V1::EventResources::Event->new({
name => $name,
title => $title,
description => $description,
category => $category,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Servicehealth::V1::EventResources::Event->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/servicehealth/v1/event_resources.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Servicehealth::V1::EventResources::Event
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.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput 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}`.
$msg->title()/$msg->title($value)Type:
StringOutput only. Brief description for the event.
$msg->description()/$msg->description($value)Type:
StringOutput only. Free-form, human-readable description.
$msg->category()/$msg->category($value)Type:
Enum(Google::Cloud::Servicehealth::V1::Event::EventCategory)Output only. The category of the event.
$msg->detailed_category()/$msg->detailed_category($value)Type:
Enum(Google::Cloud::Servicehealth::V1::Event::DetailedCategory)Output only. The detailed category of the event.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Servicehealth::V1::Event::State)Output only. The current state of the event.
$msg->detailed_state()/$msg->detailed_state($value)Type:
Enum(Google::Cloud::Servicehealth::V1::Event::DetailedState)Output only. The current detailed state of the incident.
$msg->event_impacts()/$msg->event_impacts($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::EventImpact)Google Cloud products and locations impacted by the event.
$msg->relevance()/$msg->relevance($value)Type:
Enum(Google::Cloud::Servicehealth::V1::Event::Relevance)Output only. Communicates why a given event is deemed relevant in the context of a given project.
$msg->updates()/$msg->updates($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::EventUpdate)Output only. Event updates are correspondence from Google.
$msg->parent_event()/$msg->parent_event($value)Type:
StringOutput only. When `detailed_state`=`MERGED`, `parent_event` contains the name of the parent event. All further updates will be published to the parent event.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the event was last modified.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The start time of the event, if applicable.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The end time of the event, if applicable.
$msg->next_update_time()/$msg->next_update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the next update can be expected.
Enum: Event::EventCategory
EVENT_CATEGORY_UNSPECIFIED=>0INCIDENT=>2
Enum: Event::DetailedCategory
DETAILED_CATEGORY_UNSPECIFIED=>0CONFIRMED_INCIDENT=>1EMERGING_INCIDENT=>2
Enum: Event::State
STATE_UNSPECIFIED=>0ACTIVE=>1CLOSED=>2
Enum: Event::DetailedState
DETAILED_STATE_UNSPECIFIED=>0EMERGING=>1CONFIRMED=>2RESOLVED=>3MERGED=>4AUTO_CLOSED=>9FALSE_POSITIVE=>10
Enum: Event::Relevance
RELEVANCE_UNSPECIFIED=>0UNKNOWN=>2NOT_IMPACTED=>6PARTIALLY_RELATED=>7RELATED=>8IMPACTED=>9
Google::Cloud::Servicehealth::V1::EventResources::OrganizationEvent
Represents service health events that may affect Google Cloud products used across the organization. It is a read-only view and does not allow any modifications.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Identifier. Name of the event. Unique name of the event in this scope including organization ID and location using the form `organizations/{organization_id}/locations/{location}/organizationEvents/{event_id}`.
`organization_id` - see [Getting your organization resource ID](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).<br> `location` - The location to get the service health events from.<br> `event_id` - Organization event ID to retrieve.
$msg->title()/$msg->title($value)Type:
StringOutput only. Brief description for the event.
$msg->description()/$msg->description($value)Type:
StringOutput only. Free-form, human-readable description.
$msg->category()/$msg->category($value)Type:
Enum(Google::Cloud::Servicehealth::V1::OrganizationEvent::EventCategory)Output only. The category of the event.
$msg->detailed_category()/$msg->detailed_category($value)Type:
Enum(Google::Cloud::Servicehealth::V1::OrganizationEvent::DetailedCategory)Output only. The detailed category of the event.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Servicehealth::V1::OrganizationEvent::State)Output only. The current state of the event.
$msg->detailed_state()/$msg->detailed_state($value)Type:
Enum(Google::Cloud::Servicehealth::V1::OrganizationEvent::DetailedState)Output only. The current detailed state of the incident.
$msg->event_impacts()/$msg->event_impacts($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::EventImpact)Output only. Represents the Google Cloud products and locations impacted by the event.
$msg->updates()/$msg->updates($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::EventUpdate)Output only. Incident-only field. Event updates are correspondence from Google.
$msg->parent_event()/$msg->parent_event($value)Type:
StringOutput only. When `detailed_state`=`MERGED`, `parent_event` contains the name of the parent event. All further updates will be published to the parent event.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the update was posted.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The start time of the event, if applicable.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The end time of the event, if applicable.
$msg->next_update_time()/$msg->next_update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Incident-only field. The time when the next update can be expected.
Enum: OrganizationEvent::EventCategory
EVENT_CATEGORY_UNSPECIFIED=>0INCIDENT=>2
Enum: OrganizationEvent::DetailedCategory
DETAILED_CATEGORY_UNSPECIFIED=>0CONFIRMED_INCIDENT=>1EMERGING_INCIDENT=>2
Enum: OrganizationEvent::State
STATE_UNSPECIFIED=>0ACTIVE=>1CLOSED=>2
Enum: OrganizationEvent::DetailedState
DETAILED_STATE_UNSPECIFIED=>0EMERGING=>1CONFIRMED=>2RESOLVED=>3MERGED=>4AUTO_CLOSED=>9FALSE_POSITIVE=>10
Google::Cloud::Servicehealth::V1::EventResources::EventUpdate
Records an update made to the event.
Inherits from Protobuf::Message.
Accessors
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the update was posted.
$msg->title()/$msg->title($value)Type:
StringOutput only. Brief title for the event.
$msg->description()/$msg->description($value)Type:
StringOutput only. Free-form, human-readable description.
$msg->symptom()/$msg->symptom($value)Type:
StringOutput only. Symptoms of the event, if available.
$msg->workaround()/$msg->workaround($value)Type:
StringOutput only. Workaround steps to remediate the event impact, if available.
Google::Cloud::Servicehealth::V1::EventResources::Location
Represents the locations impacted by the event.
Inherits from Protobuf::Message.
Accessors
$msg->location_name()/$msg->location_name($value)Type:
StringLocation impacted by the event. Example: `"us-central1"`
Google::Cloud::Servicehealth::V1::EventResources::Product
Represents the Google Cloud product impacted by the event.
Inherits from Protobuf::Message.
Accessors
$msg->product_name()/$msg->product_name($value)Type:
StringGoogle Cloud product impacted by the event. Example: `"Google Cloud SQL"`
$msg->id()/$msg->id($value)Type:
StringUnique identifier for the product.
Google::Cloud::Servicehealth::V1::EventResources::EventImpact
Represents the Google Cloud products and locations impacted by the event.
Inherits from Protobuf::Message.
Accessors
$msg->product()/$msg->product($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::Product)Google Cloud product impacted by the event.
$msg->location()/$msg->location($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::Location)Location impacted by the event.
Google::Cloud::Servicehealth::V1::EventResources::OrganizationImpact
Represents impact to assets at organizational level. It is a read-only view and does not allow any modifications.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Identifier. Unique name of the organization impact in this scope including organization and location using the form `organizations/{organization_id}/locations/{location}/organizationImpacts/{organization_impact_id}`.
`organization_id` - ID (number) of the organization that contains the event. To get your `organization_id`, see [Getting your organization resource ID](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).<br> `organization_impact_id` - ID of the [OrganizationImpact resource](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact).
$msg->events()/$msg->events($value)Type:
StringOutput only. A list of event names impacting the asset.
$msg->asset()/$msg->asset($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::Asset)Output only. Google Cloud asset possibly impacted by the specified events.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the affected project was last modified.
Google::Cloud::Servicehealth::V1::EventResources::Asset
Represents the asset impacted by the events.
Inherits from Protobuf::Message.
Accessors
$msg->asset_name()/$msg->asset_name($value)Type:
StringOutput only. Full name of the resource as defined in [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name).
$msg->asset_type()/$msg->asset_type($value)Type:
StringOutput only. Type of the asset. Example: `"cloudresourcemanager.googleapis.com/Project"`
Google::Cloud::Servicehealth::V1::EventResources::ListEventsRequest
Requests list of events.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value using the form `projects/{project_id}/locations/{location}/events`.
`project_id` - ID of the project for which to list service health events. `location` - The location to get the service health events from. To retrieve service health events of category = INCIDENT, use `location` = `global`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of events that should be returned. Acceptable values are 1 to 100, inclusive. (The default value is 10.) If more results are available, the service returns a next_page_token that you can use to get the next page of results in subsequent list requests. The service may return fewer events than the requested page_size.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return. Provide Page token returned by a previous `ListEvents` call to retrieve the next page of results. When paginating, all other parameters provided to `ListEvents` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. A filter expression that filters resources listed in the response. The expression takes the following forms: <br> * field=value for `category` and `state`<br> * field <, >, <=, or >= value for `update_time` <br> Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`, `event_impacts.product.product_name:"Eventarc"` <br>
Multiple filter queries are separated by spaces. Example: `category=INCIDENT state=ACTIVE`.
By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.
Filter is supported for the following fields: `category`, `state`, `update_time`, `event_impacts.product.product_name`
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Servicehealth::V1::EventView)Optional. Event fields to include in response.
Google::Cloud::Servicehealth::V1::EventResources::ListEventsResponse
Response to request for listing events.
Inherits from Protobuf::Message.
Accessors
$msg->events()/$msg->events($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::Event)Output only. List of events.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token to retrieve the next page.
If this field is not present, there are no subsequent results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringOutput only. Locations that could not be reached.
Google::Cloud::Servicehealth::V1::EventResources::GetEventRequest
Gets information about a specific event.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Unique name of the event in this scope including project and location using the form `projects/{project_id}/locations/{location}/events/{event_id}`.
`project_id` - Project ID of the project that contains the event. <br> `location` - The location to get the service health events from. <br> `event_id` - Event ID to retrieve.
Google::Cloud::Servicehealth::V1::EventResources::ListOrganizationEventsRequest
Requests list of events that affect an organization.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value using the form `organizations/{organization_id}/locations/{location}/organizationEvents`.
`organization_id` - ID (number) of the project that contains the event. To get your `organization_id`, see [Getting your organization resource ID](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).<br> `location` - The location to get the service health events from. To retrieve service health events of category = INCIDENT, use `location` = `global`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of events that should be returned. Acceptable values are `1` to `100`, inclusive. (The default value is `10`.) If more results are available, the service returns a `next_page_token` that you can use to get the next page of results in subsequent list requests. The service may return fewer events than the requested `page_size`.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Provide Page token returned by a previous `ListOrganizationEvents` call to retrieve the next page of results.
When paginating, all other parameters provided to `ListOrganizationEvents` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. A filter expression that filters resources listed in the response. The expression takes the following forms:
* field=value for `category` and `state` * field <, >, <=, or >= value for `update_time`
Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`
Multiple filter queries are space-separated. Example: `category=INCIDENT state=ACTIVE`.
By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.
Filter is supported for the following fields: `category`, `state`, `update_time`
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Servicehealth::V1::OrganizationEventView)Optional. OrganizationEvent fields to include in response.
Google::Cloud::Servicehealth::V1::EventResources::ListOrganizationEventsResponse
Response to request for listing organization events.
Inherits from Protobuf::Message.
Accessors
$msg->organization_events()/$msg->organization_events($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::OrganizationEvent)Output only. List of organization events affecting an organization.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as `page_token` to retrieve the next page.
If this field is not present, there are no subsequent results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringOutput only. Locations that could not be reached.
Google::Cloud::Servicehealth::V1::EventResources::GetOrganizationEventRequest
Gets information about a specific event affecting an organization.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Unique name of the event in this scope including organization and event ID using the form `organizations/{organization_id}/locations/locations/global/organizationEvents/{event_id}`.
`organization_id` - ID (number) of the project that contains the event. To get your `organization_id`, see [Getting your organization resource ID](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).<br> `event_id` - Organization event ID to retrieve.
Google::Cloud::Servicehealth::V1::EventResources::ListOrganizationImpactsRequest
Requests list of projects under an organization affected by an event.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value using the form `organizations/{organization_id}/locations/{location}/organizationImpacts`.
`organization_id` - ID (number) of the project that contains the event. To get your `organization_id`, see [Getting your organization resource ID](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of events that should be returned. Acceptable values are `1` to `100`, inclusive. The default value is `10`.
If more results are available, the service returns a `next_page_token` that can be used to get the next page of results in subsequent list requests. The service may return fewer [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) than the requested `page_size`.$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Provide `page_token` returned by a previous `ListOrganizationImpacts` call to retrieve the next page of results.
When paginating, all other parameters provided to `ListOrganizationImpacts` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. A filter expression that filters resources listed in the response. The expression is in the form of `field:value` for checking if a repeated field contains a value.
Example: `events:organizations%2F{organization_id}%2Flocations%2Fglobal%2ForganizationEvents%2Fevent-id`
To get your `{organization_id}`, see [Getting your organization resource ID](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
Multiple filter queries are separated by spaces.
By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. Filter is supported for the following fields: `events`.
Google::Cloud::Servicehealth::V1::EventResources::ListOrganizationImpactsResponse
Response to request for listing projects under an organization affected by an event.
Inherits from Protobuf::Message.
Accessors
$msg->organization_impacts()/$msg->organization_impacts($value)Type:
Message(Google::Cloud::Servicehealth::V1::EventResources::OrganizationImpact)Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as `page_token` to retrieve the next page.
If this field is not present, there are no subsequent results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringOutput only. Locations that could not be reached.
Google::Cloud::Servicehealth::V1::EventResources::GetOrganizationImpactRequest
Gets information about an event that affects a project under an organization.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource using the form `organizations/{organization_id}/locations/global/organizationImpacts/{organization_impact_id}`.
`organization_id` - ID (number) of the organization that contains the event. To get your `organization_id`, see [Getting your organization resource ID](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).<br> `organization_impact_id` - ID of the [OrganizationImpact resource](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact).
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Servicehealth::V1::EventResources::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.