public class Dns.Projects.Get extends DnsRequest<Project>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Get(String project)
Fetch the representation of an existing Project.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getClientOperationId()
For mutating operation requests only.
|
String |
getProject()
Identifies the project addressed by this request.
|
Dns.Projects.Get |
set(String parameterName,
Object value) |
Dns.Projects.Get |
setAlt(String alt)
Data format for the response.
|
Dns.Projects.Get |
setClientOperationId(String clientOperationId)
For mutating operation requests only.
|
Dns.Projects.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dns.Projects.Get |
setKey(String key)
API key.
|
Dns.Projects.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dns.Projects.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dns.Projects.Get |
setProject(String project)
Identifies the project addressed by this request.
|
Dns.Projects.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Dns.Projects.Get |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String project)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Dns.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
project - Identifies the project addressed by this request.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Project>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Project>IOExceptionpublic Dns.Projects.Get setAlt(String alt)
DnsRequestsetAlt in class DnsRequest<Project>public Dns.Projects.Get setFields(String fields)
DnsRequestsetFields in class DnsRequest<Project>public Dns.Projects.Get setKey(String key)
DnsRequestsetKey in class DnsRequest<Project>public Dns.Projects.Get setOauthToken(String oauthToken)
DnsRequestsetOauthToken in class DnsRequest<Project>public Dns.Projects.Get setPrettyPrint(Boolean prettyPrint)
DnsRequestsetPrettyPrint in class DnsRequest<Project>public Dns.Projects.Get setQuotaUser(String quotaUser)
DnsRequestsetQuotaUser in class DnsRequest<Project>public Dns.Projects.Get setUserIp(String userIp)
DnsRequestsetUserIp in class DnsRequest<Project>public String getProject()
public Dns.Projects.Get setProject(String project)
public String getClientOperationId()
public Dns.Projects.Get setClientOperationId(String clientOperationId)
public Dns.Projects.Get set(String parameterName, Object value)
set in class DnsRequest<Project>Copyright © 2011–2019 Google. All rights reserved.