public final class Project extends 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
Project |
clone() |
String |
getCreateTime()
Creation time.
|
Map<String,String> |
getLabels()
The labels associated with this Project.
|
String |
getLifecycleState()
The Project lifecycle state.
|
String |
getName()
The user-assigned name of the Project.
|
ResourceId |
getParent()
An optional reference to a parent Resource.
|
String |
getProjectId()
The unique, user-assigned ID of the Project.
|
Long |
getProjectNumber()
The number uniquely identifying the project.
|
Project |
set(String fieldName,
Object value) |
Project |
setCreateTime(String createTime)
Creation time.
|
Project |
setLabels(Map<String,String> labels)
The labels associated with this Project.
|
Project |
setLifecycleState(String lifecycleState)
The Project lifecycle state.
|
Project |
setName(String name)
The user-assigned name of the Project.
|
Project |
setParent(ResourceId parent)
An optional reference to a parent Resource.
|
Project |
setProjectId(String projectId)
The unique, user-assigned ID of the Project.
|
Project |
setProjectNumber(Long projectNumber)
The number uniquely identifying the project.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getCreateTime()
null
for nonepublic Project setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic Map<String,String> getLabels()
null
for nonepublic Project setLabels(Map<String,String> labels)
labels
- labels or null
for nonepublic String getLifecycleState()
null
for nonepublic Project setLifecycleState(String lifecycleState)
lifecycleState
- lifecycleState or null
for nonepublic String getName()
null
for nonepublic Project setName(String name)
name
- name or null
for nonepublic ResourceId getParent()
null
for nonepublic Project setParent(ResourceId parent)
parent
- parent or null
for nonepublic String getProjectId()
null
for nonepublic Project setProjectId(String projectId)
projectId
- projectId or null
for nonepublic Long getProjectNumber()
null
for nonepublic Project setProjectNumber(Long projectNumber)
projectNumber
- projectNumber or null
for nonepublic Project set(String fieldName, Object value)
set
in class GenericJson
public Project clone()
clone
in class GenericJson