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