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 page provides reference documentation for the \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e class within the Google Cloud Batch v1 API, which is used for defining script runnables.\u003c/p\u003e\n"],["\u003cp\u003eIt lists various versions of the \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e class, ranging from version 1.0.0 to the latest version 2.13.0, each with a direct link to its documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace, implements multiple interfaces including \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\u003eThe class includes properties such as \u003ccode\u003ePath\u003c/code\u003e (script file path on the host VM) and \u003ccode\u003eText\u003c/code\u003e (shell script text) to define how the script will be executed, including the ability to specify an interpreter via a shebang line.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version for this class is the 2.13.0 version, while this specific page is dedicated to the 2.0.0 version.\u003c/p\u003e\n"]]],[],null,[]]