class Google::Apis::YoutubePartnerV1::Segment
Attributes
duration[RW]
The duration of the segment in milliseconds. Corresponds to the JSON property `duration` @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 generated/google/apis/youtube_partner_v1/classes.rb, line 3286 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_partner_v1/classes.rb, line 3291 def update!(**args) @duration = args[:duration] if args.key?(:duration) @kind = args[:kind] if args.key?(:kind) @start = args[:start] if args.key?(:start) end