Batch V1 API - Class Google::Cloud::Batch::V1::LogsPolicy (v0.18.0)

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

#cloud_logging_option

def cloud_logging_option() -> ::Google::Cloud::Batch::V1::LogsPolicy::CloudLoggingOption
Returns

#cloud_logging_option=

def cloud_logging_option=(value) -> ::Google::Cloud::Batch::V1::LogsPolicy::CloudLoggingOption
Parameter
Returns

#destination

def destination() -> ::Google::Cloud::Batch::V1::LogsPolicy::Destination
Returns

#destination=

def destination=(value) -> ::Google::Cloud::Batch::V1::LogsPolicy::Destination
Parameter
Returns

#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.