Reference documentation and code samples for the Google Cloud Service Health V1 Client class 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.
Generated from protobuf message google.cloud.servicehealth.v1.Event
Namespace
Google \ Cloud \ ServiceHealth \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
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}
.
↳ title
string
Output only. Brief description for the event.
↳ description
string
Output only. Free-form, human-readable description.
↳ category
int
Output only. The category of the event.
↳ detailed_category
int
Output only. The detailed category of the event.
↳ state
int
Output only. The current state of the event.
↳ detailed_state
int
Output only. The current detailed state of the incident.
↳ event_impacts
↳ relevance
int
Output only. Communicates why a given event is deemed relevant in the context of a given project.
↳ updates
↳ parent_event
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.
↳ update_time
↳ start_time
↳ end_time
↳ next_update_time
getName
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}
.
string
setName
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}
.
var
string
$this
getTitle
Output only. Brief description for the event.
string
setTitle
Output only. Brief description for the event.
var
string
$this
getDescription
Output only. Free-form, human-readable description.
string
setDescription
Output only. Free-form, human-readable description.
var
string
$this
getCategory
Output only. The category of the event.
int
setCategory
Output only. The category of the event.
var
int
$this
getDetailedCategory
Output only. The detailed category of the event.
int
setDetailedCategory
Output only. The detailed category of the event.
var
int
$this
getState
Output only. The current state of the event.
int
setState
Output only. The current state of the event.
var
int
$this
getDetailedState
Output only. The current detailed state of the incident.
int
setDetailedState
Output only. The current detailed state of the incident.
var
int
$this
getEventImpacts
Google Cloud products and locations impacted by the event.
setEventImpacts
Google Cloud products and locations impacted by the event.
$this
getRelevance
Output only. Communicates why a given event is deemed relevant in the context of a given project.
int
setRelevance
Output only. Communicates why a given event is deemed relevant in the context of a given project.
var
int
$this
getUpdates
Output only. Event updates are correspondence from Google.
setUpdates
Output only. Event updates are correspondence from Google.
$this
getParentEvent
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.
string
setParentEvent
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.
var
string
$this
getUpdateTime
Output only. The time when the event was last modified.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the event was last modified.
$this
getStartTime
Output only. The start time of the event, if applicable.
hasStartTime
clearStartTime
setStartTime
Output only. The start time of the event, if applicable.
$this
getEndTime
Output only. The end time of the event, if applicable.
hasEndTime
clearEndTime
setEndTime
Output only. The end time of the event, if applicable.
$this
getNextUpdateTime
Output only. The time when the next update can be expected.
hasNextUpdateTime
clearNextUpdateTime
setNextUpdateTime
Output only. The time when the next update can be expected.
$this