public final class ProjectBillingInfo 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 Cloud Billing API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ProjectBillingInfo() |
Modifier and Type | Method and Description |
---|---|
ProjectBillingInfo |
clone() |
String |
getBillingAccountName()
The resource name of the billing account associated with the project, if any.
|
Boolean |
getBillingEnabled()
True if the project is associated with an open billing account, to which usage on the project
is charged.
|
String |
getName()
The resource name for the `ProjectBillingInfo`; has the form
`projects/{project_id}/billingInfo`.
|
String |
getProjectId()
The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`.
|
ProjectBillingInfo |
set(String fieldName,
Object value) |
ProjectBillingInfo |
setBillingAccountName(String billingAccountName)
The resource name of the billing account associated with the project, if any.
|
ProjectBillingInfo |
setBillingEnabled(Boolean billingEnabled)
True if the project is associated with an open billing account, to which usage on the project
is charged.
|
ProjectBillingInfo |
setName(String name)
The resource name for the `ProjectBillingInfo`; has the form
`projects/{project_id}/billingInfo`.
|
ProjectBillingInfo |
setProjectId(String projectId)
The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`.
|
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 getBillingAccountName()
null
for nonepublic ProjectBillingInfo setBillingAccountName(String billingAccountName)
billingAccountName
- billingAccountName or null
for nonepublic Boolean getBillingEnabled()
null
for nonepublic ProjectBillingInfo setBillingEnabled(Boolean billingEnabled)
billingEnabled
- billingEnabled or null
for nonepublic String getName()
null
for nonepublic ProjectBillingInfo setName(String name)
name
- name or null
for nonepublic String getProjectId()
null
for nonepublic ProjectBillingInfo setProjectId(String projectId)
projectId
- projectId or null
for nonepublic ProjectBillingInfo set(String fieldName, Object value)
set
in class GenericJson
public ProjectBillingInfo clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.