Batch v1 API - Class LogsPolicy (1.2.0)

public sealed class LogsPolicy : IMessage<LogsPolicy>, IEquatable<LogsPolicy>, IDeepCloneable<LogsPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the Batch v1 API class LogsPolicy.

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

Inheritance

Object > LogsPolicy

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

LogsPolicy()

public LogsPolicy()

LogsPolicy(LogsPolicy)

public LogsPolicy(LogsPolicy other)
Parameter
NameDescription
otherLogsPolicy

Properties

Destination

public LogsPolicy.Types.Destination Destination { get; set; }

Where logs should be saved.

Property Value
TypeDescription
LogsPolicy.Types.Destination

LogsPath

public string LogsPath { get; set; }

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.

Property Value
TypeDescription
String