Reference documentation and code samples for the Google Cloud Batch V1 Client class LogsPolicy.
LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.
Generated from protobuf message google.cloud.batch.v1.LogsPolicy
Namespace
Google \ Cloud \ Batch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ destination
int
Where logs should be saved.
↳ logs_path
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.
getDestination
Where logs should be saved.
int
setDestination
Where logs should be saved.
var
int
$this
getLogsPath
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.
string
setLogsPath
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.
var
string
$this