Reference documentation and code samples for the Service Health V1 API class Google::Cloud::ServiceHealth::V1::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
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#category
def category() -> ::Google::Cloud::ServiceHealth::V1::Event::EventCategory
Returns
- (::Google::Cloud::ServiceHealth::V1::Event::EventCategory) — Output only. The category of the event.
#description
def description() -> ::String
Returns
- (::String) — Output only. Free-form, human-readable description.
#detailed_category
def detailed_category() -> ::Google::Cloud::ServiceHealth::V1::Event::DetailedCategory
Returns
- (::Google::Cloud::ServiceHealth::V1::Event::DetailedCategory) — Output only. The detailed category of the event.
#detailed_state
def detailed_state() -> ::Google::Cloud::ServiceHealth::V1::Event::DetailedState
Returns
- (::Google::Cloud::ServiceHealth::V1::Event::DetailedState) — Output only. The current detailed state of the incident.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The end time of the event, if applicable.
#event_impacts
def event_impacts() -> ::Array<::Google::Cloud::ServiceHealth::V1::EventImpact>
Returns
- (::Array<::Google::Cloud::ServiceHealth::V1::EventImpact>) — Google Cloud products and locations impacted by the event.
#event_impacts=
def event_impacts=(value) -> ::Array<::Google::Cloud::ServiceHealth::V1::EventImpact>
Parameter
- value (::Array<::Google::Cloud::ServiceHealth::V1::EventImpact>) — Google Cloud products and locations impacted by the event.
Returns
- (::Array<::Google::Cloud::ServiceHealth::V1::EventImpact>) — Google Cloud products and locations impacted by the event.
#name
def name() -> ::String
Returns
-
(::String) — 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}
.
#next_update_time
def next_update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the next update can be expected.
#parent_event
def parent_event() -> ::String
Returns
-
(::String) — 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.
#relevance
def relevance() -> ::Google::Cloud::ServiceHealth::V1::Event::Relevance
Returns
- (::Google::Cloud::ServiceHealth::V1::Event::Relevance) — Output only. Communicates why a given event is deemed relevant in the context of a given project.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The start time of the event, if applicable.
#state
def state() -> ::Google::Cloud::ServiceHealth::V1::Event::State
Returns
- (::Google::Cloud::ServiceHealth::V1::Event::State) — Output only. The current state of the event.
#title
def title() -> ::String
Returns
- (::String) — Output only. Brief description for the event.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the event was last modified.
#updates
def updates() -> ::Array<::Google::Cloud::ServiceHealth::V1::EventUpdate>
Returns
- (::Array<::Google::Cloud::ServiceHealth::V1::EventUpdate>) — Output only. Event updates are correspondence from Google.