# Google Cloud Service Health V1 Client - Class Product (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 Product.

Represents the Google Cloud product impacted by the event.

Generated from protobuf message `google.cloud.servicehealth.v1.Product`

## Namespace

Google \\ Cloud \\ ServiceHealth \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ product_name` | `string` Google Cloud product impacted by the event. Example: `"Google Cloud SQL"` |
| `↳ id` | `string` Unique identifier for the product. |

### getProductName

Google Cloud product impacted by the event. Example: `"Google Cloud SQL"`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setProductName

Google Cloud product impacted by the event. Example: `"Google Cloud SQL"`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getId

Unique identifier for the product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setId

Unique identifier for the product.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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