Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LogsPolicy

import type { LogsPolicy } from "https://googleapis.deno.dev/v1/batch:v1.ts";

LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.

interface LogsPolicy {
cloudLoggingOption?: CloudLoggingOption;
destination?: "DESTINATION_UNSPECIFIED" | "CLOUD_LOGGING" | "PATH";
logsPath?: string;
}

§Properties

§
cloudLoggingOption?: CloudLoggingOption
[src]

Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.

§
destination?: "DESTINATION_UNSPECIFIED" | "CLOUD_LOGGING" | "PATH"
[src]

Where logs should be saved.

§
logsPath?: string
[src]

The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.