public class Analytics.Management.Profiles.List extends AnalyticsRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Analytics.Management.Profiles.List(String accountId,
String webPropertyId)
Lists views (profiles) to which the user has access.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getAccountId()
Account ID for the views (profiles) to retrieve.
|
Integer |
getMaxResults()
The maximum number of views (profiles) to include in this response.
|
Integer |
getStartIndex()
An index of the first entity to retrieve.
|
String |
getWebPropertyId()
Web property ID for the views (profiles) to retrieve.
|
Analytics.Management.Profiles.List |
setAccountId(String accountId)
Account ID for the views (profiles) to retrieve.
|
Analytics.Management.Profiles.List |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Profiles.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Profiles.List |
setKey(String key)
API key.
|
Analytics.Management.Profiles.List |
setMaxResults(Integer maxResults)
The maximum number of views (profiles) to include in this response.
|
Analytics.Management.Profiles.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Profiles.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Profiles.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Analytics.Management.Profiles.List |
setStartIndex(Integer startIndex)
An index of the first entity to retrieve.
|
Analytics.Management.Profiles.List |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Analytics.Management.Profiles.List |
setWebPropertyId(String webPropertyId)
Web property ID for the views (profiles) to retrieve.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, 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, set, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Analytics.Management.Profiles.List(String accountId, String webPropertyId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Analytics.initialize(AbstractGoogleClientRequest) must be called to initialize this instance
immediately after invoking the constructor.
accountId - Account ID for the views (profiles) to retrieve. Can either be a specific account ID or '~all',
which refers to all the accounts to which the user has access.webPropertyId - Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or
'~all', which refers to all the web properties to which the user has access.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Void>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Void>IOExceptionpublic Analytics.Management.Profiles.List setAlt(String alt)
AnalyticsRequestsetAlt in class AnalyticsRequest<Void>public Analytics.Management.Profiles.List setFields(String fields)
AnalyticsRequestsetFields in class AnalyticsRequest<Void>public Analytics.Management.Profiles.List setKey(String key)
AnalyticsRequestsetKey in class AnalyticsRequest<Void>public Analytics.Management.Profiles.List setOauthToken(String oauthToken)
AnalyticsRequestsetOauthToken in class AnalyticsRequest<Void>public Analytics.Management.Profiles.List setPrettyPrint(Boolean prettyPrint)
AnalyticsRequestsetPrettyPrint in class AnalyticsRequest<Void>public Analytics.Management.Profiles.List setQuotaUser(String quotaUser)
AnalyticsRequestsetQuotaUser in class AnalyticsRequest<Void>public Analytics.Management.Profiles.List setUserIp(String userIp)
AnalyticsRequestsetUserIp in class AnalyticsRequest<Void>public String getAccountId()
public Analytics.Management.Profiles.List setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.Profiles.List setWebPropertyId(String webPropertyId)
public Integer getMaxResults()
public Analytics.Management.Profiles.List setMaxResults(Integer maxResults)
public Integer getStartIndex()
public Analytics.Management.Profiles.List setStartIndex(Integer startIndex)