# Google Cloud Service Health V1 Client - Class EventImpact (0.5.0)

0.5.0 (latest) 0.4.3 0.3.1 0.2.3 0.1.8 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` | `https://docs.cloud.google.com/php/docs/reference/cloud-servicehealth/latest/V1.Product` Google Cloud product impacted by the event. |
| `↳ location` | `https://docs.cloud.google.com/php/docs/reference/cloud-servicehealth/latest/V1.Location` Location impacted by the event. |

### getProduct

Google Cloud product impacted by the event.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-servicehealth/latest/V1.Product|null` |   |

### hasProduct

### clearProduct

### setProduct

Google Cloud product impacted by the event.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-servicehealth/latest/V1.Product` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLocation

Location impacted by the event.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-servicehealth/latest/V1.Location|null` |   |

### hasLocation

### clearLocation

### setLocation

Location impacted by the event.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-servicehealth/latest/V1.Location` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |