google-apis-chromeuxreport_v1 0.20.0 → 0.22.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: c8629d940eaa407994b60ceb0e3385ddc7d32a373c3b4a970d5936f6783dd141
4
- data.tar.gz: 7b9820855598ffdb69639970c4ececd8f352c85fc3eefe8726aaa65d013a8e70
3
+ metadata.gz: 7ca5173f5187ae99a95076aa65b00da905de837771c9780a8f8ae71eb22aaa16
4
+ data.tar.gz: b3283b932f3dd80dfa6f1d32d32335bcbf28b96943832ee72ce4e2aa2aacb1de
5
5
  SHA512:
6
- metadata.gz: d9ea949da478754719bf5ad76b5a56f4444cdefd68d82dc84dce64a27b3e5750907f74db5552052deb143cea38e27ab4e7f26e98254a206267dffbde038bc791
7
- data.tar.gz: ccd7586bd2361c54f0d20bcd376f4fc73e969dee6da1b374cfa45a6892f2eeaf49c366c9b7be97c9b56dc4f144ddcb317486a70c04731a5eb8d0c76de4f54132
6
+ metadata.gz: 5bf4953e7fd3773305ab3bc655919649a0186074691cb3c715075f19910641396f31f2ae0422e5ad024a322d5e33e25930df1f0d48b33ffe0f978ccadb376789
7
+ data.tar.gz: 3f49860232447ac43a3d242da76adf8936185f5e4260636474db214752ce359c3bf3ed6d0179761b3b04d4a776e5de52d84f9d759cf89817cf713afdbc434dd2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chromeuxreport_v1
2
2
 
3
+ ### v0.22.0 (2024-01-22)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.21.0 (2024-01-07)
8
+
9
+ * Regenerated from discovery document revision 20240102
10
+
3
11
  ### v0.20.0 (2023-11-05)
4
12
 
5
13
  * 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.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.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
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://developers.google.com/web/tools/chrome-user-experience-report/api/reference
35
35
  class ChromeUXReportService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://chromeuxreport.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://chromeuxreport.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-chromeuxreport_v1',
49
51
  client_version: Google::Apis::ChromeuxreportV1::GEM_VERSION)
50
52
  @batch_path = 'batch'
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.22.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-23 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.11.0
19
+ version: 0.12.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.11.0
29
+ version: 0.12.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-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.22.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