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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
Project |
clone() |
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.
|
BigInteger |
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 |
set(String fieldName,
Object value) |
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(BigInteger 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).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Metadata getCommonInstanceMetadata()
null
for nonepublic Project setCommonInstanceMetadata(Metadata commonInstanceMetadata)
commonInstanceMetadata
- commonInstanceMetadata or null
for nonepublic String getCreationTimestamp()
null
for nonepublic Project setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic String getDescription()
null
for nonepublic Project setDescription(String description)
description
- description or null
for nonepublic BigInteger getId()
null
for nonepublic Project setId(BigInteger id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Project setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic Project setName(String name)
name
- name or null
for nonepublic List<Quota> getQuotas()
null
for nonepublic Project setQuotas(List<Quota> quotas)
quotas
- quotas or null
for nonepublic String getSelfLink()
null
for nonepublic Project setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic Project set(String fieldName, Object value)
set
in class GenericJson
public Project clone()
clone
in class GenericJson