target.apidocs.com.google.api.services.analytics.model.CustomDataSource.html Maven / Gradle / Ivy
CustomDataSource (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics.model
Class CustomDataSource
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.analytics.model.CustomDataSource
-
public final class CustomDataSource
extends GenericJson
JSON template for an Analytics custom data source.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
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.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
CustomDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAccountId
public String getAccountId()
Account ID to which this custom data source belongs.
- Returns:
- value or
null
for none
-
setAccountId
public CustomDataSource setAccountId(String accountId)
Account ID to which this custom data source belongs.
- Parameters:
accountId
- accountId or null
for none
-
getChildLink
public CustomDataSource.ChildLink getChildLink()
- Returns:
- value or
null
for none
-
setChildLink
public CustomDataSource setChildLink(CustomDataSource.ChildLink childLink)
- Parameters:
childLink
- childLink or null
for none
-
getCreated
public DateTime getCreated()
Time this custom data source was created.
- Returns:
- value or
null
for none
-
setCreated
public CustomDataSource setCreated(DateTime created)
Time this custom data source was created.
- Parameters:
created
- created or null
for none
-
getDescription
public String getDescription()
Description of custom data source.
- Returns:
- value or
null
for none
-
setDescription
public CustomDataSource setDescription(String description)
Description of custom data source.
- Parameters:
description
- description or null
for none
-
getId
public String getId()
Custom data source ID.
- Returns:
- value or
null
for none
-
setId
public CustomDataSource setId(String id)
Custom data source ID.
- Parameters:
id
- id or null
for none
-
getImportBehavior
public String getImportBehavior()
- Returns:
- value or
null
for none
-
setImportBehavior
public CustomDataSource setImportBehavior(String importBehavior)
- Parameters:
importBehavior
- importBehavior or null
for none
-
getKind
public String getKind()
Resource type for Analytics custom data source.
- Returns:
- value or
null
for none
-
setKind
public CustomDataSource setKind(String kind)
Resource type for Analytics custom data source.
- Parameters:
kind
- kind or null
for none
-
getName
public String getName()
Name of this custom data source.
- Returns:
- value or
null
for none
-
setName
public CustomDataSource setName(String name)
Name of this custom data source.
- Parameters:
name
- name or null
for none
-
getParentLink
public CustomDataSource.ParentLink getParentLink()
Parent link for this custom data source. Points to the web property to which this custom data
source belongs.
- Returns:
- value or
null
for none
-
setParentLink
public CustomDataSource setParentLink(CustomDataSource.ParentLink parentLink)
Parent link for this custom data source. Points to the web property to which this custom data
source belongs.
- Parameters:
parentLink
- parentLink or null
for none
-
getProfilesLinked
public List<String> getProfilesLinked()
IDs of views (profiles) linked to the custom data source.
- Returns:
- value or
null
for none
-
setProfilesLinked
public CustomDataSource setProfilesLinked(List<String> profilesLinked)
IDs of views (profiles) linked to the custom data source.
- Parameters:
profilesLinked
- profilesLinked or null
for none
-
getSchema
public List<String> getSchema()
Collection of schema headers of the custom data source.
- Returns:
- value or
null
for none
-
setSchema
public CustomDataSource setSchema(List<String> schema)
Collection of schema headers of the custom data source.
- Parameters:
schema
- schema or null
for none
-
getSelfLink
public String getSelfLink()
Link for this Analytics custom data source.
- Returns:
- value or
null
for none
-
setSelfLink
public CustomDataSource setSelfLink(String selfLink)
Link for this Analytics custom data source.
- Parameters:
selfLink
- selfLink or null
for none
-
getType
public String getType()
Type of the custom data source.
- Returns:
- value or
null
for none
-
setType
public CustomDataSource setType(String type)
Type of the custom data source.
- Parameters:
type
- type or null
for none
-
getUpdated
public DateTime getUpdated()
Time this custom data source was last modified.
- Returns:
- value or
null
for none
-
setUpdated
public CustomDataSource setUpdated(DateTime updated)
Time this custom data source was last modified.
- Parameters:
updated
- updated or null
for none
-
getUploadType
public String getUploadType()
Upload type of the custom data source.
- Returns:
- value or
null
for none
-
setUploadType
public CustomDataSource setUploadType(String uploadType)
Upload type of the custom data source.
- Parameters:
uploadType
- uploadType or null
for none
-
getWebPropertyId
public String getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.
- Returns:
- value or
null
for none
-
setWebPropertyId
public CustomDataSource setWebPropertyId(String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.
- Parameters:
webPropertyId
- webPropertyId or null
for none
-
set
public CustomDataSource set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public CustomDataSource clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.