View Source GoogleApi.Batch.V1.Model.LogsPolicy (google_api_batch v0.6.0)

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

Attributes

  • cloudLoggingOption (type: GoogleApi.Batch.V1.Model.CloudLoggingOption.t, default: nil) - Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
  • destination (type: String.t, default: nil) - Where logs should be saved.
  • logsPath (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.LogsPolicy{
  cloudLoggingOption: GoogleApi.Batch.V1.Model.CloudLoggingOption.t() | nil,
  destination: String.t() | nil,
  logsPath: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.