public final class DynamicSegment 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 Analytics Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DynamicSegment() |
| Modifier and Type | Method and Description |
|---|---|
DynamicSegment |
clone() |
String |
getName()
The name of the dynamic segment.
|
SegmentDefinition |
getSessionSegment()
Session Segment to select sessions to include in the segment.
|
SegmentDefinition |
getUserSegment()
User Segment to select users to include in the segment.
|
DynamicSegment |
set(String fieldName,
Object value) |
DynamicSegment |
setName(String name)
The name of the dynamic segment.
|
DynamicSegment |
setSessionSegment(SegmentDefinition sessionSegment)
Session Segment to select sessions to include in the segment.
|
DynamicSegment |
setUserSegment(SegmentDefinition userSegment)
User Segment to select users to include in the segment.
|
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 getName()
null for nonepublic DynamicSegment setName(String name)
name - name or null for nonepublic SegmentDefinition getSessionSegment()
null for nonepublic DynamicSegment setSessionSegment(SegmentDefinition sessionSegment)
sessionSegment - sessionSegment or null for nonepublic SegmentDefinition getUserSegment()
null for nonepublic DynamicSegment setUserSegment(SegmentDefinition userSegment)
userSegment - userSegment or null for nonepublic DynamicSegment set(String fieldName, Object value)
set in class GenericJsonpublic DynamicSegment clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.