Class ProjectInfo.State (1.30.0)

public static final class ProjectInfo.State extends StringEnumValue

The project lifecycle states.

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > ProjectInfo.State

Static Fields

ACTIVE

public static final ProjectInfo.State ACTIVE

The normal and active state.

Field Value
TypeDescription
ProjectInfo.State

DELETE_IN_PROGRESS

public static final ProjectInfo.State DELETE_IN_PROGRESS

The process of deleting the project has begun. Reversing the deletion is no longer possible.

Field Value
TypeDescription
ProjectInfo.State

DELETE_REQUESTED

public static final ProjectInfo.State DELETE_REQUESTED

The project has been marked for deletion by the user or by the system (Google Cloud Platform). This can generally be reversed by calling ResourceManager#undelete.

Field Value
TypeDescription
ProjectInfo.State

LIFECYCLE_STATE_UNSPECIFIED

public static final ProjectInfo.State LIFECYCLE_STATE_UNSPECIFIED

Only used/useful for distinguishing unset values.

Field Value
TypeDescription
ProjectInfo.State

Static Methods

valueOf(String constant)

public static ProjectInfo.State valueOf(String constant)

Get the State for the given String constant, and allow unrecognized values.

Parameter
NameDescription
constantString
Returns
TypeDescription
ProjectInfo.State

valueOfStrict(String constant)

public static ProjectInfo.State valueOfStrict(String constant)

Get the State for the given String constant, and throw an exception if the constant is not recognized.

Parameter
NameDescription
constantString
Returns
TypeDescription
ProjectInfo.State

values()

public static ProjectInfo.State[] values()

Return the known values for State.

Returns
TypeDescription
State[]