google-apis-versionhistory_v1 0.17.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb359781c85582a0df8153ce96d8c053e137f3b7ab18e4a2273b77c5f35b0459
|
4
|
+
data.tar.gz: 7ae17fce61e9ed5ad8ffb60bc0cb0786858bd47b4d404d353f052062d3434e2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33ffd5b324c640170b0b81c9315bd7e3251b99b2408ab3b6253fbd29b3b46f19246ff3ff3e64243bb0baa902125c0ae9f3c36d6c5af8dd019b08b0af66e13427
|
7
|
+
data.tar.gz: 4801080dbc8c50cff92e4913316ebdcb55e673aad220e6443a117f1f66f3bd5a94d63c5ba9fff838714646cc0b1ce936025789ca06a0e69b1032ed751cfcf5cf
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
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.
|
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.
|
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:
|