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: https://developers.google.com/api-client-library/java/google-http-java-client/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.util.List<java.lang.String> |
getEnabledFeatures()
Restricted features enabled for use on this project.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
The project ID.
|
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 naming prefix for daily usage reports and the Google Cloud Storage bucket where they are
stored.
|
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 |
setEnabledFeatures(java.util.List<java.lang.String> enabledFeatures)
Restricted features enabled for use on this project.
|
Project |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Project |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Project |
setName(java.lang.String name)
The project ID.
|
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 naming prefix for daily usage reports and the Google Cloud Storage bucket where they are
stored.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic 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.util.List<java.lang.String> getEnabledFeatures()
null for nonepublic Project setEnabledFeatures(java.util.List<java.lang.String> enabledFeatures)
enabledFeatures - enabledFeatures 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.GenericJsonpublic Project clone()
clone in class com.google.api.client.json.GenericJson