Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ExecStepConfig.
Common configurations for an ExecStep.
Generated from protobuf message google.cloud.osconfig.v1.ExecStepConfig
Namespace
Google \ Cloud \ OsConfig \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ local_path
string
An absolute path to the executable on the VM.
↳ gcs_object
↳ allowed_success_codes
array
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 with shebang lines .
getLocalPath
An absolute path to the executable on the VM.
string
hasLocalPath
setLocalPath
An absolute path to the executable on the VM.
var
string
$this
getGcsObject
A Cloud Storage object containing the executable.
hasGcsObject
setGcsObject
A Cloud Storage object containing the executable.
$this
getAllowedSuccessCodes
Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
setAllowedSuccessCodes
Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
var
int[]
$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 with shebang lines .
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 with shebang lines .
var
int
$this
getExecutable
string