class Google::Apis::YoutubePartnerV1::MatchSegment

Attributes

channel[RW]

Identifies the manner in which the claimed video matches the reference video. Corresponds to the JSON property `channel` @return [String]

manual_segment[RW]

On insert operation of manual claims, the manual_segment object contains information about the specific portion of the video that is claimed to be matching. Corresponds to the JSON property `manual_segment` @return [Google::Apis::YoutubePartnerV1::Segment2]

reference_segment[RW]

The reference_segment object contains information about the matched portion of the reference content. Corresponds to the JSON property `reference_segment` @return [Google::Apis::YoutubePartnerV1::Segment]

video_segment[RW]

The video_segment object contains information about the matched portion of the claimed video. Corresponds to the JSON property `video_segment` @return [Google::Apis::YoutubePartnerV1::Segment]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 2004
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 2009
def update!(**args)
  @channel = args[:channel] if args.key?(:channel)
  @manual_segment = args[:manual_segment] if args.key?(:manual_segment)
  @reference_segment = args[:reference_segment] if args.key?(:reference_segment)
  @video_segment = args[:video_segment] if args.key?(:video_segment)
end