google-apis-analyticsdata_v1beta 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c43297e4165777adafb6b161944f1fe3f6d93cac0e4cd66963cf726e76ae17f1
|
4
|
+
data.tar.gz: bf9ceea4e69014d627e50df9ac7933b4249a238a2711775c25811daca5dff470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6203ac39f8c4b1c6c36bdf247204fa60eaa96b6fb11bc6a82806057fda6c1ece5e4cf561fc52e02ba5ab577a1c7b022f39befc43a1e3d1a2d93831e5c100aeb
|
7
|
+
data.tar.gz: aec142e8be710b8f4765fb07c9010cc637408d4a069821b49f426f673fc82abc02780094b626ec60d2a9be6d4bd0e01178f43976a5b4cd0d111c84984edc5083
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-analyticsdata_v1beta
|
2
2
|
|
3
|
+
### v0.5.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210625
|
6
|
+
* Regenerated using generator version 0.4.0
|
7
|
+
|
3
8
|
### v0.4.0 (2021-06-24)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.3.0
|
@@ -900,6 +900,53 @@ module Google
|
|
900
900
|
end
|
901
901
|
end
|
902
902
|
|
903
|
+
# A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ...,
|
904
|
+
# endMinutesAgo. Requests are allowed up to 2 minute ranges.
|
905
|
+
class MinuteRange
|
906
|
+
include Google::Apis::Core::Hashable
|
907
|
+
|
908
|
+
# The inclusive end minute for the query as a number of minutes before now.
|
909
|
+
# Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
|
910
|
+
# specifies the report should include event data from prior to 15 minutes ago.
|
911
|
+
# If unspecified, `endMinutesAgo` is defaulted to 0. Standard Analytics
|
912
|
+
# properties can request any minute in the last 30 minutes of event data (`
|
913
|
+
# endMinutesAgo <= 29`), and 360 Analytics properties can request any minute in
|
914
|
+
# the last 60 minutes of event data (`endMinutesAgo <= 59`).
|
915
|
+
# Corresponds to the JSON property `endMinutesAgo`
|
916
|
+
# @return [Fixnum]
|
917
|
+
attr_accessor :end_minutes_ago
|
918
|
+
|
919
|
+
# Assigns a name to this minute range. The dimension `dateRange` is valued to
|
920
|
+
# this name in a report response. If set, cannot begin with `date_range_` or `
|
921
|
+
# RESERVED_`. If not set, minute ranges are named by their zero based index in
|
922
|
+
# the request: `date_range_0`, `date_range_1`, etc.
|
923
|
+
# Corresponds to the JSON property `name`
|
924
|
+
# @return [String]
|
925
|
+
attr_accessor :name
|
926
|
+
|
927
|
+
# The inclusive start minute for the query as a number of minutes before now.
|
928
|
+
# For example, `"startMinutesAgo": 29` specifies the report should include event
|
929
|
+
# data from 29 minutes ago and after. Cannot be after `endMinutesAgo`. If
|
930
|
+
# unspecified, `startMinutesAgo` is defaulted to 29. Standard Analytics
|
931
|
+
# properties can request up to the last 30 minutes of event data (`
|
932
|
+
# startMinutesAgo <= 29`), and 360 Analytics properties can request up to the
|
933
|
+
# last 60 minutes of event data (`startMinutesAgo <= 59`).
|
934
|
+
# Corresponds to the JSON property `startMinutesAgo`
|
935
|
+
# @return [Fixnum]
|
936
|
+
attr_accessor :start_minutes_ago
|
937
|
+
|
938
|
+
def initialize(**args)
|
939
|
+
update!(**args)
|
940
|
+
end
|
941
|
+
|
942
|
+
# Update properties of this object
|
943
|
+
def update!(**args)
|
944
|
+
@end_minutes_ago = args[:end_minutes_ago] if args.key?(:end_minutes_ago)
|
945
|
+
@name = args[:name] if args.key?(:name)
|
946
|
+
@start_minutes_ago = args[:start_minutes_ago] if args.key?(:start_minutes_ago)
|
947
|
+
end
|
948
|
+
end
|
949
|
+
|
903
950
|
# Filters for numeric or date values.
|
904
951
|
class NumericFilter
|
905
952
|
include Google::Apis::Core::Hashable
|
@@ -1507,6 +1554,15 @@ module Google
|
|
1507
1554
|
# @return [Array<Google::Apis::AnalyticsdataV1beta::Metric>]
|
1508
1555
|
attr_accessor :metrics
|
1509
1556
|
|
1557
|
+
# The minute ranges of event data to read. If unspecified, one minute range for
|
1558
|
+
# the last 30 minutes will be used. If multiple minute ranges are requested,
|
1559
|
+
# each response row will contain a zero based minute range index. If two minute
|
1560
|
+
# ranges overlap, the event data for the overlapping minutes is included in the
|
1561
|
+
# response rows for both minute ranges.
|
1562
|
+
# Corresponds to the JSON property `minuteRanges`
|
1563
|
+
# @return [Array<Google::Apis::AnalyticsdataV1beta::MinuteRange>]
|
1564
|
+
attr_accessor :minute_ranges
|
1565
|
+
|
1510
1566
|
# Specifies how rows are ordered in the response.
|
1511
1567
|
# Corresponds to the JSON property `orderBys`
|
1512
1568
|
# @return [Array<Google::Apis::AnalyticsdataV1beta::OrderBy>]
|
@@ -1531,6 +1587,7 @@ module Google
|
|
1531
1587
|
@metric_aggregations = args[:metric_aggregations] if args.key?(:metric_aggregations)
|
1532
1588
|
@metric_filter = args[:metric_filter] if args.key?(:metric_filter)
|
1533
1589
|
@metrics = args[:metrics] if args.key?(:metrics)
|
1590
|
+
@minute_ranges = args[:minute_ranges] if args.key?(:minute_ranges)
|
1534
1591
|
@order_bys = args[:order_bys] if args.key?(:order_bys)
|
1535
1592
|
@return_property_quota = args[:return_property_quota] if args.key?(:return_property_quota)
|
1536
1593
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AnalyticsdataV1beta
|
18
18
|
# Version of the google-apis-analyticsdata_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210625"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class MinuteRange
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class NumericFilter
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -564,6 +570,15 @@ module Google
|
|
564
570
|
end
|
565
571
|
end
|
566
572
|
|
573
|
+
class MinuteRange
|
574
|
+
# @private
|
575
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
576
|
+
property :end_minutes_ago, as: 'endMinutesAgo'
|
577
|
+
property :name, as: 'name'
|
578
|
+
property :start_minutes_ago, as: 'startMinutesAgo'
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
567
582
|
class NumericFilter
|
568
583
|
# @private
|
569
584
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -739,6 +754,8 @@ module Google
|
|
739
754
|
|
740
755
|
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1beta::Metric, decorator: Google::Apis::AnalyticsdataV1beta::Metric::Representation
|
741
756
|
|
757
|
+
collection :minute_ranges, as: 'minuteRanges', class: Google::Apis::AnalyticsdataV1beta::MinuteRange, decorator: Google::Apis::AnalyticsdataV1beta::MinuteRange::Representation
|
758
|
+
|
742
759
|
collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsdataV1beta::OrderBy, decorator: Google::Apis::AnalyticsdataV1beta::OrderBy::Representation
|
743
760
|
|
744
761
|
property :return_property_quota, as: 'returnPropertyQuota'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-analyticsdata_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsdata_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsdata_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsdata_v1beta/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsdata_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|