google-apis-analyticsdata_v1alpha 0.1.0 → 0.6.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: 394db5d5c950eb816f6fcef2a490217c7d99775f22a096f1faa165f119bf19fa
4
- data.tar.gz: 638789a0465c70fc1105d952c1cca624951aeb9c7444c006505068f5d1dabef9
3
+ metadata.gz: 7333aeceda75e5c79a5294bfc1b36f4210555ca6fb70b597dd8039f65d8c6a76
4
+ data.tar.gz: 38644756403df9a8d84574fe3532f8eda74ed844372cbf39164427fd6d27d24d
5
5
  SHA512:
6
- metadata.gz: ef2960f57b3b7b0441ad59c548b474ea4e92e96c4442f1954a3b05f4ba4ac1296b96038667e083d24c8470a9c59bc751ec8325453b1fd9b44939422c7645ce97
7
- data.tar.gz: d3c0caa54f840a9576f6cd75ddf1641f27fa3b4ef259365c9bd17db2544075dda3801a1551dab3755d154bc9da5d7ff9a99dcce2595ce15335eafc8fe34c300f
6
+ metadata.gz: efada29e71ca0d2f535d920173f41d1d984b16cb6c9f957bb5124c902c717c036c3dd33b4ab16e796752736f2edd171cc7ecf1828b27bd6e5aaa3e91c941d711
7
+ data.tar.gz: 17d826301d54ae60406ebf465663b19488e9025435e8fa3fd3df90f686246b39f0da60cfd30c42e0b31047d16e74502578dfae62fb068a3940099739a27e5f6d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-analyticsdata_v1alpha
2
2
 
3
+ ### v0.6.0 (2021-03-17)
4
+
5
+ * Regenerated from discovery document revision 20210314
6
+
7
+ ### v0.5.0 (2021-03-10)
8
+
9
+ * Regenerated from discovery document revision 20210308
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.3.0 (2021-02-10)
17
+
18
+ * Regenerated from discovery document revision 20210206
19
+
20
+ ### v0.2.0 (2021-01-22)
21
+
22
+ * Regenerated from discovery document revision 20210120
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated from discovery document revision 20210105
@@ -52,6 +52,13 @@ module Google
52
52
  class BatchRunPivotReportsResponse
53
53
  include Google::Apis::Core::Hashable
54
54
 
55
+ # Identifies what kind of resource this message is. This `kind` is always the
56
+ # fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
57
+ # between response types in JSON.
58
+ # Corresponds to the JSON property `kind`
59
+ # @return [String]
60
+ attr_accessor :kind
61
+
55
62
  # Individual responses. Each response has a separate pivot report request.
56
63
  # Corresponds to the JSON property `pivotReports`
57
64
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse>]
@@ -63,6 +70,7 @@ module Google
63
70
 
64
71
  # Update properties of this object
65
72
  def update!(**args)
73
+ @kind = args[:kind] if args.key?(:kind)
66
74
  @pivot_reports = args[:pivot_reports] if args.key?(:pivot_reports)
67
75
  end
68
76
  end
@@ -97,6 +105,13 @@ module Google
97
105
  class BatchRunReportsResponse
98
106
  include Google::Apis::Core::Hashable
99
107
 
108
+ # Identifies what kind of resource this message is. This `kind` is always the
109
+ # fixed string "analyticsData#batchRunReports". Useful to distinguish between
110
+ # response types in JSON.
111
+ # Corresponds to the JSON property `kind`
112
+ # @return [String]
113
+ attr_accessor :kind
114
+
100
115
  # Individual responses. Each response has a separate report request.
101
116
  # Corresponds to the JSON property `reports`
102
117
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::RunReportResponse>]
@@ -108,6 +123,7 @@ module Google
108
123
 
109
124
  # Update properties of this object
110
125
  def update!(**args)
126
+ @kind = args[:kind] if args.key?(:kind)
111
127
  @reports = args[:reports] if args.key?(:reports)
112
128
  end
113
129
  end
@@ -158,7 +174,7 @@ module Google
158
174
  end
159
175
 
160
176
  # Defines a cohort selection criteria. A cohort is a group of users who share a
161
- # common characteristic. For example, users with the same `firstTouchDate`
177
+ # common characteristic. For example, users with the same `firstSessionDate`
162
178
  # belong to the same cohort.
163
179
  class Cohort
164
180
  include Google::Apis::Core::Hashable
@@ -169,7 +185,7 @@ module Google
169
185
  # @return [Google::Apis::AnalyticsdataV1alpha::DateRange]
