# Cloud Vision V1 Client - Class ProductSetPurgeConfig (2.2.1)

2.2.1 (latest) 2.2.0 2.1.3 2.0.3 1.10.3 1.9.4 1.8.0 1.7.6 1.6.8 Reference documentation and code samples for the Cloud Vision V1 Client class ProductSetPurgeConfig.

Config to control which ProductSet contains the Products to be deleted.

Generated from protobuf message `google.cloud.vision.v1.ProductSetPurgeConfig`

## Namespace

Google \\ Cloud \\ Vision \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ product_set_id` | `string` The ProductSet that contains the Products to delete. If a Product is a member of product_set_id in addition to other ProductSets, the Product will still be deleted. |

### getProductSetId

The ProductSet that contains the Products to delete. If a Product is a
member of product_set_id in addition to other ProductSets, the Product will
still be deleted.

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

### setProductSetId

The ProductSet that contains the Products to delete. If a Product is a
member of product_set_id in addition to other ProductSets, the Product will
still be deleted.

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

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