public class ProjectInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ProjectInfo.Builder
Builder for
ProjectInfo . |
static class |
ProjectInfo.State
The project lifecycle states.
|
Modifier and Type | Field and Description |
---|---|
static org.threeten.bp.format.DateTimeFormatter |
DATE_TIME_FORMATTER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getCreateTimeMillis()
Get the project's creation time (in milliseconds).
|
Map<String,String> |
getLabels()
Get the immutable map of labels associated with this project.
|
String |
getName()
Get the user-assigned name of the project.
|
String |
getProjectId()
Get the unique, user-assigned ID of the project.
|
Long |
getProjectNumber()
Get number uniquely identifying the project.
|
ProjectInfo.State |
getState()
Get the project's lifecycle state.
|
int |
hashCode() |
static ProjectInfo.Builder |
newBuilder(String id) |
ProjectInfo.Builder |
toBuilder() |
public static final org.threeten.bp.format.DateTimeFormatter DATE_TIME_FORMATTER
public String getProjectId()
This field cannot be changed after the server creates the project.
public String getName()
This field is optional, can remain unset, and can be changed after project creation.
public Long getProjectNumber()
This field is set by the server and is read-only.
public Map<String,String> getLabels()
public ProjectInfo.State getState()
This is a read-only field. To change the lifecycle state of your project, use the delete
or undelete
method.
public Long getCreateTimeMillis()
This field is set by the server and is read-only.
public static ProjectInfo.Builder newBuilder(String id)
public ProjectInfo.Builder toBuilder()
Copyright © 2019 Google LLC. All rights reserved.