170
186
  attr_accessor :date_range
171
187
 
172
- # Dimension used by the cohort. Required and only supports `firstTouchDate`.
188
+ # Dimension used by the cohort. Required and only supports `firstSessionDate`.
173
189
  # Corresponds to the JSON property `dimension`
174
190
  # @return [String]
175
191
  attr_accessor :dimension
@@ -605,15 +621,6 @@ module Google
605
621
  # @return [Google::Apis::AnalyticsdataV1alpha::InListFilter]
606
622
  attr_accessor :in_list_filter
607
623
 
608
- # A filter for null values. If True, a null dimension value is matched by this
609
- # filter. Null filter is commonly used inside a NOT filter expression. For
610
- # example, a NOT expression of a null filter removes rows when a dimension is
611
- # null.
612
- # Corresponds to the JSON property `nullFilter`
613
- # @return [Boolean]
614
- attr_accessor :null_filter
615
- alias_method :null_filter?, :null_filter
616
-
617
624
  # Filters for numeric or date values.
618
625
  # Corresponds to the JSON property `numericFilter`
619
626
  # @return [Google::Apis::AnalyticsdataV1alpha::NumericFilter]
@@ -633,7 +640,6 @@ module Google
633
640
  @between_filter = args[:between_filter] if args.key?(:between_filter)
634
641
  @field_name = args[:field_name] if args.key?(:field_name)
635
642
  @in_list_filter = args[:in_list_filter] if args.key?(:in_list_filter)
636
- @null_filter = args[:null_filter] if args.key?(:null_filter)
637
643
  @numeric_filter = args[:numeric_filter] if args.key?(:numeric_filter)
638
644
  @string_filter = args[:string_filter] if args.key?(:string_filter)
639
645
  end
@@ -1024,8 +1030,11 @@ module Google
1024
1030
  # @return [Array<String>]
1025
1031
  attr_accessor :field_names
1026
1032
 
1027
- # The number of rows to return in this pivot. If unspecified, 10 rows are
1028
- # returned. If -1, all rows are returned.
1033
+ # The number of rows to return in this pivot. The `limit` parameter is required.
1034
+ # A `limit` of 10,000 is common for single pivot requests. The product of the `
1035
+ # limit` for each `pivot` in a `RunPivotReportRequest` must not exceed 100,000.
1036
+ # For example, a two pivot request with `limit: 1000` in each pivot will fail
1037
+ # because the product is `1,000,000`.
1029
1038
  # Corresponds to the JSON property `limit`
1030
1039
  # @return [Fixnum]
1031
1040
  attr_accessor :limit
@@ -1092,9 +1101,9 @@ module Google
1092
1101
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::PivotDimensionHeader>]
1093
1102
  attr_accessor :pivot_dimension_headers
1094
1103
 
1095
- # The cardinality of the pivot as if offset = 0 and limit = -1. The total number
1096
- # of rows for this pivot's fields regardless of how the parameters offset and
1097
- # limit are specified in the request.
1104
+ # The cardinality of the pivot. The total number of rows for this pivot's fields
1105
+ # regardless of how the parameters `offset` and `limit` are specified in the
1106
+ # request.
1098
1107
  # Corresponds to the JSON property `rowCount`
1099
1108
  # @return [Fixnum]
1100
1109
  attr_accessor :row_count
@@ -1183,6 +1192,11 @@ module Google
1183
1192
  # @return [Google::Apis::AnalyticsdataV1alpha::QuotaStatus]
1184
1193
  attr_accessor :concurrent_requests
1185
1194
 
1195
+ # Current state for a particular quota group.
1196
+ # Corresponds to the JSON property `potentiallyThresholdedRequestsPerHour`
1197
+ # @return [Google::Apis::AnalyticsdataV1alpha::QuotaStatus]
1198
+ attr_accessor :potentially_thresholded_requests_per_hour
1199
+
1186
1200
  # Current state for a particular quota group.
1187
1201
  # Corresponds to the JSON property `serverErrorsPerProjectPerHour`
1188
1202
  # @return [Google::Apis::AnalyticsdataV1alpha::QuotaStatus]
@@ -1205,6 +1219,7 @@ module Google
1205
1219
  # Update properties of this object
1206
1220
  def update!(**args)
1207
1221
  @concurrent_requests = args[:concurrent_requests] if args.key?(:concurrent_requests)
