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 Compute Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
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.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional textual description of the resource.
|
java.math.BigInteger |
getId()
[Output Only] Unique identifier for the resource; defined by the server.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.util.List<Quota> |
getQuotas()
[Output Only] Quotas assigned to this project.
|
java.lang.String |
getSelfLink()
[Output Only] Server defined URL for the resource.
|
UsageExportLocation |
getUsageExportLocation()
The location in Cloud Storage and naming method of the daily usage report.
|
Project |
set(java.lang.String fieldName,
java.lang.Object value) |
Project |
setCommonInstanceMetadata(Metadata commonInstanceMetadata)
Metadata key/value pairs available to all instances contained in this project.
|
Project |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Project |
setDescription(java.lang.String description)
An optional textual description of the resource.
|
Project |
setId(java.math.BigInteger id)
[Output Only] Unique identifier for the resource; defined by the server.
|
Project |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Project |
setName(java.lang.String name)
Name of the resource.
|
Project |
setQuotas(java.util.List<Quota> quotas)
[Output Only] Quotas assigned to this project.
|
Project |
setSelfLink(java.lang.String selfLink)
[Output Only] Server defined URL for the resource.
|
Project |
setUsageExportLocation(UsageExportLocation usageExportLocation)
The location in Cloud Storage and naming method of the daily usage report.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public Metadata getCommonInstanceMetadata()
null
for nonepublic Project setCommonInstanceMetadata(Metadata commonInstanceMetadata)
commonInstanceMetadata
- commonInstanceMetadata or null
for nonepublic java.lang.String getCreationTimestamp()
null
for nonepublic Project setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic java.lang.String getDescription()
null
for nonepublic Project setDescription(java.lang.String description)
description
- description or null
for nonepublic java.math.BigInteger getId()
null
for nonepublic Project setId(java.math.BigInteger id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Project setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic Project setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<Quota> getQuotas()
null
for nonepublic Project setQuotas(java.util.List<Quota> quotas)
quotas
- quotas or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic Project setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic UsageExportLocation getUsageExportLocation()
null
for nonepublic Project setUsageExportLocation(UsageExportLocation usageExportLocation)
usageExportLocation
- usageExportLocation or null
for nonepublic Project set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Project clone()
clone
in class com.google.api.client.json.GenericJson