google-apis-chromeuxreport_v1 0.19.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: bb0366bedd3485eaae541ac0530ebe62d0075d2c918c31bb7370c62472c3c94a
4
- data.tar.gz: 45e275fb8f36cd1532d04f06f6333553581438c866f23c0c510504807350107e
3
+ metadata.gz: 749b0e22f1f8b85a45f1d53c7196a7d77310e7668c05147c442a21deb13c3705
4
+ data.tar.gz: b5cab47a4b4607b880a98960cd497365e35125e3bf3fabb8089dfaab9c7ad414
5
5
  SHA512:
6
- metadata.gz: 1dd543076f8c8ded549db8ada2c532b2ee971b6202508c95b80010586244c3e551c02ed904cfc03cbdf74f7c4347606d8bb5be2ac0fbcd4fc982761c9a47ea6b
7
- data.tar.gz: a8606a8bf44e6560550f1fc722fa7d1c1133bbe7774cab54e4b716e4ac5cb8cbfdf65399eec7f8adab40d9c0464c293ebb1dc18b57e442e6c5310d2ca187ff3d
6
+ metadata.gz: f82a1b1556ce03b82aae99cfadb6278eac7810228349f6daf90cb2794c646f96272948a6c778cf7e367198878e0fa76a7c4f4a35345c99bd6967891bb6fde6c8
7
+ data.tar.gz: d1326d0e9aeb706b1afd37903eb12aad54222391736cea2d9af86328c4c99062be543b0ee319437d12bb49e0d1ed9c6483351357ae770a9110d10ee7d8c5a330
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.20.0 (2023-11-05)
8
+
9
+ * Regenerated from discovery document revision 20231030
10
+
3
11
  ### v0.19.0 (2023-03-05)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -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
@@ -270,6 +291,11 @@ module Google
270
291
  class Metric
271
292
  include Google::Apis::Core::Hashable
272
293
 
294
+ # For enum metrics, provides fractions which add up to approximately 1.0.
295
+ # Corresponds to the JSON property `fractions`
296
+ # @return [Hash<String,Float>]
297
+ attr_accessor :fractions
298
+
273
299
  # The histogram of user experiences for a metric. The histogram will have at
274
300
  # least one bin and the densities of all bins will add up to ~1.
275
301
  # Corresponds to the JSON property `histogram`
@@ -289,6 +315,7 @@ module Google
289
315
 
290
316
  # Update properties of this object
291
317
  def update!(**args)
318
+ @fractions = args[:fractions] if args.key?(:fractions)
292
319
  @histogram = args[:histogram] if args.key?(:histogram)
293
320
  @percentiles = args[:percentiles] if args.key?(:percentiles)
294
321
  end
@@ -301,6 +328,11 @@ module Google
301
328
  class MetricTimeseries
302
329
  include Google::Apis::Core::Hashable
303
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
+
304
336
  # The histogram of user experiences for a metric. The histogram will have at
305
337
  # least one bin and the densities of all bins will add up to ~1, for each
306
338
  # timeseries entry.
@@ -321,6 +353,7 @@ module Google
321
353
 
322
354
  # Update properties of this object
323
355
  def update!(**args)
356
+ @fraction_timeseries = args[:fraction_timeseries] if args.key?(:fraction_timeseries)
324
357
  @histogram_timeseries = args[:histogram_timeseries] if args.key?(:histogram_timeseries)
325
358
  @percentiles_timeseries = args[:percentiles_timeseries] if args.key?(:percentiles_timeseries)
326
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.19.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 = "20230206"
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
@@ -186,6 +199,7 @@ module Google
186
199
  class Metric
187
200
  # @private
188
201
  class Representation < Google::Apis::Core::JsonRepresentation
202
+ hash :fractions, as: 'fractions'
189
203
  collection :histogram, as: 'histogram', class: Google::Apis::ChromeuxreportV1::Bin, decorator: Google::Apis::ChromeuxreportV1::Bin::Representation
190
204
 
191
205
  property :percentiles, as: 'percentiles', class: Google::Apis::ChromeuxreportV1::Percentiles, decorator: Google::Apis::ChromeuxreportV1::Percentiles::Representation
@@ -196,6 +210,8 @@ module Google
196
210
  class MetricTimeseries
197
211
  # @private
198
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
+
199
215
  collection :histogram_timeseries, as: 'histogramTimeseries', class: Google::Apis::ChromeuxreportV1::TimeseriesBin, decorator: Google::Apis::ChromeuxreportV1::TimeseriesBin::Representation
200
216
 
201
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.19.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-03-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.19.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.2
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