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 webpage provides documentation for the \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e class within the Google Cloud Batch v1 API, specifically within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e, represents a script runnable, and it can be implemented using several interfaces, such as \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 allows for script execution either through a specified file path (Path property) or directly as text (Text property), both of which can have interpreters defined, such as bash or Python3.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of the API, ranging from version 1.0.0 up to the latest 2.13.0, with all versions from 2.0.0 and up also listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e class is found in the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace, and the documentation includes information on constructors and properties such as \u003ccode\u003eCommandCase\u003c/code\u003e, \u003ccode\u003eHasPath\u003c/code\u003e, \u003ccode\u003eHasText\u003c/code\u003e, \u003ccode\u003ePath\u003c/code\u003e, and \u003ccode\u003eText\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]