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. For cloud-to-cloud transfers, logs are sent to Cloud Logging. See Read transfer logs for details. For transfers to or from a POSIX file system, logs are stored in the Cloud Storage bucket that is the source or sink of the transfer. See [Managing Transfer for on-premises jobs] (https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs) for details.

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

§Properties

§
enableOnpremGcsTransferLogs?: boolean
[src]

For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.

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

Specifies the actions to be logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

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

States in which log_actions are logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.