class Google::Apis::YoutubePartnerV1::Segment

Attributes

duration[RW]

The duration of the segment in milliseconds. Corresponds to the JSON property `duration` @return [Fixnum]

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 [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3740
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 3745
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