Class ExecStepConfig (0.1.2)

ExecStepConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Common configurations for an ExecStep.

Attributes

NameDescription
local_path str
An absolute path to the executable on the VM.
gcs_object .gco_patch_jobs.GcsObject
A Cloud Storage object containing the executable.
allowed_success_codes Sequence[int]
Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
interpreter .gco_patch_jobs.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] (https://en.wikipedia.org/wiki/Shebang_(Unix)).

Classes

Interpreter

Interpreter(value)

The interpreter used to execute the a file.

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.