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 Compute Engine API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
Metadata |
getCommonInstanceMetadata()
Metadata key/value pairs available to all instances contained in this project.
|
String |
getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only).
|
String |
getDescription()
An optional textual description of the resource.
|
com.google.common.primitives.UnsignedLong |
getId()
Unique identifier for the resource; defined by the server (output only).
|
String |
getKind()
Type of the resource.
|
String |
getName()
Name of the resource.
|
List<Quota> |
getQuotas()
Quotas assigned to this project.
|
String |
getSelfLink()
Server defined URL for the resource (output only).
|
Project |
setCommonInstanceMetadata(Metadata commonInstanceMetadata)
Metadata key/value pairs available to all instances contained in this project.
|
Project |
setCreationTimestamp(String creationTimestamp)
Creation timestamp in RFC3339 text format (output only).
|
Project |
setDescription(String description)
An optional textual description of the resource.
|
Project |
setId(com.google.common.primitives.UnsignedLong id)
Unique identifier for the resource; defined by the server (output only).
|
Project |
setKind(String kind)
Type of the resource.
|
Project |
setName(String name)
Name of the resource.
|
Project |
setQuotas(List<Quota> quotas)
Quotas assigned to this project.
|
Project |
setSelfLink(String selfLink)
Server defined URL for the resource (output only).
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Metadata getCommonInstanceMetadata()
null
.public Project setCommonInstanceMetadata(Metadata commonInstanceMetadata)
null
.public String getCreationTimestamp()
null
.public Project setCreationTimestamp(String creationTimestamp)
null
.public String getDescription()
null
.public Project setDescription(String description)
null
.public com.google.common.primitives.UnsignedLong getId()
null
.public Project setId(com.google.common.primitives.UnsignedLong id)
null
.public String getKind()
null
.public String getName()
null
.public List<Quota> getQuotas()
null
.public Project setQuotas(List<Quota> quotas)
null
.public String getSelfLink()
null
.