# Google Cloud Batch V1 Client - Class Destination (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.7 1.0.3 0.17.0 0.16.10 0.15.0 0.14.0 0.13.1 0.12.1 0.11.3 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.2 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Google Cloud Batch V1 Client class Destination.

The destination (if any) for logs.

Protobuf type `google.cloud.batch.v1.LogsPolicy.Destination`

## Namespace

Google \\ Cloud \\ Batch \\ V1 \\ LogsPolicy

## Methods

### static::name

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

### static::value

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

## Constants

### DESTINATION_UNSPECIFIED

    Value: 0

(Default) Logs are not preserved.

Generated from protobuf enum `DESTINATION_UNSPECIFIED = 0;`

### CLOUD_LOGGING

    Value: 1

Logs are streamed to Cloud Logging. Optionally, you can configure
additional settings in the `cloudLoggingOption` field.

Generated from protobuf enum `CLOUD_LOGGING = 1;`

### PATH

    Value: 2

Logs are saved to the file path specified in the `logsPath` field.

Generated from protobuf enum `PATH = 2;`