Enum OSPolicy.Resource.ExecResource.Exec.Interpreter (2.44.0)

public enum OSPolicy.Resource.ExecResource.Exec.Interpreter extends Enum<OSPolicy.Resource.ExecResource.Exec.Interpreter> implements ProtocolMessageEnum

The interpreter to use.

Protobuf enum google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter

Implements

ProtocolMessageEnum

Static Fields

Name Description
INTERPRETER_UNSPECIFIED

Invalid value, the request will return validation error.

INTERPRETER_UNSPECIFIED = 0;

INTERPRETER_UNSPECIFIED_VALUE

Invalid value, the request will return validation error.

INTERPRETER_UNSPECIFIED = 0;

NONE

If an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have <a href="https://en.wikipedia.org/wiki/Shebang_(Unix)" class="external">shebang lines</a>.

NONE = 1;

NONE_VALUE

If an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have <a href="https://en.wikipedia.org/wiki/Shebang_(Unix)" class="external">shebang lines</a>.

NONE = 1;

POWERSHELL

Indicates that the script runs with PowerShell.

POWERSHELL = 3;

POWERSHELL_VALUE

Indicates that the script runs with PowerShell.

POWERSHELL = 3;

SHELL

Indicates that the script runs with /bin/sh on Linux and cmd.exe on Windows.

SHELL = 2;

SHELL_VALUE

Indicates that the script runs with /bin/sh on Linux and cmd.exe on Windows.

SHELL = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()