Show / Hide Table of Contents

Class Segment

JSON template for an Analytics segment.

Inheritance
System.Object
Segment
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Analytics.v3.Data
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class Segment : IDirectResponseSchema

Properties

Created

System.DateTime representation of CreatedRaw.

Declaration
[JsonIgnore]
public virtual DateTime? Created { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

CreatedRaw

Time the segment was created.

Declaration
[JsonProperty("created")]
public virtual string CreatedRaw { get; set; }
Property Value
Type Description
System.String

Definition

Segment definition.

Declaration
[JsonProperty("definition")]
public virtual string Definition { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Id

Segment ID.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
System.String

Kind

Resource type for Analytics segment.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

Name

Segment name.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.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
System.String

SelfLink

Link for this segment.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
System.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
System.String

Updated

System.DateTime representation of UpdatedRaw.

Declaration
[JsonIgnore]
public virtual DateTime? Updated { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

UpdatedRaw

Time the segment was last modified.

Declaration
[JsonProperty("updated")]
public virtual string UpdatedRaw { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top