google-apis-versionhistory_v1 0.16.0 → 0.18.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: 638ff821e4ec3d467445e1f62efb8ceb5981e6ae082b98288c59a2ab7389711f
4
- data.tar.gz: 5a669ef59b37adb115085740c40cdc38015c93e4bc93938d503ff8351ba0e342
3
+ metadata.gz: eb359781c85582a0df8153ce96d8c053e137f3b7ab18e4a2273b77c5f35b0459
4
+ data.tar.gz: 7ae17fce61e9ed5ad8ffb60bc0cb0786858bd47b4d404d353f052062d3434e2c
5
5
  SHA512:
6
- metadata.gz: 4ed91404d49942072ac2659083e677d0561aa82f0089827bbb933d7dac2640fd94d424ddfdd84f611d87f39420afdc8e87aff94b8f7f4fb1bf61a08df01a1c58
7
- data.tar.gz: dc767838e4c4ab7003aad81d654cb4791a3fc2ebd3b5f95753970a31ac4e0d3705c31ca2dc127de32a93ed2c22503387e675b3fa0f639e60f6658b4c5d48b255
6
+ metadata.gz: 33ffd5b324c640170b0b81c9315bd7e3251b99b2408ab3b6253fbd29b3b46f19246ff3ff3e64243bb0baa902125c0ae9f3c36d6c5af8dd019b08b0af66e13427
7
+ data.tar.gz: 4801080dbc8c50cff92e4913316ebdcb55e673aad220e6443a117f1f66f3bd5a94d63c5ba9fff838714646cc0b1ce936025789ca06a0e69b1032ed751cfcf5cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-versionhistory_v1
2
2
 
3
+ ### v0.18.0 (2025-08-17)
4
+
5
+ * Regenerated from discovery document revision 20250810
6
+
7
+ ### v0.17.0 (2025-06-08)
8
+
9
+ * Regenerated from discovery document revision 20250601
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.16.0 (2025-05-04)
4
13
 
5
14
  * Regenerated using generator version 0.17.0
data/OVERVIEW.md CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation](https://developers.chrome.com/versionhistory) may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://developer.chrome.com/docs/web-platform/versionhistory/guide) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
@@ -244,6 +244,13 @@ module Google
244
244
  attr_accessor :pinnable
245
245
  alias_method :pinnable?, :pinnable
246
246
 
247
+ # Rollout-related metadata. Some releases are part of one or more A/B rollouts.
248
+ # This field contains the names and data describing this release's role in any
249
+ # rollouts.
250
+ # Corresponds to the JSON property `rolloutData`
251
+ # @return [Array<Google::Apis::VersionhistoryV1::RolloutData>]
252
+ attr_accessor :rollout_data
253
+
247
254
  # Represents a time interval, encoded as a Timestamp start (inclusive) and a
248
255
  # Timestamp end (exclusive). The start must be less than or equal to the end.
249
256
  # When the start equals the end, the interval is empty (matches no time). When
@@ -267,11 +274,39 @@ module Google
267
274
  @fraction_group = args[:fraction_group] if args.key?(:fraction_group)
268
275
  @name = args[:name] if args.key?(:name)
269
276
  @pinnable = args[:pinnable] if args.key?(:pinnable)
277
+ @rollout_data = args[:rollout_data] if args.key?(:rollout_data)
270
278
  @serving = args[:serving] if args.key?(:serving)
271
279
  @version = args[:version] if args.key?(:version)
272
280
  end
273
281
  end
274
282
 
283
+ # Rollout-related metadata for a release.
284
+ class RolloutData
285
+ include Google::Apis::Core::Hashable
286
+
287
+ # The name of the rollout.
288
+ # Corresponds to the JSON property `rolloutName`
289
+ # @return [String]
290
+ attr_accessor :rollout_name
291
+
292
+ # Tags associated with a release's role in a rollout. Most rollouts will have at
293
+ # least one release with a "rollout" tag and another release with a "control"
294
+ # tag. Some rollouts may have additional named arms.
295
+ # Corresponds to the JSON property `tag`
296
+ # @return [Array<String>]
297
+ attr_accessor :tag
298
+
299
+ def initialize(**args)
300
+ update!(**args)
301
+ end
302
+
303
+ # Update properties of this object
304
+ def update!(**args)
305
+ @rollout_name = args[:rollout_name] if args.key?(:rollout_name)
306
+ @tag = args[:tag] if args.key?(:tag)
307
+ end
308
+ end
309
+
275
310
  # Each Version is owned by a Channel. A Version only displays the Version number
276
311
  # (e.g. 84.0.4147.38). A Version owns a collection of releases.
277
312
  class Version
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VersionhistoryV1
18
18
  # Version of the google-apis-versionhistory_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240528"
25
+ REVISION = "20250810"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class RolloutData
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class Version
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -143,12 +149,22 @@ module Google
143
149
  property :fraction_group, :numeric_string => true, as: 'fractionGroup'
144
150
  property :name, as: 'name'
145
151
  property :pinnable, as: 'pinnable'
152
+ collection :rollout_data, as: 'rolloutData', class: Google::Apis::VersionhistoryV1::RolloutData, decorator: Google::Apis::VersionhistoryV1::RolloutData::Representation
153
+
146
154
  property :serving, as: 'serving', class: Google::Apis::VersionhistoryV1::Interval, decorator: Google::Apis::VersionhistoryV1::Interval::Representation
147
155
 
148
156
  property :version, as: 'version'
149
157
  end
150
158
  end
151
159
 
160
+ class RolloutData
161
+ # @private
162
+ class Representation < Google::Apis::Core::JsonRepresentation
163
+ property :rollout_name, as: 'rolloutName'
164
+ collection :tag, as: 'tag'
165
+ end
166
+ end
167
+
152
168
  class Version
153
169
  # @private
154
170
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -30,7 +30,7 @@ module Google
30
30
  # Versionhistory = Google::Apis::VersionhistoryV1 # Alias the module
31
31
  # service = Versionhistory::VersionHistoryService.new
32
32
  #
33
- # @see https://developers.chrome.com/versionhistory
33
+ # @see https://developer.chrome.com/docs/web-platform/versionhistory/guide
34
34
  class VersionHistoryService < Google::Apis::Core::BaseService
35
35
  DEFAULT_ENDPOINT_TEMPLATE = "https://versionhistory.$UNIVERSE_DOMAIN$/"
36
36
 
@@ -23,7 +23,7 @@ module Google
23
23
  #
24
24
  # Version History API - Prod
25
25
  #
26
- # @see https://developers.chrome.com/versionhistory
26
+ # @see https://developer.chrome.com/docs/web-platform/versionhistory/guide
27
27
  module VersionhistoryV1
28
28
  # Version of the versionhistory.googleapis.com API this client connects to.
29
29
  # This is NOT the gem version.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-versionhistory_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-versionhistory_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-versionhistory_v1/v0.16.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-versionhistory_v1/v0.18.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-versionhistory_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for versionhistory.googleapis.com API V1
79
79
  test_files: []