class Google::Apis::YoutubeV3::SponsorSnippet
Attributes
channel_id[RW]
The id of the channel being sponsored. Corresponds to the JSON property `channelId` @return [String]
sponsor_details[RW]
Details about the sponsor. Corresponds to the JSON property `sponsorDetails` @return [Google::Apis::YoutubeV3::ChannelProfileDetails]
sponsor_since[RW]
The date and time when the user became a sponsor. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. Corresponds to the JSON property `sponsorSince` @return [DateTime]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 6208 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 6213 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @sponsor_details = args[:sponsor_details] if args.key?(:sponsor_details) @sponsor_since = args[:sponsor_since] if args.key?(:sponsor_since) end