class Google::Apis::YoutubeV3::LiveChatNewSponsorDetails
Attributes
is_upgrade[RW]
If the viewer just had upgraded from a lower level. For viewers that were not members at the time of purchase, this field is false. Corresponds to the JSON property `isUpgrade` @return [Boolean]
is_upgrade?[RW]
If the viewer just had upgraded from a lower level. For viewers that were not members at the time of purchase, this field is false. Corresponds to the JSON property `isUpgrade` @return [Boolean]
member_level_name[RW]
The name of the Level that the viewer just had joined. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled. Corresponds to the JSON property `memberLevelName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 4594 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 4599 def update!(**args) @is_upgrade = args[:is_upgrade] if args.key?(:is_upgrade) @member_level_name = args[:member_level_name] if args.key?(:member_level_name) end