Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::MinuteRange.
A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ..., endMinutesAgo. Requests are allowed up to 2 minute ranges.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_minutes_ago
def end_minutes_ago() -> ::Integer
-
(::Integer) — 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
).
#end_minutes_ago=
def end_minutes_ago=(value) -> ::Integer
-
value (::Integer) — 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
).
-
(::Integer) — 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
).
#name
def name() -> ::String
-
(::String) — Assigns a name to this minute range. The dimension
dateRange
is valued to this name in a report response. If set, cannot begin withdate_range_
orRESERVED_
. If not set, minute ranges are named by their zero based index in the request:date_range_0
,date_range_1
, etc.
#name=
def name=(value) -> ::String
-
value (::String) — Assigns a name to this minute range. The dimension
dateRange
is valued to this name in a report response. If set, cannot begin withdate_range_
orRESERVED_
. If not set, minute ranges are named by their zero based index in the request:date_range_0
,date_range_1
, etc.
-
(::String) — Assigns a name to this minute range. The dimension
dateRange
is valued to this name in a report response. If set, cannot begin withdate_range_
orRESERVED_
. If not set, minute ranges are named by their zero based index in the request:date_range_0
,date_range_1
, etc.
#start_minutes_ago
def start_minutes_ago() -> ::Integer
-
(::Integer) — 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 afterendMinutesAgo
.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
).
#start_minutes_ago=
def start_minutes_ago=(value) -> ::Integer
-
value (::Integer) — 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 afterendMinutesAgo
.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
).
-
(::Integer) — 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 afterendMinutesAgo
.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
).