public class Analytics.Management.Webproperties.Get extends AnalyticsRequest<Webproperty>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Analytics.Management.Webproperties.Get(String accountId,
String webPropertyId)
Gets a web property to which the user has access.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getAccountId()
Account ID to retrieve the web property for.
|
String |
getWebPropertyId()
ID to retrieve the web property for.
|
Analytics.Management.Webproperties.Get |
set(String parameterName,
Object value) |
Analytics.Management.Webproperties.Get |
setAccountId(String accountId)
Account ID to retrieve the web property for.
|
Analytics.Management.Webproperties.Get |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Webproperties.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Webproperties.Get |
setKey(String key)
API key.
|
Analytics.Management.Webproperties.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Webproperties.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Webproperties.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Analytics.Management.Webproperties.Get |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Analytics.Management.Webproperties.Get |
setWebPropertyId(String webPropertyId)
ID to retrieve the web property for.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Analytics.Management.Webproperties.Get(String accountId, String webPropertyId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Analytics.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
accountId
- Account ID to retrieve the web property for.webPropertyId
- ID to retrieve the web property for.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Webproperty>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Webproperty>
IOException
public Analytics.Management.Webproperties.Get setAlt(String alt)
AnalyticsRequest
setAlt
in class AnalyticsRequest<Webproperty>
public Analytics.Management.Webproperties.Get setFields(String fields)
AnalyticsRequest
setFields
in class AnalyticsRequest<Webproperty>
public Analytics.Management.Webproperties.Get setKey(String key)
AnalyticsRequest
setKey
in class AnalyticsRequest<Webproperty>
public Analytics.Management.Webproperties.Get setOauthToken(String oauthToken)
AnalyticsRequest
setOauthToken
in class AnalyticsRequest<Webproperty>
public Analytics.Management.Webproperties.Get setPrettyPrint(Boolean prettyPrint)
AnalyticsRequest
setPrettyPrint
in class AnalyticsRequest<Webproperty>
public Analytics.Management.Webproperties.Get setQuotaUser(String quotaUser)
AnalyticsRequest
setQuotaUser
in class AnalyticsRequest<Webproperty>
public Analytics.Management.Webproperties.Get setUserIp(String userIp)
AnalyticsRequest
setUserIp
in class AnalyticsRequest<Webproperty>
public String getAccountId()
public Analytics.Management.Webproperties.Get setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.Webproperties.Get setWebPropertyId(String webPropertyId)
public Analytics.Management.Webproperties.Get set(String parameterName, Object value)
set
in class AnalyticsRequest<Webproperty>