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 manages how outputs from a Job's Tasks (stdout/stderr) are preserved.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eLogsPolicy\u003c/code\u003e documentation is version 2.13.0, but documentation for versions ranging from 1.0.0 to 2.12.0 are available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLogsPolicy\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogsPolicy\u003c/code\u003e class has properties for \u003ccode\u003eDestination\u003c/code\u003e, which defines where logs are saved, and \u003ccode\u003eLogsPath\u003c/code\u003e, which specifies the exact location of saved logs when the destination is set to a path.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogsPolicy\u003c/code\u003e class has two constructors, one default constructor that takes no parameters and one that takes another \u003ccode\u003eLogsPolicy\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]