Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::ExecStepConfig (v0.12.0)

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

#gcs_object=

def gcs_object=(value) -> ::Google::Cloud::OsConfig::V1::GcsObject
Parameter
Returns

#interpreter

def interpreter() -> ::Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter
Returns

#interpreter=

def interpreter=(value) -> ::Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter
Parameter
Returns

#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.