public sealed class Script : IMessage<Runnable.Types.Script>, IEquatable<Runnable.Types.Script>, IDeepCloneable<Runnable.Types.Script>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class Runnable.Types.Script.
[[["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\u003eRunnable.Types.Script\u003c/code\u003e class, part of the Google.Cloud.Batch.V1 namespace, is used for defining a script runnable within the Batch v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is inherited from the Object class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.13.0, and versions back to 1.0.0 are documented and accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default \u003ccode\u003eScript()\u003c/code\u003e constructor and a \u003ccode\u003eScript(Runnable.Types.Script)\u003c/code\u003e constructor for creating a copy of another script object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eCommandCase\u003c/code\u003e for handling different command types, \u003ccode\u003ePath\u003c/code\u003e for specifying the file path of a script on the host VM, and \u003ccode\u003eText\u003c/code\u003e for providing the shell script content directly.\u003c/p\u003e\n"]]],[],null,[]]