public class Analytics.Management.Profiles.Get extends AnalyticsRequest<Profile>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Analytics.Management.Profiles.Get(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String profileId)
Gets a view (profile) to which the user has access.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getAccountId()
Account ID to retrieve the view (profile) for.
|
java.lang.String |
getProfileId()
View (Profile) ID to retrieve the view (profile) for.
|
java.lang.String |
getWebPropertyId()
Web property ID to retrieve the view (profile) for.
|
Analytics.Management.Profiles.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Analytics.Management.Profiles.Get |
setAccountId(java.lang.String accountId)
Account ID to retrieve the view (profile) for.
|
Analytics.Management.Profiles.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
Analytics.Management.Profiles.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Profiles.Get |
setKey(java.lang.String key)
API key.
|
Analytics.Management.Profiles.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Profiles.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Profiles.Get |
setProfileId(java.lang.String profileId)
View (Profile) ID to retrieve the view (profile) for.
|
Analytics.Management.Profiles.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Analytics.Management.Profiles.Get |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
Analytics.Management.Profiles.Get |
setWebPropertyId(java.lang.String webPropertyId)
Web property ID to retrieve the view (profile) for.
|
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected Analytics.Management.Profiles.Get(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String profileId)
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 view (profile) for.webPropertyId - Web property ID to retrieve the view (profile) for.profileId - View (Profile) ID to retrieve the view (profile) for.public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Profile>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Profile>java.io.IOExceptionpublic Analytics.Management.Profiles.Get setAlt(java.lang.String alt)
AnalyticsRequestsetAlt in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Get setFields(java.lang.String fields)
AnalyticsRequestsetFields in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Get setKey(java.lang.String key)
AnalyticsRequestsetKey in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Get setOauthToken(java.lang.String oauthToken)
AnalyticsRequestsetOauthToken in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Get setPrettyPrint(java.lang.Boolean prettyPrint)
AnalyticsRequestsetPrettyPrint in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Get setQuotaUser(java.lang.String quotaUser)
AnalyticsRequestsetQuotaUser in class AnalyticsRequest<Profile>public Analytics.Management.Profiles.Get setUserIp(java.lang.String userIp)
AnalyticsRequestsetUserIp in class AnalyticsRequest<Profile>public java.lang.String getAccountId()
public Analytics.Management.Profiles.Get setAccountId(java.lang.String accountId)
public java.lang.String getWebPropertyId()
public Analytics.Management.Profiles.Get setWebPropertyId(java.lang.String webPropertyId)
public java.lang.String getProfileId()
public Analytics.Management.Profiles.Get setProfileId(java.lang.String profileId)
public Analytics.Management.Profiles.Get set(java.lang.String parameterName, java.lang.Object value)
set in class AnalyticsRequest<Profile>