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 provides a way to define how outputs from a Job's Tasks (stdout/stderr) are preserved.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eLogsPolicy\u003c/code\u003e is 2.13.0, with various other versions available, including 2.0.0 which is the version that is the main topic.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLogsPolicy\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eLogsPolicy\u003c/code\u003e include \u003ccode\u003eDestination\u003c/code\u003e, which specifies where logs are saved, and \u003ccode\u003eLogsPath\u003c/code\u003e, which defines the specific path when the destination is a path.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogsPolicy\u003c/code\u003e class has two constructors available, a default constructor, and a second constructor that takes another \u003ccode\u003eLogsPolicy\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]