Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
↳ interpreter
int
The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts withshebang lines.
Defaults to [0]. A list of possible return values that the
execution can return to indicate a success.
Parameter
Name
Description
var
int[]
Returns
Type
Description
$this
getInterpreter
The script interpreter to use to run the script. If no interpreter is
specified the script will be executed directly, which will likely
only succeed for scripts withshebang lines.
Returns
Type
Description
int
setInterpreter
The script interpreter to use to run the script. If no interpreter is
specified the script will be executed directly, which will likely
only succeed for scripts withshebang lines.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud OsConfig V1 Client - Class ExecStepConfig (2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/php/docs/reference/cloud-osconfig/latest/V1.ExecStepConfig)\n- [2.0.5](/php/docs/reference/cloud-osconfig/2.0.5/V1.ExecStepConfig)\n- [1.3.5](/php/docs/reference/cloud-osconfig/1.3.5/V1.ExecStepConfig)\n- [1.2.2](/php/docs/reference/cloud-osconfig/1.2.2/V1.ExecStepConfig)\n- [1.1.1](/php/docs/reference/cloud-osconfig/1.1.1/V1.ExecStepConfig)\n- [1.0.5](/php/docs/reference/cloud-osconfig/1.0.5/V1.ExecStepConfig) \nReference documentation and code samples for the Google Cloud OsConfig V1 Client class ExecStepConfig.\n\nCommon configurations for an ExecStep.\n\nGenerated from protobuf message `google.cloud.osconfig.v1.ExecStepConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsConfig \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getLocalPath\n\nAn absolute path to the executable on the VM.\n\n### hasLocalPath\n\n### setLocalPath\n\nAn absolute path to the executable on the VM.\n\n### getGcsObject\n\nA Cloud Storage object containing the executable.\n\n### hasGcsObject\n\n### setGcsObject\n\nA Cloud Storage object containing the executable.\n\n### getAllowedSuccessCodes\n\nDefaults to \\[0\\]. A list of possible return values that the\nexecution can return to indicate a success.\n\n### setAllowedSuccessCodes\n\nDefaults to \\[0\\]. A list of possible return values that the\nexecution can return to indicate a success.\n\n### getInterpreter\n\nThe script interpreter to use to run the script. If no interpreter is\nspecified the script will be executed directly, which will likely\nonly succeed for scripts with [shebang lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n\n### setInterpreter\n\nThe script interpreter to use to run the script. If no interpreter is\nspecified the script will be executed directly, which will likely\nonly succeed for scripts with [shebang lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n\n### getExecutable"]]