Google Cloud Service Health V1 Client - Class GetOrganizationEventRequest (0.2.0)

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

Message for getting an organization event.

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

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 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.
event_id - Organization event ID to retrieve.

getName

Required. 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.
event_id - Organization event ID to retrieve.

Returns
Type Description
string

setName

Required. 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.
event_id - Organization 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 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.
event_id - Organization event ID to retrieve. Please see ServiceHealthClient::organizationEventName() for help formatting this field.

Returns
Type Description
GetOrganizationEventRequest