# Google Maps Route Optimization V1 Client - Class DataFormat (0.6.2)

0.6.2 (latest) 0.6.1 0.5.1 0.4.1 0.3.3 0.2.0 0.1.0 Reference documentation and code samples for the Google Maps Route Optimization V1 Client class DataFormat.

Data formats for input and output files.

Protobuf type `google.maps.routeoptimization.v1.DataFormat`

## Namespace

Google \\ Maps \\ RouteOptimization \\ V1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### DATA_FORMAT_UNSPECIFIED

    Value: 0

Invalid value, format must not be UNSPECIFIED.

Generated from protobuf enum `DATA_FORMAT_UNSPECIFIED = 0;`

### JSON

    Value: 1

JavaScript Object Notation.

Generated from protobuf enum `JSON = 1;`

### PROTO_TEXT

    Value: 2

Protocol Buffers text format. See
<https://protobuf.dev/reference/protobuf/textformat-spec/>

Generated from protobuf enum `PROTO_TEXT = 2;`