Batch v1alpha API - Class LogsPolicy (1.0.0-alpha30)

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

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

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

Inheritance

object > LogsPolicy

Namespace

Google.Cloud.Batch.V1Alpha

Assembly

Google.Cloud.Batch.V1Alpha.dll

Constructors

LogsPolicy()

public LogsPolicy()

LogsPolicy(LogsPolicy)

public LogsPolicy(LogsPolicy other)
Parameter
Name Description
other LogsPolicy

Properties

CloudLoggingOption

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

Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.

Property Value
Type Description
LogsPolicyTypesCloudLoggingOption

Destination

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

Where logs should be saved.

Property Value
Type Description
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
Type Description
string