Batch v1 API - Class LogsPolicy (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class LogsPolicy : IMessage<LogsPolicy>, IEquatable<LogsPolicy>, IDeepCloneable<LogsPolicy>, IBufferMessage, IMessageReference 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.
Implements
IMessage LogsPolicy, IEquatable LogsPolicy, IDeepCloneable LogsPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
LogsPolicy()
public LogsPolicy()LogsPolicy(LogsPolicy)
public LogsPolicy(LogsPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
LogsPolicy |
Properties
Destination
public LogsPolicy.Types.Destination Destination { get; set; }Where logs should be saved.
| Property Value | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
string |
|