Package com.google.cloud.resourcemanager
Class ProjectInfo.State
- java.lang.Object
-
- com.google.cloud.StringEnumValue
-
- com.google.cloud.resourcemanager.ProjectInfo.State
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ProjectInfo
public static final class ProjectInfo.State extends com.google.cloud.StringEnumValue
The project lifecycle states.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ProjectInfo.State
ACTIVE
The normal and active state.static ProjectInfo.State
DELETE_IN_PROGRESS
The process of deleting the project has begun.static ProjectInfo.State
DELETE_REQUESTED
The project has been marked for deletion by the user or by the system (Google Cloud Platform).static ProjectInfo.State
LIFECYCLE_STATE_UNSPECIFIED
Only used/useful for distinguishing unset values.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProjectInfo.State
valueOf(String constant)
Get the State for the given String constant, and allow unrecognized values.static ProjectInfo.State
valueOfStrict(String constant)
Get the State for the given String constant, and throw an exception if the constant is not recognized.static ProjectInfo.State[]
values()
Return the known values for State.
-
-
-
Field Detail
-
LIFECYCLE_STATE_UNSPECIFIED
public static final ProjectInfo.State LIFECYCLE_STATE_UNSPECIFIED
Only used/useful for distinguishing unset values.
-
ACTIVE
public static final ProjectInfo.State ACTIVE
The normal and active 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 callingResourceManager.undelete(java.lang.String)
.
-
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.
-
-
Method Detail
-
valueOfStrict
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.
-
valueOf
public static ProjectInfo.State valueOf(String constant)
Get the State for the given String constant, and allow unrecognized values.
-
values
public static ProjectInfo.State[] values()
Return the known values for State.
-
-