Package com.google.cloud.resourcemanager
Class ProjectInfo
- java.lang.Object
-
- com.google.cloud.resourcemanager.ProjectInfo
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Project
@Deprecated public class ProjectInfo extends Object implements Serializable
Deprecated.v3 GAPIC client of ResourceManager is now availableA Google Cloud Resource Manager project metadata object. A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectInfo.Builder
Deprecated.Builder forProjectInfo
.static class
ProjectInfo.ResourceId
Deprecated.static class
ProjectInfo.State
Deprecated.The project lifecycle states.
-
Field Summary
Fields Modifier and Type Field Description static org.threeten.bp.format.DateTimeFormatter
DATE_TIME_FORMATTER
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Deprecated.Long
getCreateTimeMillis()
Deprecated.Get the project's creation time (in milliseconds).Map<String,String>
getLabels()
Deprecated.Get the immutable map of labels associated with this project.String
getName()
Deprecated.Get the user-assigned name of the project.String
getProjectId()
Deprecated.Get the unique, user-assigned ID of the project.Long
getProjectNumber()
Deprecated.Get number uniquely identifying the project.ProjectInfo.State
getState()
Deprecated.Get the project's lifecycle state.int
hashCode()
Deprecated.static ProjectInfo.Builder
newBuilder(String id)
Deprecated.ProjectInfo.Builder
toBuilder()
Deprecated.
-
-
-
Method Detail
-
getProjectId
public String getProjectId()
Deprecated.Get the unique, user-assigned ID of the project.This field cannot be changed after the server creates the project.
-
getName
public String getName()
Deprecated.Get the user-assigned name of the project.This field is optional, can remain unset, and can be changed after project creation.
-
getProjectNumber
public Long getProjectNumber()
Deprecated.Get number uniquely identifying the project.This field is set by the server and is read-only.
-
getLabels
public Map<String,String> getLabels()
Deprecated.Get the immutable map of labels associated with this project.
-
getState
public ProjectInfo.State getState()
Deprecated.Get the project's lifecycle state.This is a read-only field. To change the lifecycle state of your project, use the
delete
orundelete
method.
-
getCreateTimeMillis
public Long getCreateTimeMillis()
Deprecated.Get the project's creation time (in milliseconds).This field is set by the server and is read-only.
-
newBuilder
public static ProjectInfo.Builder newBuilder(String id)
Deprecated.
-
toBuilder
public ProjectInfo.Builder toBuilder()
Deprecated.
-
-