Compute Engine API v1beta13 (revision 24)



com.google.api.services.compute.model
Class Project

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.compute.model.Project
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class Project
extends GenericJson

A project resource. Projects can be created only in the APIs Console. Unless marked otherwise, values can only be modified in the console.

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()

Author:
Google, Inc.

Nested Class Summary
static class Project.Quotas
          Model definition for ProjectQuotas.
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Project()
           
 
Method Summary
 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.
 List<String> getExternalIpAddresses()
          Internet available IP addresses available for use in this project.
 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<Project.Quotas> 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 setExternalIpAddresses(List<String> externalIpAddresses)
          Internet available IP addresses available for use in this project.
 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<Project.Quotas> quotas)
          Quotas assigned to this project.
 Project setSelfLink(String selfLink)
          Server defined URL for the resource (output only).
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Project

public Project()
Method Detail

getCommonInstanceMetadata

public Metadata getCommonInstanceMetadata()
Metadata key/value pairs available to all instances contained in this project. The value returned may be null.


setCommonInstanceMetadata

public Project setCommonInstanceMetadata(Metadata commonInstanceMetadata)
Metadata key/value pairs available to all instances contained in this project. The value set may be null.


getCreationTimestamp

public String getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only). The value returned may be null.


setCreationTimestamp

public Project setCreationTimestamp(String creationTimestamp)
Creation timestamp in RFC3339 text format (output only). The value set may be null.


getDescription

public String getDescription()
An optional textual description of the resource. The value returned may be null.


setDescription

public Project setDescription(String description)
An optional textual description of the resource. The value set may be null.


getExternalIpAddresses

public List<String> getExternalIpAddresses()
Internet available IP addresses available for use in this project. The value returned may be null.


setExternalIpAddresses

public Project setExternalIpAddresses(List<String> externalIpAddresses)
Internet available IP addresses available for use in this project. The value set may be null.


getId

public com.google.common.primitives.UnsignedLong getId()
Unique identifier for the resource; defined by the server (output only). The value returned may be null.


setId

public Project setId(com.google.common.primitives.UnsignedLong id)
Unique identifier for the resource; defined by the server (output only). The value set may be null.


getKind

public String getKind()
Type of the resource. The value returned may be null.


setKind

public Project setKind(String kind)
Type of the resource. The value set may be null.


getName

public String getName()
Name of the resource. The value returned may be null.


setName

public Project setName(String name)
Name of the resource. The value set may be null.


getQuotas

public List<Project.Quotas> getQuotas()
Quotas assigned to this project. The value returned may be null.


setQuotas

public Project setQuotas(List<Project.Quotas> quotas)
Quotas assigned to this project. The value set may be null.


getSelfLink

public String getSelfLink()
Server defined URL for the resource (output only). The value returned may be null.


setSelfLink

public Project setSelfLink(String selfLink)
Server defined URL for the resource (output only). The value set may be null.