Google Cloud Service Health V1 Client - Class GetEventRequest (0.2.1)

Reference documentation and code samples for the Google Cloud Service Health V1 Client class GetEventRequest.

Message for getting an event.

Generated from protobuf message google.cloud.servicehealth.v1.GetEventRequest

Namespace

Google \ Cloud \ ServiceHealth \ V1

Methods

__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 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.

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 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. Please see ServiceHealthClient::eventName() for help formatting this field.

Returns
Type Description
GetEventRequest