Class Segment
JSON template for an Analytics segment.
Implements
Inherited Members
Namespace: Google.Apis.Analytics.v3.Data
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class Segment : IDirectResponseSchema
Properties
Created
DateTime representation of CreatedRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreatedDateTimeOffset instead.")]
public virtual DateTime? Created { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
CreatedDateTimeOffset
DateTimeOffset representation of CreatedRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreatedDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreatedRaw
Time the segment was created.
Declaration
[JsonProperty("created")]
public virtual string CreatedRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Definition
Segment definition.
Declaration
[JsonProperty("definition")]
public virtual string Definition { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Segment ID.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Resource type for Analytics segment.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Segment name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SegmentId
Segment ID. Can be used with the 'segment' parameter in Core Reporting API.
Declaration
[JsonProperty("segmentId")]
public virtual string SegmentId { get; set; }
Property Value
Type | Description |
---|---|
string |
SelfLink
Link for this segment.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Type for a segment. Possible values are "BUILT_IN" or "CUSTOM".
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
Updated
DateTime representation of UpdatedRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdatedDateTimeOffset instead.")]
public virtual DateTime? Updated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
UpdatedDateTimeOffset
DateTimeOffset representation of UpdatedRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdatedDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdatedRaw
Time the segment was last modified.
Declaration
[JsonProperty("updated")]
public virtual string UpdatedRaw { get; set; }
Property Value
Type | Description |
---|---|
string |