public class Cloudbilling.Projects.GetBillingInfo extends CloudbillingRequest<ProjectBillingInfo>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
GetBillingInfo(String name)
Gets the billing information for a project.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
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
protected GetBillingInfo(String name)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. GetBillingInfo#initialize(com.google.api.client.googleapis.services.Abstr
actGoogleClientRequest)
must be called to initialize this instance immediately after invoking
the constructor.
name
- Required. The resource name of the project for which billing information is retrieved. For example,
`projects/tokyo-rain-123`.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<ProjectBillingInfo>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<ProjectBillingInfo>
IOException
public Cloudbilling.Projects.GetBillingInfo set$Xgafv(String $Xgafv)
CloudbillingRequest
set$Xgafv
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setAccessToken(String accessToken)
CloudbillingRequest
setAccessToken
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setAlt(String alt)
CloudbillingRequest
setAlt
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setCallback(String callback)
CloudbillingRequest
setCallback
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setFields(String fields)
CloudbillingRequest
setFields
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setKey(String key)
CloudbillingRequest
setKey
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setOauthToken(String oauthToken)
CloudbillingRequest
setOauthToken
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setPrettyPrint(Boolean prettyPrint)
CloudbillingRequest
setPrettyPrint
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setQuotaUser(String quotaUser)
CloudbillingRequest
setQuotaUser
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setUploadType(String uploadType)
CloudbillingRequest
setUploadType
in class CloudbillingRequest<ProjectBillingInfo>
public Cloudbilling.Projects.GetBillingInfo setUploadProtocol(String uploadProtocol)
CloudbillingRequest
setUploadProtocol
in class CloudbillingRequest<ProjectBillingInfo>
public String getName()
public Cloudbilling.Projects.GetBillingInfo setName(String name)
public Cloudbilling.Projects.GetBillingInfo set(String parameterName, Object value)
set
in class CloudbillingRequest<ProjectBillingInfo>
Copyright © 2011–2020 Google. All rights reserved.