Reference documentation and code samples for the Google Cloud Service Health V1 Client class GetEventRequest.
Gets information about a specific event.
Generated from protobuf message google.cloud.servicehealth.v1.GetEventRequest
Namespace
Google \ Cloud \ ServiceHealth \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Unique name of the event in this scope including project and location using the form |
getName
Required. 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.
location - The location to get the service health events from.
event_id - Event ID to retrieve.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. 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.
location - The location to get the service health events from.
event_id - Event ID to retrieve.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. Unique name of the event in this scope including project
and location using the form
|
| Returns | |
|---|---|
| Type | Description |
GetEventRequest |
|