Class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubePartnerV1::Claim::MatchInfo
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
 generated/google/apis/youtube_partner_v1/representations.rb,
 generated/google/apis/youtube_partner_v1/representations.rb
Overview
If this claim was auto-generated based on a provided reference, this section will provide details of the match that generated the claim.
Defined Under Namespace
Classes: LongestMatch, TotalMatch
Instance Attribute Summary collapse
- 
  
    
      #longest_match  ⇒ Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Details of the longest match between the reference and the user video. 
- 
  
    
      #match_segments  ⇒ Array<Google::Apis::YoutubePartnerV1::MatchSegment> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Details about each match segment. 
- 
  
    
      #reference_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The reference ID that generated this match. 
- 
  
    
      #total_match  ⇒ Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Details of the total amount of reference and user video content which matched each other. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MatchInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MatchInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MatchInfo
Returns a new instance of MatchInfo
| 928 929 930 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 928 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#longest_match ⇒ Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch
Details of the longest match between the reference and the user video.
Corresponds to the JSON property longestMatch
| 904 905 906 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 904 def longest_match @longest_match end | 
#match_segments ⇒ Array<Google::Apis::YoutubePartnerV1::MatchSegment>
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
| 914 915 916 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 914 def match_segments @match_segments end | 
#reference_id ⇒ String
The reference ID that generated this match.
Corresponds to the JSON property referenceId
| 919 920 921 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 919 def reference_id @reference_id end | 
#total_match ⇒ Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch
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
| 926 927 928 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 926 def total_match @total_match end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 933 934 935 936 937 938 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 933 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 |