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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
Project |
clone() |
String |
getCloudArmorTier()
[Output Only] The Cloud Armor tier for this project.
|
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 |
getManagedProtectionTier()
[Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project.
|
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 |
getVmDnsSetting()
[Output Only] Default internal DNS setting used by VMs running in this project.
|
String |
getXpnProjectStatus()
[Output Only] The role this project has in a shared VPC configuration.
|
Project |
set(String fieldName,
Object value) |
Project |
setCloudArmorTier(String cloudArmorTier)
[Output Only] The Cloud Armor tier for this project.
|
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 |
setManagedProtectionTier(String managedProtectionTier)
[Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project.
|
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 |
setVmDnsSetting(String vmDnsSetting)
[Output Only] Default internal DNS setting used by VMs running in this project.
|
Project |
setXpnProjectStatus(String xpnProjectStatus)
[Output Only] The role this project has in a shared VPC configuration.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCloudArmorTier()
null
for nonepublic Project setCloudArmorTier(String cloudArmorTier)
cloudArmorTier
- cloudArmorTier or null
for nonepublic 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 getManagedProtectionTier()
null
for nonepublic Project setManagedProtectionTier(String managedProtectionTier)
managedProtectionTier
- managedProtectionTier 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 getVmDnsSetting()
null
for nonepublic Project setVmDnsSetting(String vmDnsSetting)
vmDnsSetting
- vmDnsSetting 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 com.google.api.client.json.GenericJson
public Project clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.