Google Cloud Service Health V1 Client - Class GetOrganizationImpactRequest (0.1.8)

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

Message for getting an organization impact.

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

Namespace

Google \ Cloud \ ServiceHealth \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the resource using the form organizations/{organization_id}/locations/global/organizationImpacts/{organization_impact_id}. organization_id - ID (number) of the organization that contains the event. To get your organization_id, see Getting your organization resource ID.
organization_impact_id - ID of the OrganizationImpact resource.

getName

Required. Name of the resource using the form organizations/{organization_id}/locations/global/organizationImpacts/{organization_impact_id}.

organization_id - ID (number) of the organization that contains the event. To get your organization_id, see Getting your organization resource ID.
organization_impact_id - ID of the OrganizationImpact resource.

Returns
Type Description
string

setName

Required. Name of the resource using the form organizations/{organization_id}/locations/global/organizationImpacts/{organization_impact_id}.

organization_id - ID (number) of the organization that contains the event. To get your organization_id, see Getting your organization resource ID.
organization_impact_id - ID of the OrganizationImpact resource.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the resource using the form organizations/{organization_id}/locations/global/organizationImpacts/{organization_impact_id}.

organization_id - ID (number) of the organization that contains the event. To get your organization_id, see Getting your organization resource ID.
organization_impact_id - ID of the OrganizationImpact resource. Please see ServiceHealthClient::organizationImpactName() for help formatting this field.

Returns
Type Description
GetOrganizationImpactRequest