1222
+ @potentially_thresholded_requests_per_hour = args[:potentially_thresholded_requests_per_hour] if args.key?(:potentially_thresholded_requests_per_hour)
1208
1223
  @server_errors_per_project_per_hour = args[:server_errors_per_project_per_hour] if args.key?(:server_errors_per_project_per_hour)
1209
1224
  @tokens_per_day = args[:tokens_per_day] if args.key?(:tokens_per_day)
1210
1225
  @tokens_per_hour = args[:tokens_per_hour] if args.key?(:tokens_per_hour)
@@ -1414,6 +1429,13 @@ module Google
1414
1429
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1415
1430
  attr_accessor :dimension_headers
1416
1431
 
1432
+ # Identifies what kind of resource this message is. This `kind` is always the
1433
+ # fixed string "analyticsData#runPivotReport". Useful to distinguish between
1434
+ # response types in JSON.
1435
+ # Corresponds to the JSON property `kind`
1436
+ # @return [String]
1437
+ attr_accessor :kind
1438
+
1417
1439
  # Response's metadata carrying additional information about the report content.
1418
1440
  # Corresponds to the JSON property `metadata`
1419
1441
  # @return [Google::Apis::AnalyticsdataV1alpha::ResponseMetaData]
@@ -1457,6 +1479,7 @@ module Google
1457
1479
  def update!(**args)
1458
1480
  @aggregates = args[:aggregates] if args.key?(:aggregates)
1459
1481
  @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1482
+ @kind = args[:kind] if args.key?(:kind)
1460
1483
  @metadata = args[:metadata] if args.key?(:metadata)
1461
1484
  @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
1462
1485
  @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers)
@@ -1480,8 +1503,9 @@ module Google
1480
1503
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::Dimension>]
1481
1504
  attr_accessor :dimensions
1482
1505
 
1483
- # The number of rows to return. If unspecified, 10 rows are returned. If -1, all
1484
- # rows are returned.
1506
+ # The number of rows to return. If the `limit` parameter is unspecified, 10,000
1507
+ # rows are returned. The API returns a maximum of 100,000 rows per request, no
1508
+ # matter how many you ask for.
1485
1509
  # Corresponds to the JSON property `limit`
1486
1510
  # @return [Fixnum]
1487
1511
  attr_accessor :limit
@@ -1542,6 +1566,13 @@ module Google
1542
1566
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1543
1567
  attr_accessor :dimension_headers
1544
1568
 
1569
+ # Identifies what kind of resource this message is. This `kind` is always the
1570
+ # fixed string "analyticsData#runRealtimeReport". Useful to distinguish between
1571
+ # response types in JSON.
1572
+ # Corresponds to the JSON property `kind`
1573
+ # @return [String]
1574
+ attr_accessor :kind
1575
+
1545
1576
  # If requested, the maximum values of metrics.
1546
1577
  # Corresponds to the JSON property `maximums`
1547
1578
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
@@ -1590,6 +1621,7 @@ module Google
1590
1621
  # Update properties of this object
1591
1622
  def update!(**args)
1592
1623
  @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1624
+ @kind = args[:kind] if args.key?(:kind)
1593
1625
  @maximums = args[:maximums] if args.key?(:maximums)
1594
1626
  @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
1595
1627
  @minimums = args[:minimums] if args.key?(:minimums)
@@ -1659,10 +1691,11 @@ module Google
1659
1691
  attr_accessor :keep_empty_rows
1660
1692
  alias_method :keep_empty_rows?, :keep_empty_rows
1661
1693
 
1662
- # The number of rows to return. If unspecified, 10 rows are returned. If -1, all
1663
- # rows are returned. To learn more about this pagination parameter, see [
1664
- # Pagination](https://developers.google.com/analytics/devguides/reporting/data/
1665
- # v1/basics#pagination).
1694
+ # The number of rows to return. If the `limit` parameter is unspecified, 10,000
1695
+ # rows are returned. The API returns a maximum of 100,000 rows per request, no
1696
+ # matter how many you ask for. To learn more about this pagination parameter,
1697
+ # see [Pagination](https://developers.google.com/analytics/devguides/reporting/
1698
+ # data/v1/basics#pagination).
1666
1699
  # Corresponds to the JSON property `limit`
1667
1700
  # @return [Fixnum]
1668
1701
  attr_accessor :limit
@@ -1736,6 +1769,13 @@ module Google
1736
1769
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1737
1770
  attr_accessor :dimension_headers
1738
1771
 
