public final class Project
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Cloud Resource Manager API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Project() |
| Modifier and Type | Method and Description |
|---|---|
Project |
clone() |
java.lang.String |
getCreateTime()
Creation time.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
The labels associated with this Project.
|
java.lang.String |
getLifecycleState()
The Project lifecycle state.
|
java.lang.String |
getName()
The user-assigned display name of the Project.
|
ResourceId |
getParent()
An optional reference to a parent Resource.
|
java.lang.String |
getProjectId()
The unique, user-assigned ID of the Project.
|
java.lang.Long |
getProjectNumber()
The number uniquely identifying the project.
|
Project |
set(java.lang.String fieldName,
java.lang.Object value) |
Project |
setCreateTime(java.lang.String createTime)
Creation time.
|
Project |
setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
The labels associated with this Project.
|
Project |
setLifecycleState(java.lang.String lifecycleState)
The Project lifecycle state.
|
Project |
setName(java.lang.String name)
The user-assigned display name of the Project.
|
Project |
setParent(ResourceId parent)
An optional reference to a parent Resource.
|
Project |
setProjectId(java.lang.String projectId)
The unique, user-assigned ID of the Project.
|
Project |
setProjectNumber(java.lang.Long projectNumber)
The number uniquely identifying the project.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCreateTime()
null for nonepublic Project setCreateTime(java.lang.String createTime)
createTime - createTime or null for nonepublic java.util.Map<java.lang.String,java.lang.String> getLabels()
null for nonepublic Project setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
labels - labels or null for nonepublic java.lang.String getLifecycleState()
null for nonepublic Project setLifecycleState(java.lang.String lifecycleState)
lifecycleState - lifecycleState or null for nonepublic java.lang.String getName()
null for nonepublic Project setName(java.lang.String name)
name - name or null for nonepublic ResourceId getParent()
null for nonepublic Project setParent(ResourceId parent)
parent - parent or null for nonepublic java.lang.String getProjectId()
null for nonepublic Project setProjectId(java.lang.String projectId)
projectId - projectId or null for nonepublic java.lang.Long getProjectNumber()
null for nonepublic Project setProjectNumber(java.lang.Long projectNumber)
projectNumber - projectNumber or null for nonepublic Project set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Project clone()
clone in class com.google.api.client.json.GenericJson