public class Analytics.Management.Profiles.Insert extends AnalyticsRequest<Profile>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Analytics.Management.Profiles.Insert(String accountId,
String webPropertyId,
Profile content)
Create a new view (profile).
|
Modifier and Type | Method and Description |
---|---|
String |
getAccountId()
Account ID to create the view (profile) for.
|
String |
getWebPropertyId()
Web property ID to create the view (profile) for.
|
Analytics.Management.Profiles.Insert |
set(String parameterName,
Object value) |
Analytics.Management.Profiles.Insert |
setAccountId(String accountId)
Account ID to create the view (profile) for.
|
Analytics.Management.Profiles.Insert |
setAlt(String alt)
Data format for the response.
|
Analytics.Management.Profiles.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Analytics.Management.Profiles.Insert |
setKey(String key)
API key.
|
Analytics.Management.Profiles.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Analytics.Management.Profiles.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Analytics.Management.Profiles.Insert |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Analytics.Management.Profiles.Insert |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Analytics.Management.Profiles.Insert |
setWebPropertyId(String webPropertyId)
Web property ID to create the view (profile) 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.Profiles.Insert(String accountId, String webPropertyId, Profile 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 view (profile) for.webPropertyId
- Web property ID to create the view (profile) for.content
- the Profile
public Analytics.Management.Profiles.Insert setAlt(String alt)
AnalyticsRequest
setAlt
in class AnalyticsRequest<Profile>
public Analytics.Management.Profiles.Insert setFields(String fields)
AnalyticsRequest
setFields
in class AnalyticsRequest<Profile>
public Analytics.Management.Profiles.Insert setKey(String key)
AnalyticsRequest
setKey
in class AnalyticsRequest<Profile>
public Analytics.Management.Profiles.Insert setOauthToken(String oauthToken)
AnalyticsRequest
setOauthToken
in class AnalyticsRequest<Profile>
public Analytics.Management.Profiles.Insert setPrettyPrint(Boolean prettyPrint)
AnalyticsRequest
setPrettyPrint
in class AnalyticsRequest<Profile>
public Analytics.Management.Profiles.Insert setQuotaUser(String quotaUser)
AnalyticsRequest
setQuotaUser
in class AnalyticsRequest<Profile>
public Analytics.Management.Profiles.Insert setUserIp(String userIp)
AnalyticsRequest
setUserIp
in class AnalyticsRequest<Profile>
public String getAccountId()
public Analytics.Management.Profiles.Insert setAccountId(String accountId)
public String getWebPropertyId()
public Analytics.Management.Profiles.Insert setWebPropertyId(String webPropertyId)
public Analytics.Management.Profiles.Insert set(String parameterName, Object value)
set
in class AnalyticsRequest<Profile>