google-apis-chromeuxreport_v1 0.20.0 → 0.21.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: c8629d940eaa407994b60ceb0e3385ddc7d32a373c3b4a970d5936f6783dd141
4
- data.tar.gz: 7b9820855598ffdb69639970c4ececd8f352c85fc3eefe8726aaa65d013a8e70
3
+ metadata.gz: 749b0e22f1f8b85a45f1d53c7196a7d77310e7668c05147c442a21deb13c3705
4
+ data.tar.gz: b5cab47a4b4607b880a98960cd497365e35125e3bf3fabb8089dfaab9c7ad414
5
5
  SHA512:
6
- metadata.gz: d9ea949da478754719bf5ad76b5a56f4444cdefd68d82dc84dce64a27b3e5750907f74db5552052deb143cea38e27ab4e7f26e98254a206267dffbde038bc791
7
- data.tar.gz: ccd7586bd2361c54f0d20bcd376f4fc73e969dee6da1b374cfa45a6892f2eeaf49c366c9b7be97c9b56dc4f144ddcb317486a70c04731a5eb8d0c76de4f54132
6
+ metadata.gz: f82a1b1556ce03b82aae99cfadb6278eac7810228349f6daf90cb2794c646f96272948a6c778cf7e367198878e0fa76a7c4f4a35345c99bd6967891bb6fde6c8
7
+ data.tar.gz: d1326d0e9aeb706b1afd37903eb12aad54222391736cea2d9af86328c4c99062be543b0ee319437d12bb49e0d1ed9c6483351357ae770a9110d10ee7d8c5a330
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromeuxreport_v1
2
2
 
3
+ ### v0.21.0 (2024-01-07)
4
+
5
+ * Regenerated from discovery document revision 20240102
6
+
3
7
  ### v0.20.0 (2023-11-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20231030
@@ -141,6 +141,27 @@ module Google
141
141
  end
142
142
  end
143
143
 
144
+ # For enum metrics, provides fraction timeseries which add up to approximately 1.
145
+ # 0 per entry (k-th element into the repeated fractions field for any k <= len)
146
+ # across fraction_timeseries.
147
+ class FractionTimeseries
148
+ include Google::Apis::Core::Hashable
149
+
150
+ # Values between 0.0 and 1.0 (inclusive) and NaN.
151
+ # Corresponds to the JSON property `fractions`
152
+ # @return [Array<Float>]
153
+ attr_accessor :fractions
154
+
155
+ def initialize(**args)
156
+ update!(**args)
157
+ end
158
+
159
+ # Update properties of this object
160
+ def update!(**args)
161
+ @fractions = args[:fractions] if args.key?(:fractions)
162
+ end
163
+ end
164
+
144
165
  # Key defines all the dimensions that identify this record as unique.
145
166
  class HistoryKey
146
167
  include Google::Apis::Core::Hashable
@@ -307,6 +328,11 @@ module Google
307
328
  class MetricTimeseries
308
329
  include Google::Apis::Core::Hashable
309
330
 
331
+ # Mapping from labels to timeseries of fractions attributed to this label.
332
+ # Corresponds to the JSON property `fractionTimeseries`
333
+ # @return [Hash<String,Google::Apis::ChromeuxreportV1::FractionTimeseries>]
334
+ attr_accessor :fraction_timeseries
335
+
310
336
  # The histogram of user experiences for a metric. The histogram will have at
311
337
  # least one bin and the densities of all bins will add up to ~1, for each
312
338
  # timeseries entry.
@@ -327,6 +353,7 @@ module Google
327
353
 
328
354
  # Update properties of this object
329
355
  def update!(**args)
356
+ @fraction_timeseries = args[:fraction_timeseries] if args.key?(:fraction_timeseries)
330
357
  @histogram_timeseries = args[:histogram_timeseries] if args.key?(:histogram_timeseries)
331
358
  @percentiles_timeseries = args[:percentiles_timeseries] if args.key?(:percentiles_timeseries)
332
359
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChromeuxreportV1
18
18
  # Version of the google-apis-chromeuxreport_v1 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231030"
25
+ REVISION = "20240102"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class FractionTimeseries
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class HistoryKey
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -152,6 +158,13 @@ module Google
152
158
  end
153
159
  end
154
160
 
161
+ class FractionTimeseries
162
+ # @private
163
+ class Representation < Google::Apis::Core::JsonRepresentation
164
+ collection :fractions, as: 'fractions'
165
+ end
166
+ end
167
+
155
168
  class HistoryKey
156
169
  # @private
157
170
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -197,6 +210,8 @@ module Google
197
210
  class MetricTimeseries
198
211
  # @private
199
212
  class Representation < Google::Apis::Core::JsonRepresentation
213
+ hash :fraction_timeseries, as: 'fractionTimeseries', class: Google::Apis::ChromeuxreportV1::FractionTimeseries, decorator: Google::Apis::ChromeuxreportV1::FractionTimeseries::Representation
214
+
200
215
  collection :histogram_timeseries, as: 'histogramTimeseries', class: Google::Apis::ChromeuxreportV1::TimeseriesBin, decorator: Google::Apis::ChromeuxreportV1::TimeseriesBin::Representation
201
216
 
202
217
  property :percentiles_timeseries, as: 'percentilesTimeseries', class: Google::Apis::ChromeuxreportV1::TimeseriesPercentiles, decorator: Google::Apis::ChromeuxreportV1::TimeseriesPercentiles::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromeuxreport_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.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: 2023-11-05 00:00:00.000000000 Z
11
+ date: 2024-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-chromeuxreport_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromeuxreport_v1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromeuxreport_v1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromeuxreport_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Chrome UX Report API V1