class Google::Apis::YoutubePartnerV1::Segment2
Attributes
finish[RW]
The finish time of the segment, measured in milliseconds from the beginning. Corresponds to the JSON property `finish` @return [String]
kind[RW]
The type of the API resource. For segment resources, the value is youtubePartner#segment. Corresponds to the JSON property `kind` @return [String]
start[RW]
The start time of the segment, measured in milliseconds from the beginning. Corresponds to the JSON property `start` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3772 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_partner_v1/classes.rb, line 3777 def update!(**args) @finish = args[:finish] if args.key?(:finish) @kind = args[:kind] if args.key?(:kind) @start = args[:start] if args.key?(:start) end