LogsPolicy class

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

Constructors

LogsPolicy({Input<Map<String, dynamic>>? cloudLoggingOption, Input<LogsPolicyDestination>? destination, Input<String>? logsPath})
Creates a new LogsPolicy. cloudLoggingOption Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING. destination Where logs should be saved. logsPath 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.
const
LogsPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

cloudLoggingOption → Input<Map<String, dynamic>>?
Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
final
destination → Input<LogsPolicyDestination>?
Where logs should be saved.
final
hashCode → int
The hash code for this object.
no setterinherited
logsPath → Input<String>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited