google-apis-analyticsdata_v1alpha 0.5.0 → 0.7.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: 6948ac8f0fa44f5a2494c06edeca8318b78bef42b0583bf3b465eb46e4118d74
4
- data.tar.gz: 156c1a4d707250581f6042d8f826ae3e00eca3e542f126fcd7d771344b37b8a3
3
+ metadata.gz: cc75fbcdcea1fc88f81f8f440233b33f5bd920102f692053393bf1bb65f1ceae
4
+ data.tar.gz: 8ef7c126c0135b01a1500c9a18a6670ea7aaff9e53dac8de0c86b069df02b1c9
5
5
  SHA512:
6
- metadata.gz: d5c972fbfcea22c9302f9b6436dc4e1767fcd5a07ed631b9d5853af6f5fbb02faee58eb2d2bba6b0ec94ab22944967dd2e10b57b88921a789005b06b3f288cdc
7
- data.tar.gz: 1d9446739d6237168c01f497f0114526f3e8cc218b3edf8f2c6d757cae8efaacb962730c0595f599e1dd5625cac8e69b30c570a07909bf27c5395d557e9e4152
6
+ metadata.gz: d591e5c1cf3d8bfc7bbfe8c591002e3de8a07de2807254face63446012dc9bd60efdeac7bedf586dd021506a84c5eef9aa2663b91c80abc7a6ec2b51611320b4
7
+ data.tar.gz: 6c4baad861cdefac6d17ede4584db42d2f5bac2b494c2be9826d669b214b1c0cba7f35e2b70cacdf55d7409a1c0be03356cf76003e8fdca540eb1d6a42a64d8a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticsdata_v1alpha
2
2
 
3
+ ### v0.7.0 (2026-12-04)
4
+
5
+ * Regenerated using generator version 0.19.3
6
+
7
+ ### v0.6.0 (2021-03-17)
8
+
9
+ * Regenerated from discovery document revision 20210314
10
+
3
11
  ### v0.5.0 (2021-03-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20210308
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/analyticsdata_v1alpha"
51
51
  client = Google::Apis::AnalyticsdataV1alpha::AnalyticsDataService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Analyticsdata service in particular.)
67
67
 
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/analytics/devguides/re
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions as described in the [Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) policy. Older versions of Ruby _may_ still work, but are unsupported and not recommended.
89
89
 
90
90
  ## License
91
91
 
@@ -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
@@ -1014,11 +1030,11 @@ module Google
1014
1030
  # @return [Array<String>]
1015
1031
  attr_accessor :field_names
1016
1032
 
1017
- # The number of rows to return in this pivot. If the `limit` parameter is
1018
- # unspecified, up to 10,000 rows are returned. The product of the `limit` for
1019
- # each `pivot` in a `RunPivotReportRequest` must not exceed 100,000. For example,
1020
- # a two pivot request with `limit: 1000` in each pivot will fail because the
1021
- # product is `1,000,000`.
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`.
1022
1038
  # Corresponds to the JSON property `limit`
1023
1039
  # @return [Fixnum]
1024
1040
  attr_accessor :limit
@@ -1176,6 +1192,11 @@ module Google
1176
1192
  # @return [Google::Apis::AnalyticsdataV1alpha::QuotaStatus]
1177
1193
  attr_accessor :concurrent_requests
1178
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
+
1179
1200
  # Current state for a particular quota group.
1180
1201
  # Corresponds to the JSON property `serverErrorsPerProjectPerHour`
1181
1202
  # @return [Google::Apis::AnalyticsdataV1alpha::QuotaStatus]
@@ -1198,6 +1219,7 @@ module Google
1198
1219
  # Update properties of this object
1199
1220
  def update!(**args)
1200
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)
1201
1223
  @server_errors_per_project_per_hour = args[:server_errors_per_project_per_hour] if args.key?(:server_errors_per_project_per_hour)
1202
1224
  @tokens_per_day = args[:tokens_per_day] if args.key?(:tokens_per_day)
1203
1225
  @tokens_per_hour = args[:tokens_per_hour] if args.key?(:tokens_per_hour)
@@ -1407,6 +1429,13 @@ module Google
1407
1429
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1408
1430
  attr_accessor :dimension_headers
1409
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
+
1410
1439
  # Response's metadata carrying additional information about the report content.
1411
1440
  # Corresponds to the JSON property `metadata`
1412
1441
  # @return [Google::Apis::AnalyticsdataV1alpha::ResponseMetaData]
@@ -1450,6 +1479,7 @@ module Google
1450
1479
  def update!(**args)
1451
1480
  @aggregates = args[:aggregates] if args.key?(:aggregates)
1452
1481
  @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1482
+ @kind = args[:kind] if args.key?(:kind)
1453
1483
  @metadata = args[:metadata] if args.key?(:metadata)
1454
1484
  @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
1455
1485
  @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers)
@@ -1536,6 +1566,13 @@ module Google
1536
1566
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1537
1567
  attr_accessor :dimension_headers
1538
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
+
1539
1576
  # If requested, the maximum values of metrics.
1540
1577
  # Corresponds to the JSON property `maximums`
1541
1578
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
@@ -1584,6 +1621,7 @@ module Google
1584
1621
  # Update properties of this object
1585
1622
  def update!(**args)
1586
1623
  @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1624
+ @kind = args[:kind] if args.key?(:kind)
1587
1625
  @maximums = args[:maximums] if args.key?(:maximums)
1588
1626
  @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
1589
1627
  @minimums = args[:minimums] if args.key?(:minimums)
@@ -1731,6 +1769,13 @@ module Google
1731
1769
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1732
1770
  attr_accessor :dimension_headers
1733
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
+
1734
1779
  # If requested, the maximum values of metrics.
1735
1780
  # Corresponds to the JSON property `maximums`
1736
1781
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
@@ -1786,6 +1831,7 @@ module Google
1786
1831
  # Update properties of this object
1787
1832
  def update!(**args)
1788
1833
  @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1834
+ @kind = args[:kind] if args.key?(:kind)
1789
1835
  @maximums = args[:maximums] if args.key?(:maximums)
1790
1836
  @metadata = args[:metadata] if args.key?(:metadata)
1791
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.5.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.19.3"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210308"
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
@@ -660,6 +662,8 @@ module Google
660
662
  class Representation < Google::Apis::Core::JsonRepresentation
661
663
  property :concurrent_requests, as: 'concurrentRequests', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
662
664
 
665
+ property :potentially_thresholded_requests_per_hour, as: 'potentiallyThresholdedRequestsPerHour', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
666
+
663
667
  property :server_errors_per_project_per_hour, as: 'serverErrorsPerProjectPerHour', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
664
668
 
665
669
  property :tokens_per_day, as: 'tokensPerDay', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
@@ -726,6 +730,7 @@ module Google
726
730
 
727
731
  collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
728
732
 
733
+ property :kind, as: 'kind'
729
734
  property :metadata, as: 'metadata', class: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData, decorator: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData::Representation
730
735
 
731
736
  collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsdataV1alpha::MetricHeader, decorator: Google::Apis::AnalyticsdataV1alpha::MetricHeader::Representation
@@ -763,6 +768,7 @@ module Google
763
768
  class Representation < Google::Apis::Core::JsonRepresentation
764
769
  collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
765
770
 
771
+ property :kind, as: 'kind'
766
772
  collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
767
773
 
768
774
  collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsdataV1alpha::MetricHeader, decorator: Google::Apis::AnalyticsdataV1alpha::MetricHeader::Representation
@@ -812,6 +818,7 @@ module Google
812
818
  class Representation < Google::Apis::Core::JsonRepresentation
813
819
  collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
814
820
 
821
+ property :kind, as: 'kind'
815
822
  collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
816
823
 
817
824
  property :metadata, as: 'metadata', class: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData, decorator: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData::Representation
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://developers.google.com/analytics/devguides/reporting/data/v1/
34
34
  class AnalyticsDataService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://analyticsdata.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://analyticsdata.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-analyticsdata_v1alpha',
48
50
  client_version: Google::Apis::AnalyticsdataV1alpha::GEM_VERSION)
49
51
  @batch_path = 'batch'
metadata CHANGED
@@ -1,29 +1,34 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticsdata_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - "~>"
16
+ - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '0.1'
18
+ version: 0.15.0
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: 2.a
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
23
25
  requirements:
24
- - - "~>"
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 0.15.0
29
+ - - "<"
25
30
  - !ruby/object:Gem::Version
26
- version: '0.1'
31
+ version: 2.a
27
32
  description: This is the simple REST client for Google Analytics Data API V1alpha.
28
33
  Simple REST clients are Ruby client libraries that provide access to Google services
29
34
  via their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -51,10 +56,9 @@ licenses:
51
56
  - Apache-2.0
52
57
  metadata:
53
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
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.5.0
56
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsdata_v1alpha
57
- post_install_message:
59
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsdata_v1alpha/CHANGELOG.md
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsdata_v1alpha/v0.7.0
61
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsdata_v1alpha
58
62
  rdoc_options: []
59
63
  require_paths:
60
64
  - lib
@@ -62,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
66
  requirements:
63
67
  - - ">="
64
68
  - !ruby/object:Gem::Version
65
- version: '2.5'
69
+ version: '3.2'
66
70
  required_rubygems_version: !ruby/object:Gem::Requirement
67
71
  requirements:
68
72
  - - ">="
69
73
  - !ruby/object:Gem::Version
70
74
  version: '0'
71
75
  requirements: []
72
- rubygems_version: 3.2.13
73
- signing_key:
76
+ rubygems_version: 3.6.9
74
77
  specification_version: 4
75
78
  summary: Simple REST client for Google Analytics Data API V1alpha
76
79
  test_files: []