public class Analytics.Management.ProfileUserLinks.Insert extends AnalyticsRequest<EntityUserLink>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Analytics.Management.ProfileUserLinks.Insert(String accountId,
String webPropertyId,
String profileId,
EntityUserLink content)
Adds a new user to the given view (profile).
|
Modifier and Type | Method and Description |
---|---|
String |
getAccountId()
Account ID to create the user link for.
|
String |
getProfileId()
View (Profile) ID to create the user link for.
|
String |
getWebPropertyId()
Web Property ID to create the user link for.
|
Analytics.Management.ProfileUserLinks.Insert |
set(String parameterName,
Object value) |
Analytics.Management.ProfileUserLinks.Insert |
setAccountId(String accountId)
Account ID to create the user link for.
|
Analytics.Management.ProfileUserLinks.Insert |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.ProfileUserLinks.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.ProfileUserLinks.Insert |
setKey(String key)
API key.
|
Analytics.Management.ProfileUserLinks.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.ProfileUserLinks.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.ProfileUserLinks.Insert |
setProfileId(String profileId)
View (Profile) ID to create the user link for.
|
Analytics.Management.ProfileUserLinks.Insert |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Analytics.Management.ProfileUserLinks.Insert |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Analytics.Management.ProfileUserLinks.Insert |
setWebPropertyId(String webPropertyId)
Web Property ID to create the user link for.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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.ProfileUserLinks.Insert(String accountId, String webPropertyId, String profileId, EntityUserLink content)
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 create the user link for.webPropertyId
- Web Property ID to create the user link for.profileId
- View (Profile) ID to create the user link for.content
- the EntityUserLink
public Analytics.Management.ProfileUserLinks.Insert setAlt(String alt)
AnalyticsRequest
setAlt
in class AnalyticsRequest<EntityUserLink>
public Analytics.Management.ProfileUserLinks.Insert setFields(String fields)
AnalyticsRequest
setFields
in class AnalyticsRequest<EntityUserLink>
public Analytics.Management.ProfileUserLinks.Insert setKey(String key)
AnalyticsRequest
setKey
in class AnalyticsRequest<EntityUserLink>
public Analytics.Management.ProfileUserLinks.Insert setOauthToken(String oauthToken)
AnalyticsRequest
setOauthToken
in class AnalyticsRequest<EntityUserLink>
public Analytics.Management.ProfileUserLinks.Insert setPrettyPrint(Boolean prettyPrint)
AnalyticsRequest
setPrettyPrint
in class AnalyticsRequest<EntityUserLink>
public Analytics.Management.ProfileUserLinks.Insert setQuotaUser(String quotaUser)
AnalyticsRequest
setQuotaUser
in class AnalyticsRequest<EntityUserLink>
public Analytics.Management.ProfileUserLinks.Insert setUserIp(String userIp)
AnalyticsRequest
setUserIp
in class AnalyticsRequest<EntityUserLink>
public String getAccountId()
public Analytics.Management.ProfileUserLinks.Insert setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.ProfileUserLinks.Insert setWebPropertyId(String webPropertyId)
public String getProfileId()
public Analytics.Management.ProfileUserLinks.Insert setProfileId(String profileId)
public Analytics.Management.ProfileUserLinks.Insert set(String parameterName, Object value)
set
in class AnalyticsRequest<EntityUserLink>