class Google::Apis::VersionhistoryV1::Platform
Each Platform
is owned by a Product and owns a collection of channels. Available platforms are listed in Platform
enum below. Not all Channels are available for every Platform
(e.g. CANARY does not exist for LINUX).
Attributes
name[RW]
Platform
name. Format is “‘product`/platforms/`platform`” Corresponds to the JSON property `name` @return [String]
platform_type[RW]
Type of platform. Corresponds to the JSON property ‘platformType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/versionhistory_v1/classes.rb, line 202 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 207 def update!(**args) @name = args[:name] if args.key?(:name) @platform_type = args[:platform_type] if args.key?(:platform_type) end