Show / Hide Table of Contents

Class MinuteRange

A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ..., endMinutesAgo. Requests are allowed up to 2 minute ranges.

Inheritance
object
MinuteRange
Implements
IMessage<MinuteRange>
IEquatable<MinuteRange>
IDeepCloneable<MinuteRange>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Analytics.Data.V1Beta
Assembly: Google.Analytics.Data.V1Beta.dll
Syntax
public sealed class MinuteRange : IMessage<MinuteRange>, IEquatable<MinuteRange>, IDeepCloneable<MinuteRange>, IBufferMessage, IMessage

Constructors

MinuteRange()

Declaration
public MinuteRange()

MinuteRange(MinuteRange)

Declaration
public MinuteRange(MinuteRange other)
Parameters
Type Name Description
MinuteRange other

Properties

EndMinutesAgo

The inclusive end minute for the query as a number of minutes before now. Cannot be before startMinutesAgo. For example, "endMinutesAgo": 15 specifies the report should include event data from prior to 15 minutes ago.

If unspecified, endMinutesAgo is defaulted to 0. Standard Analytics properties can request any minute in the last 30 minutes of event data (endMinutesAgo <= 29), and 360 Analytics properties can request any minute in the last 60 minutes of event data (endMinutesAgo <= 59).

Declaration
public int EndMinutesAgo { get; set; }
Property Value
Type Description
int

HasEndMinutesAgo

Gets whether the "end_minutes_ago" field is set

Declaration
public bool HasEndMinutesAgo { get; }
Property Value
Type Description
bool

HasStartMinutesAgo

Gets whether the "start_minutes_ago" field is set

Declaration
public bool HasStartMinutesAgo { get; }
Property Value
Type Description
bool

Name

Assigns a name to this minute range. The dimension dateRange is valued to this name in a report response. If set, cannot begin with date_range_ or RESERVED_. If not set, minute ranges are named by their zero based index in the request: date_range_0, date_range_1, etc.

Declaration
public string Name { get; set; }
Property Value
Type Description
string

StartMinutesAgo

The inclusive start minute for the query as a number of minutes before now. For example, "startMinutesAgo": 29 specifies the report should include event data from 29 minutes ago and after. Cannot be after endMinutesAgo.

If unspecified, startMinutesAgo is defaulted to 29. Standard Analytics properties can request up to the last 30 minutes of event data (startMinutesAgo <= 29), and 360 Analytics properties can request up to the last 60 minutes of event data (startMinutesAgo <= 59).

Declaration
public int StartMinutesAgo { get; set; }
Property Value
Type Description
int
In this article
Back to top Generated by DocFX