Class: Google::Apis::YoutubePartnerV1::MatchSegment
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::MatchSegment
- 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
Instance Attribute Summary collapse
-
#channel ⇒ String
Identifies the manner in which the claimed video matches the reference video.
-
#reference_segment ⇒ Google::Apis::YoutubePartnerV1::Segment
The reference_segment object contains information about the matched portion of the reference content.
-
#video_segment ⇒ Google::Apis::YoutubePartnerV1::Segment
The video_segment object contains information about the matched portion of the claimed video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MatchSegment
constructor
A new instance of MatchSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MatchSegment
Returns a new instance of MatchSegment
1910 1911 1912 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1910 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel ⇒ String
Identifies the manner in which the claimed video matches the reference video.
Corresponds to the JSON property channel
1896 1897 1898 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1896 def channel @channel end |
#reference_segment ⇒ Google::Apis::YoutubePartnerV1::Segment
The reference_segment object contains information about the matched portion of
the reference content.
Corresponds to the JSON property reference_segment
1902 1903 1904 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1902 def reference_segment @reference_segment end |
#video_segment ⇒ Google::Apis::YoutubePartnerV1::Segment
The video_segment object contains information about the matched portion of the
claimed video.
Corresponds to the JSON property video_segment
1908 1909 1910 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1908 def video_segment @video_segment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1915 1916 1917 1918 1919 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1915 def update!(**args) @channel = args[:channel] if args.key?(:channel) @reference_segment = args[:reference_segment] if args.key?(:reference_segment) @video_segment = args[:video_segment] if args.key?(:video_segment) end |