public final class CustomDataSource extends 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.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CustomDataSource() |
| Modifier and Type | Method and Description |
|---|---|
CustomDataSource |
clone() |
String |
getAccountId()
Account ID to which this custom data source belongs.
|
CustomDataSource.ChildLink |
getChildLink() |
DateTime |
getCreated()
Time this custom data source was created.
|
String |
getDescription()
Description of custom data source.
|
String |
getId()
Custom data source ID.
|
String |
getImportBehavior() |
String |
getKind()
Resource type for Analytics custom data source.
|
String |
getName()
Name of this custom data source.
|
CustomDataSource.ParentLink |
getParentLink()
Parent link for this custom data source.
|
List<String> |
getProfilesLinked()
IDs of views (profiles) linked to the custom data source.
|
List<String> |
getSchema()
Collection of schema headers of the custom data source.
|
String |
getSelfLink()
Link for this Analytics custom data source.
|
String |
getType()
Type of the custom data source.
|
DateTime |
getUpdated()
Time this custom data source was last modified.
|
String |
getUploadType()
Upload type of the custom data source.
|
String |
getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.
|
CustomDataSource |
set(String fieldName,
Object value) |
CustomDataSource |
setAccountId(String accountId)
Account ID to which this custom data source belongs.
|
CustomDataSource |
setChildLink(CustomDataSource.ChildLink childLink) |
CustomDataSource |
setCreated(DateTime created)
Time this custom data source was created.
|
CustomDataSource |
setDescription(String description)
Description of custom data source.
|
CustomDataSource |
setId(String id)
Custom data source ID.
|
CustomDataSource |
setImportBehavior(String importBehavior) |
CustomDataSource |
setKind(String kind)
Resource type for Analytics custom data source.
|
CustomDataSource |
setName(String name)
Name of this custom data source.
|
CustomDataSource |
setParentLink(CustomDataSource.ParentLink parentLink)
Parent link for this custom data source.
|
CustomDataSource |
setProfilesLinked(List<String> profilesLinked)
IDs of views (profiles) linked to the custom data source.
|
CustomDataSource |
setSchema(List<String> schema)
Collection of schema headers of the custom data source.
|
CustomDataSource |
setSelfLink(String selfLink)
Link for this Analytics custom data source.
|
CustomDataSource |
setType(String type)
Type of the custom data source.
|
CustomDataSource |
setUpdated(DateTime updated)
Time this custom data source was last modified.
|
CustomDataSource |
setUploadType(String uploadType)
Upload type of the custom data source.
|
CustomDataSource |
setWebPropertyId(String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAccountId()
null for nonepublic CustomDataSource setAccountId(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 DateTime getCreated()
null for nonepublic CustomDataSource setCreated(DateTime created)
created - created or null for nonepublic String getDescription()
null for nonepublic CustomDataSource setDescription(String description)
description - description or null for nonepublic String getId()
null for nonepublic CustomDataSource setId(String id)
id - id or null for nonepublic String getImportBehavior()
null for nonepublic CustomDataSource setImportBehavior(String importBehavior)
importBehavior - importBehavior or null for nonepublic String getKind()
null for nonepublic CustomDataSource setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic CustomDataSource setName(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 List<String> getProfilesLinked()
null for nonepublic CustomDataSource setProfilesLinked(List<String> profilesLinked)
profilesLinked - profilesLinked or null for nonepublic List<String> getSchema()
null for nonepublic CustomDataSource setSchema(List<String> schema)
schema - schema or null for nonepublic String getSelfLink()
null for nonepublic CustomDataSource setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getType()
null for nonepublic CustomDataSource setType(String type)
type - type or null for nonepublic DateTime getUpdated()
null for nonepublic CustomDataSource setUpdated(DateTime updated)
updated - updated or null for nonepublic String getUploadType()
null for nonepublic CustomDataSource setUploadType(String uploadType)
uploadType - uploadType or null for nonepublic String getWebPropertyId()
null for nonepublic CustomDataSource setWebPropertyId(String webPropertyId)
webPropertyId - webPropertyId or null for nonepublic CustomDataSource set(String fieldName, Object value)
set in class GenericJsonpublic CustomDataSource clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.