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\u003eThis document provides reference information for the \u003ccode\u003eLogsPolicy\u003c/code\u003e class within the Google Cloud Batch v1 API, detailing its purpose in managing how task outputs (stdout/stderr) are preserved.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogsPolicy\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace, is available across multiple versions of the API, with version 2.13.0 as the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLogsPolicy\u003c/code\u003e is implemented using various interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, inheriting from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eLogsPolicy\u003c/code\u003e class include \u003ccode\u003eCloudLoggingOption\u003c/code\u003e for settings in Cloud Logging, \u003ccode\u003eDestination\u003c/code\u003e to specify where logs are saved, and \u003ccode\u003eLogsPath\u003c/code\u003e to define the log file path when the destination is a custom path.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes constructors for \u003ccode\u003eLogsPolicy\u003c/code\u003e to provide instanciation, either default or from an existing instance, along with details on inherited members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]