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

LoggingConfig

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

Specifies the logging behavior for transfer operations. Logs can be sent to Cloud Logging for all transfer types. See Read transfer logs for details.

interface LoggingConfig {
enableOnpremGcsTransferLogs?: boolean;
logActions?:
| "LOGGABLE_ACTION_UNSPECIFIED"
| "FIND"
| "DELETE"
| "COPY"[];
logActionStates?:
| "LOGGABLE_ACTION_STATE_UNSPECIFIED"
| "SUCCEEDED"
| "FAILED"
| "SKIPPED"[];
}

§Properties

§
enableOnpremGcsTransferLogs?: boolean
[src]

For PosixFilesystem transfers, enables file system transfer logs instead of, or in addition to, Cloud Logging. This option ignores [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging will also be enabled for this transfer.

§
logActions?: "LOGGABLE_ACTION_UNSPECIFIED" | "FIND" | "DELETE" | "COPY"[]
[src]

Specifies the actions to be logged. If empty, no logs are generated.

§
logActionStates?: "LOGGABLE_ACTION_STATE_UNSPECIFIED" | "SUCCEEDED" | "FAILED" | "SKIPPED"[]
[src]

States in which log_actions are logged. If empty, no logs are generated.