Batch v1 API - Class LogsPolicy (1.3.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

GoogleCloudGoogle.Cloud.BatchV1

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
LogsPolicyTypesDestination

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