public final class DynamicSegment
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 Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
DynamicSegment() |
| Modifier and Type | Method and Description |
|---|---|
DynamicSegment |
clone() |
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
DynamicSegment |
setName(java.lang.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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getName()
null for nonepublic DynamicSegment setName(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DynamicSegment clone()
clone in class com.google.api.client.json.GenericJson