Google Cloud Service Health V1 Client - Class EventImpact (0.1.6)

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

Represents the Google Cloud products and locations impacted by the event.

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

Namespace

Google \ Cloud \ ServiceHealth \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ product Google\Cloud\ServiceHealth\V1\Product

Google Cloud product impacted by the event.

↳ location Google\Cloud\ServiceHealth\V1\Location

Location impacted by the event.

getProduct

Google Cloud product impacted by the event.

Returns
Type Description
Google\Cloud\ServiceHealth\V1\Product|null

hasProduct

clearProduct

setProduct

Google Cloud product impacted by the event.

Parameter
Name Description
var Google\Cloud\ServiceHealth\V1\Product
Returns
Type Description
$this

getLocation

Location impacted by the event.

Returns
Type Description
Google\Cloud\ServiceHealth\V1\Location|null

hasLocation

clearLocation

setLocation

Location impacted by the event.

Parameter
Name Description
var Google\Cloud\ServiceHealth\V1\Location
Returns
Type Description
$this