google-apis-analyticsdata_v1beta 0.35.0 → 0.37.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b855afea40621b074ffd7be8aaf4b1678cfeb04d77d77ed98c48ae25092f9968
|
4
|
+
data.tar.gz: c88f7e1808465b2bef4aa0d4e28d5a96a21590e15afaf7a8d9e399d034f78827
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5780e614ef1b4222d2e2dd35bfff0618c59fff5b141fe8474f6714de84c6f03cd0a2d0131e33c298b7b266fb26701761f5955cb45c82f44951555a74f474c6c
|
7
|
+
data.tar.gz: 94143a3c53e0cbacfe6f2434c426b4df07a3c771a0d3bce1eca7cdd9a4456361c95deb512f894910e080a0d4862fcac35df5a87512905c299fb67dbc675e4473
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-analyticsdata_v1beta
|
2
2
|
|
3
|
+
### v0.37.0 (2024-08-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240731
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.36.0 (2024-05-19)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240512
|
11
|
+
* Regenerated using generator version 0.15.0
|
12
|
+
|
3
13
|
### v0.35.0 (2024-02-24)
|
4
14
|
|
5
15
|
* Regenerated using generator version 0.14.0
|
@@ -514,6 +514,74 @@ module Google
|
|
514
514
|
end
|
515
515
|
end
|
516
516
|
|
517
|
+
# Defines an individual comparison. Most requests will include multiple
|
518
|
+
# comparisons so that the report compares between the comparisons.
|
519
|
+
class Comparison
|
520
|
+
include Google::Apis::Core::Hashable
|
521
|
+
|
522
|
+
# A saved comparison identified by the comparison's resource name. For example, '
|
523
|
+
# comparisons/1234'.
|
524
|
+
# Corresponds to the JSON property `comparison`
|
525
|
+
# @return [String]
|
526
|
+
attr_accessor :comparison
|
527
|
+
|
528
|
+
# To express dimension or metric filters. The fields in the same
|
529
|
+
# FilterExpression need to be either all dimensions or all metrics.
|
530
|
+
# Corresponds to the JSON property `dimensionFilter`
|
531
|
+
# @return [Google::Apis::AnalyticsdataV1beta::FilterExpression]
|
532
|
+
attr_accessor :dimension_filter
|
533
|
+
|
534
|
+
# Each comparison produces separate rows in the response. In the response, this
|
535
|
+
# comparison is identified by this name. If name is unspecified, we will use the
|
536
|
+
# saved comparisons display name.
|
537
|
+
# Corresponds to the JSON property `name`
|
538
|
+
# @return [String]
|
539
|
+
attr_accessor :name
|
540
|
+
|
541
|
+
def initialize(**args)
|
542
|
+
update!(**args)
|
543
|
+
end
|
544
|
+
|
545
|
+
# Update properties of this object
|
546
|
+
def update!(**args)
|
547
|
+
@comparison = args[:comparison] if args.key?(:comparison)
|
548
|
+
@dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
|
549
|
+
@name = args[:name] if args.key?(:name)
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
# The metadata for a single comparison.
|
554
|
+
class ComparisonMetadata
|
555
|
+
include Google::Apis::Core::Hashable
|
556
|
+
|
557
|
+
# This comparison's resource name. Useable in [Comparison](#Comparison)'s `
|
558
|
+
# comparison` field. For example, 'comparisons/1234'.
|
559
|
+
# Corresponds to the JSON property `apiName`
|
560
|
+
# @return [String]
|
561
|
+
attr_accessor :api_name
|
562
|
+
|
563
|
+
# This comparison's description.
|
564
|
+
# Corresponds to the JSON property `description`
|
565
|
+
# @return [String]
|
566
|
+
attr_accessor :description
|
567
|
+
|
568
|
+
# This comparison's name within the Google Analytics user interface.
|
569
|
+
# Corresponds to the JSON property `uiName`
|
570
|
+
# @return [String]
|
571
|
+
attr_accessor :ui_name
|
572
|
+
|
573
|
+
def initialize(**args)
|
574
|
+
update!(**args)
|
575
|
+
end
|
576
|
+
|
577
|
+
# Update properties of this object
|
578
|
+
def update!(**args)
|
579
|
+
@api_name = args[:api_name] if args.key?(:api_name)
|
580
|
+
@description = args[:description] if args.key?(:description)
|
581
|
+
@ui_name = args[:ui_name] if args.key?(:ui_name)
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
517
585
|
# Used to combine dimension values to a single dimension.
|
518
586
|
class ConcatenateExpression
|
519
587
|
include Google::Apis::Core::Hashable
|
@@ -975,6 +1043,11 @@ module Google
|
|
975
1043
|
class Metadata
|
976
1044
|
include Google::Apis::Core::Hashable
|
977
1045
|
|
1046
|
+
# The comparison descriptions.
|
1047
|
+
# Corresponds to the JSON property `comparisons`
|
1048
|
+
# @return [Array<Google::Apis::AnalyticsdataV1beta::ComparisonMetadata>]
|
1049
|
+
attr_accessor :comparisons
|
1050
|
+
|
978
1051
|
# The dimension descriptions.
|
979
1052
|
# Corresponds to the JSON property `dimensions`
|
980
1053
|
# @return [Array<Google::Apis::AnalyticsdataV1beta::DimensionMetadata>]
|
@@ -996,6 +1069,7 @@ module Google
|
|
996
1069
|
|
997
1070
|
# Update properties of this object
|
998
1071
|
def update!(**args)
|
1072
|
+
@comparisons = args[:comparisons] if args.key?(:comparisons)
|
999
1073
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
1000
1074
|
@metrics = args[:metrics] if args.key?(:metrics)
|
1001
1075
|
@name = args[:name] if args.key?(:name)
|
@@ -1879,6 +1953,13 @@ module Google
|
|
1879
1953
|
# @return [Google::Apis::AnalyticsdataV1beta::CohortSpec]
|
1880
1954
|
attr_accessor :cohort_spec
|
1881
1955
|
|
1956
|
+
# Optional. The configuration of comparisons requested and displayed. The
|
1957
|
+
# request requires both a comparisons field and a comparisons dimension to
|
1958
|
+
# receive a comparison column in the response.
|
1959
|
+
# Corresponds to the JSON property `comparisons`
|
1960
|
+
# @return [Array<Google::Apis::AnalyticsdataV1beta::Comparison>]
|
1961
|
+
attr_accessor :comparisons
|
1962
|
+
|
1882
1963
|
# A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field
|
1883
1964
|
# is empty, the report uses the property's default currency.
|
1884
1965
|
# Corresponds to the JSON property `currencyCode`
|
@@ -1963,6 +2044,7 @@ module Google
|
|
1963
2044
|
# Update properties of this object
|
1964
2045
|
def update!(**args)
|
1965
2046
|
@cohort_spec = args[:cohort_spec] if args.key?(:cohort_spec)
|
2047
|
+
@comparisons = args[:comparisons] if args.key?(:comparisons)
|
1966
2048
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
1967
2049
|
@date_ranges = args[:date_ranges] if args.key?(:date_ranges)
|
1968
2050
|
@dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
|
@@ -2231,6 +2313,13 @@ module Google
|
|
2231
2313
|
# @return [Google::Apis::AnalyticsdataV1beta::CohortSpec]
|
2232
2314
|
attr_accessor :cohort_spec
|
2233
2315
|
|
2316
|
+
# Optional. The configuration of comparisons requested and displayed. The
|
2317
|
+
# request only requires a comparisons field in order to receive a comparison
|
2318
|
+
# column in the response.
|
2319
|
+
# Corresponds to the JSON property `comparisons`
|
2320
|
+
# @return [Array<Google::Apis::AnalyticsdataV1beta::Comparison>]
|
2321
|
+
attr_accessor :comparisons
|
2322
|
+
|
2234
2323
|
# A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field
|
2235
2324
|
# is empty, the report uses the property's default currency.
|
2236
2325
|
# Corresponds to the JSON property `currencyCode`
|
@@ -2283,7 +2372,9 @@ module Google
|
|
2283
2372
|
attr_accessor :limit
|
2284
2373
|
|
2285
2374
|
# Aggregation of metrics. Aggregated metric values will be shown in rows where
|
2286
|
-
# the dimension_values are set to "RESERVED_(MetricAggregation)".
|
2375
|
+
# the dimension_values are set to "RESERVED_(MetricAggregation)". Aggregates
|
2376
|
+
# including both comparisons and multiple date ranges will be aggregated based
|
2377
|
+
# on the date ranges.
|
2287
2378
|
# Corresponds to the JSON property `metricAggregations`
|
2288
2379
|
# @return [Array<String>]
|
2289
2380
|
attr_accessor :metric_aggregations
|
@@ -2310,7 +2401,9 @@ module Google
|
|
2310
2401
|
# @return [Fixnum]
|
2311
2402
|
attr_accessor :offset
|
2312
2403
|
|
2313
|
-
# Specifies how rows are ordered in the response.
|
2404
|
+
# Specifies how rows are ordered in the response. Requests including both
|
2405
|
+
# comparisons and multiple date ranges will have order bys applied on the
|
2406
|
+
# comparisons.
|
2314
2407
|
# Corresponds to the JSON property `orderBys`
|
2315
2408
|
# @return [Array<Google::Apis::AnalyticsdataV1beta::OrderBy>]
|
2316
2409
|
attr_accessor :order_bys
|
@@ -2339,6 +2432,7 @@ module Google
|
|
2339
2432
|
# Update properties of this object
|
2340
2433
|
def update!(**args)
|
2341
2434
|
@cohort_spec = args[:cohort_spec] if args.key?(:cohort_spec)
|
2435
|
+
@comparisons = args[:comparisons] if args.key?(:comparisons)
|
2342
2436
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
2343
2437
|
@date_ranges = args[:date_ranges] if args.key?(:date_ranges)
|
2344
2438
|
@dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
|
@@ -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.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240731"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -112,6 +112,18 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class Comparison
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class ComparisonMetadata
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class ConcatenateExpression
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -557,6 +569,25 @@ module Google
|
|
557
569
|
end
|
558
570
|
end
|
559
571
|
|
572
|
+
class Comparison
|
573
|
+
# @private
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
property :comparison, as: 'comparison'
|
576
|
+
property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsdataV1beta::FilterExpression, decorator: Google::Apis::AnalyticsdataV1beta::FilterExpression::Representation
|
577
|
+
|
578
|
+
property :name, as: 'name'
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
class ComparisonMetadata
|
583
|
+
# @private
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
+
property :api_name, as: 'apiName'
|
586
|
+
property :description, as: 'description'
|
587
|
+
property :ui_name, as: 'uiName'
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
560
591
|
class ConcatenateExpression
|
561
592
|
# @private
|
562
593
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -695,6 +726,8 @@ module Google
|
|
695
726
|
class Metadata
|
696
727
|
# @private
|
697
728
|
class Representation < Google::Apis::Core::JsonRepresentation
|
729
|
+
collection :comparisons, as: 'comparisons', class: Google::Apis::AnalyticsdataV1beta::ComparisonMetadata, decorator: Google::Apis::AnalyticsdataV1beta::ComparisonMetadata::Representation
|
730
|
+
|
698
731
|
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1beta::DimensionMetadata, decorator: Google::Apis::AnalyticsdataV1beta::DimensionMetadata::Representation
|
699
732
|
|
700
733
|
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1beta::MetricMetadata, decorator: Google::Apis::AnalyticsdataV1beta::MetricMetadata::Representation
|
@@ -930,6 +963,8 @@ module Google
|
|
930
963
|
class Representation < Google::Apis::Core::JsonRepresentation
|
931
964
|
property :cohort_spec, as: 'cohortSpec', class: Google::Apis::AnalyticsdataV1beta::CohortSpec, decorator: Google::Apis::AnalyticsdataV1beta::CohortSpec::Representation
|
932
965
|
|
966
|
+
collection :comparisons, as: 'comparisons', class: Google::Apis::AnalyticsdataV1beta::Comparison, decorator: Google::Apis::AnalyticsdataV1beta::Comparison::Representation
|
967
|
+
|
933
968
|
property :currency_code, as: 'currencyCode'
|
934
969
|
collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsdataV1beta::DateRange, decorator: Google::Apis::AnalyticsdataV1beta::DateRange::Representation
|
935
970
|
|
@@ -1018,6 +1053,8 @@ module Google
|
|
1018
1053
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1019
1054
|
property :cohort_spec, as: 'cohortSpec', class: Google::Apis::AnalyticsdataV1beta::CohortSpec, decorator: Google::Apis::AnalyticsdataV1beta::CohortSpec::Representation
|
1020
1055
|
|
1056
|
+
collection :comparisons, as: 'comparisons', class: Google::Apis::AnalyticsdataV1beta::Comparison, decorator: Google::Apis::AnalyticsdataV1beta::Comparison::Representation
|
1057
|
+
|
1021
1058
|
property :currency_code, as: 'currencyCode'
|
1022
1059
|
collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsdataV1beta::DateRange, decorator: Google::Apis::AnalyticsdataV1beta::DateRange::Representation
|
1023
1060
|
|
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.37.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: 2024-
|
11
|
+
date: 2024-08-04 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.15.0
|
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.15.0
|
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/main/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.37.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsdata_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|