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: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.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()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDefaultNetworkTier()
This signifies the default network tier used for configuring resources of the project and can
only take the following values: PREMIUM, STANDARD.
|
String |
getDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.
|
String |
getDescription()
An optional textual description of the resource.
|
List<String> |
getEnabledFeatures()
Restricted features enabled for use on this project.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
The project ID.
|
List<Quota> |
getQuotas()
[Output Only] Quotas assigned to this project.
|
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.
|
String |
getXpnProjectStatus()
[Output Only] The role this project has in a shared VPC configuration.
|
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)
[Output Only] Creation timestamp in RFC3339 text format.
|
Project |
setDefaultNetworkTier(String defaultNetworkTier)
This signifies the default network tier used for configuring resources of the project and can
only take the following values: PREMIUM, STANDARD.
|
Project |
setDefaultServiceAccount(String defaultServiceAccount)
[Output Only] Default service account used by VMs running in this project.
|
Project |
setDescription(String description)
An optional textual description of the resource.
|
Project |
setEnabledFeatures(List<String> enabledFeatures)
Restricted features enabled for use on this project.
|
Project |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
Project |
setKind(String kind)
[Output Only] Type of the resource.
|
Project |
setName(String name)
The project ID.
|
Project |
setQuotas(List<Quota> quotas)
[Output Only] Quotas assigned to this project.
|
Project |
setSelfLink(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.
|
Project |
setXpnProjectStatus(String xpnProjectStatus)
[Output Only] The role this project has in a shared VPC configuration.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 getDefaultNetworkTier()
null for nonepublic Project setDefaultNetworkTier(String defaultNetworkTier)
defaultNetworkTier - defaultNetworkTier or null for nonepublic String getDefaultServiceAccount()
null for nonepublic Project setDefaultServiceAccount(String defaultServiceAccount)
defaultServiceAccount - defaultServiceAccount or null for nonepublic String getDescription()
null for nonepublic Project setDescription(String description)
description - description or null for nonepublic List<String> getEnabledFeatures()
null for nonepublic Project setEnabledFeatures(List<String> enabledFeatures)
enabledFeatures - enabledFeatures 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 UsageExportLocation getUsageExportLocation()
null for nonepublic Project setUsageExportLocation(UsageExportLocation usageExportLocation)
usageExportLocation - usageExportLocation or null for nonepublic String getXpnProjectStatus()
null for nonepublic Project setXpnProjectStatus(String xpnProjectStatus)
xpnProjectStatus - xpnProjectStatus or null for nonepublic Project set(String fieldName, Object value)
set in class GenericJsonpublic Project clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.