# Stackdriver Logging V2 Client - Class VersionFormat (2.1.0)

2.1.0 (latest) 2.0.0 1.34.5 1.33.0 1.32.3 1.31.3 1.30.3 1.29.0 1.28.5 1.27.1 1.26.0 1.25.5 1.24.10 Reference documentation and code samples for the Stackdriver Logging V2 Client class VersionFormat.

Deprecated. This is unused.

Protobuf type `google.logging.v2.LogSink.VersionFormat`

## Namespace

Google \\ Cloud \\ Logging \\ V2 \\ LogSink

## Methods

### static::name

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

### static::value

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

## Constants

### VERSION_FORMAT_UNSPECIFIED

    Value: 0

An unspecified format version that will default to V2.

Generated from protobuf enum `VERSION_FORMAT_UNSPECIFIED = 0;`

### V2

    Value: 1

`LogEntry` version 2 format.

Generated from protobuf enum `V2 = 1;`

### V1

    Value: 2

`LogEntry` version 1 format.

Generated from protobuf enum `V1 = 2;`