class Google::Apis::VersionhistoryV1::Release
A Release
is owned by a Version
. A Release
contains information about the release(s) of its parent version. This includes when the release began and ended, as well as what percentage it was released at. If the version is released again, or if the serving percentage changes, it will create another release under the version.
Attributes
Rollout fraction. This fraction indicates the fraction of people that should receive this version in this release. If the fraction is not specified in ReleaseManager, the API will assume fraction is 1. Corresponds to the JSON property ‘fraction` @return [Float]
Rollout fraction group. Only fractions with the same fraction_group
are statistically comparable: there may be non-fractional differences between different fraction groups. Corresponds to the JSON property ‘fractionGroup` @return [Fixnum]
Release
name. Format is “‘product`/platforms/`platform`/channels/`channel`/ versions/`version`/releases/`release`” Corresponds to the JSON property `name` @return [String]
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Corresponds to the JSON property ‘serving` @return [Google::Apis::VersionhistoryV1::Interval]
String containing just the version number. e.g. “84.0.4147.38” Corresponds to the JSON property ‘version` @return [String]
Public Class Methods
# File lib/google/apis/versionhistory_v1/classes.rb, line 254 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/versionhistory_v1/classes.rb, line 259 def update!(**args) @fraction = args[:fraction] if args.key?(:fraction) @fraction_group = args[:fraction_group] if args.key?(:fraction_group) @name = args[:name] if args.key?(:name) @serving = args[:serving] if args.key?(:serving) @version = args[:version] if args.key?(:version) end