Class ProjectInfo.State (1.55.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
Type Description
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
Type Description
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
Type Description
ProjectInfo.State

LIFECYCLE_STATE_UNSPECIFIED

public static final ProjectInfo.State LIFECYCLE_STATE_UNSPECIFIED

Only used/useful for distinguishing unset values.

Field Value
Type Description
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
Name Description
constant String
Returns
Type Description
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
Name Description
constant String
Returns
Type Description
ProjectInfo.State

values()

public static ProjectInfo.State[] values()

Return the known values for State.

Returns
Type Description
State[]