class Google::Apis::VersionhistoryV1::Version
Each Version
is owned by a Channel
. A Version
only displays the Version
number (e.g. 84.0.4147.38). A Version
owns a collection of releases.
Attributes
name[RW]
Version
name. Format is “‘product`/platforms/`platform`/channels/`channel`/ versions/`version`” e.g. “chrome/platforms/win/channels/beta/versions/84.0. 4147.38” Corresponds to the JSON property `name` @return [String]
version[RW]
String containing just the version number. e.g. “84.0.4147.38” Corresponds to the JSON property ‘version` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/versionhistory_v1/classes.rb, line 285 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/versionhistory_v1/classes.rb, line 290 def update!(**args) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end