1772
+ # Identifies what kind of resource this message is. This `kind` is always the
1773
+ # fixed string "analyticsData#runReport". Useful to distinguish between response
1774
+ # types in JSON.
1775
+ # Corresponds to the JSON property `kind`
1776
+ # @return [String]
1777
+ attr_accessor :kind
1778
+
1739
1779
  # If requested, the maximum values of metrics.
1740
1780
  # Corresponds to the JSON property `maximums`
1741
1781
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
@@ -1791,6 +1831,7 @@ module Google
1791
1831
  # Update properties of this object
1792
1832
  def update!(**args)
1793
1833
  @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1834
+ @kind = args[:kind] if args.key?(:kind)
1794
1835
  @maximums = args[:maximums] if args.key?(:maximums)
1795
1836
  @metadata = args[:metadata] if args.key?(:metadata)
1796
1837
  @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AnalyticsdataV1alpha
18
18
  # Version of the google-apis-analyticsdata_v1alpha gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210105"
25
+ REVISION = "20210314"
26
26
  end
27
27
  end
28
28
  end
@@ -323,6 +323,7 @@ module Google
323
323
  class BatchRunPivotReportsResponse
324
324
  # @private
325
325
  class Representation < Google::Apis::Core::JsonRepresentation
326
+ property :kind, as: 'kind'
326
327
  collection :pivot_reports, as: 'pivotReports', class: Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse, decorator: Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse::Representation
327
328
 
328
329
  end
@@ -341,6 +342,7 @@ module Google
341
342
  class BatchRunReportsResponse
342
343
  # @private
343
344
  class Representation < Google::Apis::Core::JsonRepresentation
345
+ property :kind, as: 'kind'
344
346
  collection :reports, as: 'reports', class: Google::Apis::AnalyticsdataV1alpha::RunReportResponse, decorator: Google::Apis::AnalyticsdataV1alpha::RunReportResponse::Representation
345
347
 
346
348
  end
@@ -487,7 +489,6 @@ module Google
487
489
  property :field_name, as: 'fieldName'
488
490
  property :in_list_filter, as: 'inListFilter', class: Google::Apis::AnalyticsdataV1alpha::InListFilter, decorator: Google::Apis::AnalyticsdataV1alpha::InListFilter::Representation
489
491
 
490
- property :null_filter, as: 'nullFilter'
491
492
  property :numeric_filter, as: 'numericFilter', class: Google::Apis::AnalyticsdataV1alpha::NumericFilter, decorator: Google::Apis::AnalyticsdataV1alpha::NumericFilter::Representation
492
493
 
493
494
  property :string_filter, as: 'stringFilter', class: Google::Apis::AnalyticsdataV1alpha::StringFilter, decorator: Google::Apis::AnalyticsdataV1alpha::StringFilter::Representation
@@ -661,6 +662,8 @@ module Google
661
662
  class Representation < Google::Apis::Core::JsonRepresentation
662
663
  property :concurrent_requests, as: 'concurrentRequests', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
663
664
 
665
+ property :potentially_thresholded_requests_per_hour, as: 'potentiallyThresholdedRequestsPerHour', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
666
+
664
667
  property :server_errors_per_project_per_hour, as: 'serverErrorsPerProjectPerHour', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
665
668
 
666
669
  property :tokens_per_day, as: 'tokensPerDay', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
@@ -727,6 +730,7 @@ module Google
727
730
 
728
731
  collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
729
732
 
733
+ property :kind, as: 'kind'
730
734
  property :metadata, as: 'metadata', class: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData, decorator: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData::Representation
731
735
 
732
736
  collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsdataV1alpha::MetricHeader, decorator: Google::Apis::AnalyticsdataV1alpha::MetricHeader::Representation
@@ -764,6 +768,7 @@ module Google
764
768
  class Representation < Google::Apis::Core::JsonRepresentation
765
769
  collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
766
770
 
771
+ property :kind, as: 'kind'
767
772
  collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
768
773
 
769
774
  collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsdataV1alpha::MetricHeader, decorator: Google::Apis::AnalyticsdataV1alpha::MetricHeader::Representation
@@ -813,6 +818,7 @@ module Google
813
818
  class Representation < Google::Apis::Core::JsonRepresentation
814
819
  collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
815
820
 
821
+ property :kind, as: 'kind'
816
822
  collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
817
823
 
818
824
  property :metadata, as: 'metadata', class: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData, decorator: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticsdata_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsdata_v1alpha/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsdata_v1alpha/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsdata_v1alpha/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsdata_v1alpha
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Google Analytics Data API V1alpha