LogsPolicyArgs

data class LogsPolicyArgs(val destination: Output<LogsPolicyDestination>? = null, val logsPath: Output<String>? = null) : ConvertibleToJava<LogsPolicyArgs>

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

Constructors

Link copied to clipboard
fun LogsPolicyArgs(destination: Output<LogsPolicyDestination>? = null, logsPath: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): LogsPolicyArgs

Properties

Link copied to clipboard
val destination: Output<LogsPolicyDestination>? = null

Where logs should be saved.

Link copied to clipboard
val logsPath: Output<String>? = null

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.