# Google Cloud Optimization V1 Client - Class EncodedPolyline (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.7.0 0.6.5 0.5.1 0.4.0 0.3.4 0.2.0 0.1.9 Reference documentation and code samples for the Google Cloud Optimization V1 Client class EncodedPolyline.

The encoded representation of a polyline. More information on polyline
encoding can be found here:
<https://developers.google.com/maps/documentation/utilities/polylinealgorithm>
<https://developers.google.com/maps/documentation/javascript/reference/geometry#encoding>.

Generated from protobuf message `google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline`

## Namespace

Google \\ Cloud \\ Optimization \\ V1 \\ ShipmentRoute

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ points` | `string` String representing encoded points of the polyline. |

### getPoints

String representing encoded points of the polyline.

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

### setPoints

String representing encoded points of the polyline.

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

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