Skip to content

Commit 40f7121

Browse files
feat(analyticsdata): update the api
#### analyticsdata:v1beta The following keys were added: - schemas.MinuteRange (Total Keys: 7) - schemas.RunRealtimeReportRequest.properties.minuteRanges (Total Keys: 2)
1 parent 934358e commit 40f7121

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

docs/dyn/analyticsdata_v1beta.properties.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,13 @@ <h3>Method Details</h3>
11441144
&quot;name&quot;: &quot;A String&quot;, # The name of the metric. See the [API Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) for the list of metric names. If `expression` is specified, `name` can be any string that you would like within the allowed character set. For example if `expression` is `screenPageViews/sessions`, you could call that metric&#x27;s name = `viewsPerSession`. Metric names that you choose must match the regular expression &quot;^[a-zA-Z0-9_]$&quot;. Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric `expression`.
11451145
},
11461146
],
1147+
&quot;minuteRanges&quot;: [ # The minute ranges of event data to read. If unspecified, one minute range for the last 30 minutes will be used. If multiple minute ranges are requested, each response row will contain a zero based minute range index. If two minute ranges overlap, the event data for the overlapping minutes is included in the response rows for both minute ranges.
1148+
{ # A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ..., endMinutesAgo. Requests are allowed up to 2 minute ranges.
1149+
&quot;endMinutesAgo&quot;: 42, # The inclusive end minute for the query as a number of minutes before now. Cannot be before `startMinutesAgo`. For example, `&quot;endMinutesAgo&quot;: 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 &lt;= 29`), and 360 Analytics properties can request any minute in the last 60 minutes of event data (`endMinutesAgo &lt;= 59`).
1150+
&quot;name&quot;: &quot;A String&quot;, # 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.
1151+
&quot;startMinutesAgo&quot;: 42, # The inclusive start minute for the query as a number of minutes before now. For example, `&quot;startMinutesAgo&quot;: 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 &lt;= 29`), and 360 Analytics properties can request up to the last 60 minutes of event data (`startMinutesAgo &lt;= 59`).
1152+
},
1153+
],
11471154
&quot;orderBys&quot;: [ # Specifies how rows are ordered in the response.
11481155
{ # The sort options.
11491156
&quot;desc&quot;: True or False, # If true, sorts by descending order.

googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284
}
285285
}
286286
},
287-
"revision": "20210613",
287+
"revision": "20210625",
288288
"rootUrl": "https://analyticsdata.googleapis.com/",
289289
"schemas": {
290290
"BatchRunPivotReportsRequest": {
@@ -873,6 +873,27 @@
873873
},
874874
"type": "object"
875875
},
876+
"MinuteRange": {
877+
"description": "A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ..., endMinutesAgo. Requests are allowed up to 2 minute ranges.",
878+
"id": "MinuteRange",
879+
"properties": {
880+
"endMinutesAgo": {
881+
"description": "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`).",
882+
"format": "int32",
883+
"type": "integer"
884+
},
885+
"name": {
886+
"description": "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.",
887+
"type": "string"
888+
},
889+
"startMinutesAgo": {
890+
"description": "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`).",
891+
"format": "int32",
892+
"type": "integer"
893+
}
894+
},
895+
"type": "object"
896+
},
876897
"NumericFilter": {
877898
"description": "Filters for numeric or date values.",
878899
"id": "NumericFilter",
@@ -1307,6 +1328,13 @@
13071328
},
13081329
"type": "array"
13091330
},
1331+
"minuteRanges": {
1332+
"description": "The minute ranges of event data to read. If unspecified, one minute range for the last 30 minutes will be used. If multiple minute ranges are requested, each response row will contain a zero based minute range index. If two minute ranges overlap, the event data for the overlapping minutes is included in the response rows for both minute ranges.",
1333+
"items": {
1334+
"$ref": "MinuteRange"
1335+
},
1336+
"type": "array"
1337+
},
13101338
"orderBys": {
13111339
"description": "Specifies how rows are ordered in the response.",
13121340
"items": {

0 commit comments

Comments
 (0)