# Google Cloud Optimization V1 Client - Class DataFormat (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 DataFormat.

Data formats for input and output files.

Protobuf type `google.cloud.optimization.v1.DataFormat`

## Namespace

Google \\ Cloud \\ Optimization \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### DATA_FORMAT_UNSPECIFIED

    Value: 0

Default value.

Generated from protobuf enum `DATA_FORMAT_UNSPECIFIED = 0;`

### JSON

    Value: 1

Input data in json format.

Generated from protobuf enum `JSON = 1;`

### STRING

    Value: 2

Input data in string format.

Generated from protobuf enum `STRING = 2;`