class Google::Apis::YoutubePartnerV1::Claim::MatchInfo

If this claim was auto-generated based on a provided reference, this section will provide details of the match that generated the claim.

Attributes

longest_match[RW]

Details of the longest match between the reference and the user video. Corresponds to the JSON property `longestMatch` @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch]

match_segments[RW]

Details about each match segment. Each item in the list contains information about one match segment associated with the claim. It is possible to have multiple match segments. For example, if the audio and video content of an uploaded video match that of a reference video, there would be two match segments. One segment would describe the audio match and the other would describe the video match. Corresponds to the JSON property `matchSegments` @return [Array<Google::Apis::YoutubePartnerV1::MatchSegment>]

reference_id[RW]

The reference ID that generated this match. Corresponds to the JSON property `referenceId` @return [String]

total_match[RW]

Details of the total amount of reference and user video content which matched each other. Note these two values may differ if either the reference or the user video contains a loop. Corresponds to the JSON property `totalMatch` @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 857
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 862
def update!(**args)
  @longest_match = args[:longest_match] if args.key?(:longest_match)
  @match_segments = args[:match_segments] if args.key?(:match_segments)
  @reference_id = args[:reference_id] if args.key?(:reference_id)
  @total_match = args[:total_match] if args.key?(:total_match)
end