Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::ExecStepConfig.
Common configurations for an ExecStep.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allowed_success_codes
def allowed_success_codes() -> ::Array<::Integer> Returns
- (::Array<::Integer>) — Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
#allowed_success_codes=
def allowed_success_codes=(value) -> ::Array<::Integer> Parameter
- value (::Array<::Integer>) — Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
Returns
- (::Array<::Integer>) — Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
#gcs_object
def gcs_object() -> ::Google::Cloud::OsConfig::V1::GcsObject Returns
- (::Google::Cloud::OsConfig::V1::GcsObject) — A Cloud Storage object containing the executable.
#gcs_object=
def gcs_object=(value) -> ::Google::Cloud::OsConfig::V1::GcsObject Parameter
- value (::Google::Cloud::OsConfig::V1::GcsObject) — A Cloud Storage object containing the executable.
Returns
- (::Google::Cloud::OsConfig::V1::GcsObject) — A Cloud Storage object containing the executable.
#interpreter
def interpreter() -> ::Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter Returns
- (::Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter) — 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.
#interpreter=
def interpreter=(value) -> ::Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter Parameter
- value (::Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter) — 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.
Returns
- (::Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter) — 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.
#local_path
def local_path() -> ::String Returns
- (::String) — An absolute path to the executable on the VM.
#local_path=
def local_path=(value) -> ::String Parameter
- value (::String) — An absolute path to the executable on the VM.
Returns
- (::String) — An absolute path to the executable on the VM.