public sealed class Runnable.Types.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.
To specify an interpreter, please add a #!<interpreter>(also known as
shebang line) as the
first line of the file.(For example, to execute the script using bash,
#!/bin/bash should be the first line of the file. To execute the
script usingPython3, #!/usr/bin/env python3 should be the first
line of the file.) Otherwise, the file will by default be excuted by
/bin/sh.
To specify an interpreter, please add a #!<interpreter>\n at the
beginning of the text.(For example, to execute the script using bash,
#!/bin/bash\n should be added. To execute the script usingPython3,
#!/usr/bin/env python3\n should be added.) Otherwise, the script will
by default be excuted by /bin/sh.
[[["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 provided content details the \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e class within the Google Cloud Batch v1 API for .NET, offering reference documentation and code samples across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e class is 2.13.0, with a history of versions dating back to 1.0.0, all available with links for reference.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e, represents a script runnable within the Batch API, designed for defining and executing shell scripts or script files, using either a direct text input or a file path.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eScript\u003c/code\u003e class 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 the base object class.\u003c/p\u003e\n"],["\u003cp\u003eThe script can be executed with a specified interpreter (e.g., bash, Python3) by adding a shebang line at the beginning of the file or text; otherwise, it defaults to execution via \u003ccode\u003e/bin/sh\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]