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>
- (::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>
- value (::Array<::Integer>) — Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
- (::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
-
(::Google::Cloud::OsConfig::V1::GcsObject) — A Cloud Storage object containing the executable.
Note: The following fields are mutually exclusive:
gcs_object
,local_path
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gcs_object=
def gcs_object=(value) -> ::Google::Cloud::OsConfig::V1::GcsObject
-
value (::Google::Cloud::OsConfig::V1::GcsObject) — A Cloud Storage object containing the executable.
Note: The following fields are mutually exclusive:
gcs_object
,local_path
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::GcsObject) — A Cloud Storage object containing the executable.
Note: The following fields are mutually exclusive:
gcs_object
,local_path
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#interpreter
def interpreter() -> ::Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter
- (::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
- 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.
- (::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
-
(::String) — An absolute path to the executable on the VM.
Note: The following fields are mutually exclusive:
local_path
,gcs_object
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#local_path=
def local_path=(value) -> ::String
-
value (::String) — An absolute path to the executable on the VM.
Note: The following fields are mutually exclusive:
local_path
,gcs_object
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — An absolute path to the executable on the VM.
Note: The following fields are mutually exclusive:
local_path
,gcs_object
. If a field in that set is populated, all other fields in the set will automatically be cleared.