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

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

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

Namespace

Google \ Cloud \ ServiceHealth \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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 Google\Cloud\ServiceHealth\V1\ServiceHealthClient::organizationEventName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ServiceHealth\V1\GetOrganizationEventRequest