Class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch
 
- 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
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.
Instance Attribute Summary collapse
- 
  
    
      #reference_duration_secs  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total amount of content in the reference which matched the user video in seconds. 
- 
  
    
      #user_video_duration_secs  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total amount of content in the user video which matched the reference in seconds. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TotalMatch 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TotalMatch. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TotalMatch
Returns a new instance of TotalMatch
| 989 990 991 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 989 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#reference_duration_secs ⇒ Fixnum
The total amount of content in the reference which matched the user video in
seconds.
Corresponds to the JSON property referenceDurationSecs
| 981 982 983 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 981 def reference_duration_secs @reference_duration_secs end | 
#user_video_duration_secs ⇒ Fixnum
The total amount of content in the user video which matched the reference in
seconds.
Corresponds to the JSON property userVideoDurationSecs
| 987 988 989 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 987 def user_video_duration_secs @user_video_duration_secs end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 994 995 996 997 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 994 def update!(**args) @reference_duration_secs = args[:reference_duration_secs] if args.key?(:reference_duration_secs) @user_video_duration_secs = args[:user_video_duration_secs] if args.key?(:user_video_duration_secs) end |