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

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
 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.
 List<String> getExternalIpAddresses()
          Internet available IP addresses available for use in this project.
 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<Project.Quotas> 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 setExternalIpAddresses(List<String> externalIpAddresses)
          Internet available IP addresses available for use in this project.
 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<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
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, 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.

Returns:
value or null for none

setCommonInstanceMetadata

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

Parameters:
commonInstanceMetadata - commonInstanceMetadata or null for none

getCreationTimestamp

public String getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only).

Returns:
value or null for none

setCreationTimestamp

public Project setCreationTimestamp(String creationTimestamp)
Creation timestamp in RFC3339 text format (output only).

Parameters:
creationTimestamp - creationTimestamp or null for none

getDescription

public String getDescription()
An optional textual description of the resource.

Returns:
value or null for none

setDescription

public Project setDescription(String description)
An optional textual description of the resource.

Parameters:
description - description or null for none

getExternalIpAddresses

public List<String> getExternalIpAddresses()
Internet available IP addresses available for use in this project.

Returns:
value or null for none

setExternalIpAddresses

public Project setExternalIpAddresses(List<String> externalIpAddresses)
Internet available IP addresses available for use in this project.

Parameters:
externalIpAddresses - externalIpAddresses or null for none

getId

public BigInteger getId()
Unique identifier for the resource; defined by the server (output only).

Returns:
value or null for none

setId

public Project setId(BigInteger id)
Unique identifier for the resource; defined by the server (output only).

Parameters:
id - id or null for none

getKind

public String getKind()
Type of the resource.

Returns:
value or null for none

setKind

public Project setKind(String kind)
Type of the resource.

Parameters:
kind - kind or null for none

getName

public String getName()
Name of the resource.

Returns:
value or null for none

setName

public Project setName(String name)
Name of the resource.

Parameters:
name - name or null for none

getQuotas

public List<Project.Quotas> getQuotas()
Quotas assigned to this project.

Returns:
value or null for none

setQuotas

public Project setQuotas(List<Project.Quotas> quotas)
Quotas assigned to this project.

Parameters:
quotas - quotas or null for none

getSelfLink

public String getSelfLink()
Server defined URL for the resource (output only).

Returns:
value or null for none

setSelfLink

public Project setSelfLink(String selfLink)
Server defined URL for the resource (output only).

Parameters:
selfLink - selfLink or null for none

set

public Project set(String fieldName,
                   Object value)
Overrides:
set in class GenericJson

clone

public Project clone()
Overrides:
clone in class GenericJson