class Google::Apis::VersionhistoryV1::Channel

Each Channel is owned by a Platform and owns a collection of versions. Possible Channels are listed in the Channel enum below. Not all Channels are available for every Platform (e.g. CANARY does not exist for LINUX).

Attributes

channel_type[RW]

Type of channel. Corresponds to the JSON property ‘channelType` @return [String]

name[RW]

Channel name. Format is “‘product`/platforms/`platform`/channels/`channel`” Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/versionhistory_v1/classes.rb, line 41
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 46
def update!(**args)
  @channel_type = args[:channel_type] if args.key?(:channel_type)
  @name = args[:name] if args.key?(:name)
end