public final class CustomDataSource
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Analytics API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomDataSource.ChildLink
Model definition for CustomDataSourceChildLink.
|
static class |
CustomDataSource.ParentLink
Parent link for this custom data source.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
CustomDataSource() |
| Modifier and Type | Method and Description |
|---|---|
CustomDataSource |
clone() |
java.lang.String |
getAccountId()
Account ID to which this custom data source belongs.
|
CustomDataSource.ChildLink |
getChildLink() |
com.google.api.client.util.DateTime |
getCreated()
Time this custom data source was created.
|
java.lang.String |
getDescription()
Description of custom data source.
|
java.lang.String |
getId()
Custom data source ID.
|
java.lang.String |
getImportBehavior() |
java.lang.String |
getKind()
Resource type for Analytics custom data source.
|
java.lang.String |
getName()
Name of this custom data source.
|
CustomDataSource.ParentLink |
getParentLink()
Parent link for this custom data source.
|
java.util.List<java.lang.String> |
getProfilesLinked()
IDs of views (profiles) linked to the custom data source.
|
java.lang.String |
getSelfLink()
Link for this Analytics custom data source.
|
java.lang.String |
getType()
Type of the custom data source.
|
com.google.api.client.util.DateTime |
getUpdated()
Time this custom data source was last modified.
|
java.lang.String |
getUploadType() |
java.lang.String |
getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.
|
CustomDataSource |
set(java.lang.String fieldName,
java.lang.Object value) |
CustomDataSource |
setAccountId(java.lang.String accountId)
Account ID to which this custom data source belongs.
|
CustomDataSource |
setChildLink(CustomDataSource.ChildLink childLink) |
CustomDataSource |
setCreated(com.google.api.client.util.DateTime created)
Time this custom data source was created.
|
CustomDataSource |
setDescription(java.lang.String description)
Description of custom data source.
|
CustomDataSource |
setId(java.lang.String id)
Custom data source ID.
|
CustomDataSource |
setImportBehavior(java.lang.String importBehavior) |
CustomDataSource |
setKind(java.lang.String kind)
Resource type for Analytics custom data source.
|
CustomDataSource |
setName(java.lang.String name)
Name of this custom data source.
|
CustomDataSource |
setParentLink(CustomDataSource.ParentLink parentLink)
Parent link for this custom data source.
|
CustomDataSource |
setProfilesLinked(java.util.List<java.lang.String> profilesLinked)
IDs of views (profiles) linked to the custom data source.
|
CustomDataSource |
setSelfLink(java.lang.String selfLink)
Link for this Analytics custom data source.
|
CustomDataSource |
setType(java.lang.String type)
Type of the custom data source.
|
CustomDataSource |
setUpdated(com.google.api.client.util.DateTime updated)
Time this custom data source was last modified.
|
CustomDataSource |
setUploadType(java.lang.String uploadType) |
CustomDataSource |
setWebPropertyId(java.lang.String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAccountId()
null for nonepublic CustomDataSource setAccountId(java.lang.String accountId)
accountId - accountId or null for nonepublic CustomDataSource.ChildLink getChildLink()
null for nonepublic CustomDataSource setChildLink(CustomDataSource.ChildLink childLink)
childLink - childLink or null for nonepublic com.google.api.client.util.DateTime getCreated()
null for nonepublic CustomDataSource setCreated(com.google.api.client.util.DateTime created)
created - created or null for nonepublic java.lang.String getDescription()
null for nonepublic CustomDataSource setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getId()
null for nonepublic CustomDataSource setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getImportBehavior()
null for nonepublic CustomDataSource setImportBehavior(java.lang.String importBehavior)
importBehavior - importBehavior or null for nonepublic java.lang.String getKind()
null for nonepublic CustomDataSource setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic CustomDataSource setName(java.lang.String name)
name - name or null for nonepublic CustomDataSource.ParentLink getParentLink()
null for nonepublic CustomDataSource setParentLink(CustomDataSource.ParentLink parentLink)
parentLink - parentLink or null for nonepublic java.util.List<java.lang.String> getProfilesLinked()
null for nonepublic CustomDataSource setProfilesLinked(java.util.List<java.lang.String> profilesLinked)
profilesLinked - profilesLinked or null for nonepublic java.lang.String getSelfLink()
null for nonepublic CustomDataSource setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getType()
null for nonepublic CustomDataSource setType(java.lang.String type)
type - type or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic CustomDataSource setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic java.lang.String getUploadType()
null for nonepublic CustomDataSource setUploadType(java.lang.String uploadType)
uploadType - uploadType or null for nonepublic java.lang.String getWebPropertyId()
null for nonepublic CustomDataSource setWebPropertyId(java.lang.String webPropertyId)
webPropertyId - webPropertyId or null for nonepublic CustomDataSource set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CustomDataSource clone()
clone in class com.google.api.client.json.GenericJson