Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::LogsPolicy.
LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#destination
def destination() -> ::Google::Cloud::Batch::V1::LogsPolicy::Destination
Returns
- (::Google::Cloud::Batch::V1::LogsPolicy::Destination) — Where logs should be saved.
#destination=
def destination=(value) -> ::Google::Cloud::Batch::V1::LogsPolicy::Destination
Parameter
- value (::Google::Cloud::Batch::V1::LogsPolicy::Destination) — Where logs should be saved.
Returns
- (::Google::Cloud::Batch::V1::LogsPolicy::Destination) — Where logs should be saved.
#logs_path
def logs_path() -> ::String
Returns
- (::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.
#logs_path=
def logs_path=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.