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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ product |
Product
Google Cloud product impacted by the event. |
↳ location |
Location
Location impacted by the event. |
getProduct
Google Cloud product impacted by the event.
Returns | |
---|---|
Type | Description |
Product|null |
hasProduct
clearProduct
setProduct
Google Cloud product impacted by the event.
Parameter | |
---|---|
Name | Description |
var |
Product
|
Returns | |
---|---|
Type | Description |
$this |
getLocation
Location impacted by the event.
Returns | |
---|---|
Type | Description |
Location|null |
hasLocation
clearLocation
setLocation
Location impacted by the event.
Parameter | |
---|---|
Name | Description |
var |
Location
|
Returns | |
---|---|
Type | Description |
$this |