Enum LicenseCode.State (1.29.0)

public enum LicenseCode.State extends Enum<LicenseCode.State> implements ProtocolMessageEnum

[Output Only] Current state of this License Code.

Protobuf enum google.cloud.compute.v1.LicenseCode.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DISABLED

Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.

DISABLED = 516696700;

DISABLED_VALUE

Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.

DISABLED = 516696700;

ENABLED

Use is allowed for anyone with USE_READ_ONLY access to this License Code.

ENABLED = 182130465;

ENABLED_VALUE

Use is allowed for anyone with USE_READ_ONLY access to this License Code.

ENABLED = 182130465;

RESTRICTED

Use of this license is limited to a project whitelist.

RESTRICTED = 261551195;

RESTRICTED_VALUE

Use of this license is limited to a project whitelist.

RESTRICTED = 261551195;

STATE_UNSPECIFIED

STATE_UNSPECIFIED = 470755401;

STATE_UNSPECIFIED_VALUE

STATE_UNSPECIFIED = 470755401;

TERMINATED

Reserved state.

TERMINATED = 250018339;

TERMINATED_VALUE

Reserved state.

TERMINATED = 250018339;

UNDEFINED_STATE

A value indicating that the enum field is not set.

UNDEFINED_STATE = 0;

UNDEFINED_STATE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_STATE = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()