Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::ExecStepConfig (v1.2.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
  • (::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
Parameter
  • 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.

Returns
  • (::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
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.

    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
Parameter
  • 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.

Returns
  • (::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.