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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLogsPolicy\u003c/code\u003e class in the Google Cloud Batch v1 API defines how job task outputs (stdout/stderr) are preserved.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers options for log destinations, including \u003ccode\u003eCLOUD_LOGGING\u003c/code\u003e and \u003ccode\u003ePATH\u003c/code\u003e, allowing for flexibility in log storage.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLogsPolicy\u003c/code\u003e has constructors for both creating new instances and for copying existing \u003ccode\u003eLogsPolicy\u003c/code\u003e instances.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogsPolicy\u003c/code\u003e class has properties to manage cloud logging settings (\u003ccode\u003eCloudLoggingOption\u003c/code\u003e), log destination (\u003ccode\u003eDestination\u003c/code\u003e), and the path to save logs when using \u003ccode\u003ePATH\u003c/code\u003e as a destination (\u003ccode\u003eLogsPath\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is 2.13.0, and the documentation covers versions back to 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]