public class SearchConsole.Sites.Add extends SearchConsoleRequest<Void>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Add(String siteUrl)
Adds a site to the set of the user's sites in Search Console.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSiteUrl()
The URL of the site to add.
|
SearchConsole.Sites.Add |
set(String parameterName,
Object value) |
SearchConsole.Sites.Add |
set$Xgafv(String $Xgafv)
V1 error format.
|
SearchConsole.Sites.Add |
setAccessToken(String accessToken)
OAuth access token.
|
SearchConsole.Sites.Add |
setAlt(String alt)
Data format for response.
|
SearchConsole.Sites.Add |
setCallback(String callback)
JSONP
|
SearchConsole.Sites.Add |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
SearchConsole.Sites.Add |
setKey(String key)
API key.
|
SearchConsole.Sites.Add |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
SearchConsole.Sites.Add |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
SearchConsole.Sites.Add |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
SearchConsole.Sites.Add |
setSiteUrl(String siteUrl)
The URL of the site to add.
|
SearchConsole.Sites.Add |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
SearchConsole.Sites.Add |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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 Add(String siteUrl)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
SearchConsole.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
siteUrl - The URL of the site to add.public SearchConsole.Sites.Add set$Xgafv(String $Xgafv)
SearchConsoleRequestset$Xgafv in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setAccessToken(String accessToken)
SearchConsoleRequestsetAccessToken in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setAlt(String alt)
SearchConsoleRequestsetAlt in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setCallback(String callback)
SearchConsoleRequestsetCallback in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setFields(String fields)
SearchConsoleRequestsetFields in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setKey(String key)
SearchConsoleRequestsetKey in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setOauthToken(String oauthToken)
SearchConsoleRequestsetOauthToken in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setPrettyPrint(Boolean prettyPrint)
SearchConsoleRequestsetPrettyPrint in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setQuotaUser(String quotaUser)
SearchConsoleRequestsetQuotaUser in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setUploadType(String uploadType)
SearchConsoleRequestsetUploadType in class SearchConsoleRequest<Void>public SearchConsole.Sites.Add setUploadProtocol(String uploadProtocol)
SearchConsoleRequestsetUploadProtocol in class SearchConsoleRequest<Void>public String getSiteUrl()
public SearchConsole.Sites.Add setSiteUrl(String siteUrl)
public SearchConsole.Sites.Add set(String parameterName, Object value)
set in class SearchConsoleRequest<Void>Copyright © 2011–2025 Google. All rights reserved.