# Google Cloud Retail V2 Client - Class PinControlMetadata (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Retail V2 Client class PinControlMetadata.

Metadata for pinning to be returned in the response.

This is used for distinguishing between applied vs dropped pins.

Generated from protobuf message `google.cloud.retail.v2.PinControlMetadata`

## Namespace

Google \\ Cloud \\ Retail \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ all_matched_pins` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Map of all matched pins, keyed by pin position. |
| `↳ dropped_pins` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Map of pins that were dropped due to overlap with other matching pins, keyed by pin position. |

### getAllMatchedPins

Map of all matched pins, keyed by pin position.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setAllMatchedPins

Map of all matched pins, keyed by pin position.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getDroppedPins

Map of pins that were dropped due to overlap with other matching pins,
keyed by pin position.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setDroppedPins

Map of pins that were dropped due to overlap with other matching pins,
keyed by pin position.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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