class Google::Apis::YoutubePartnerV1::ClaimSnippet
Attributes
The unique YouTube asset ID that identifies the asset associated with the claim. Corresponds to the JSON property `assetId` @return [String]
This value indicates whether the claim covers the audio, video, or audiovisual portion of the claimed content. Corresponds to the JSON property `contentType` @return [String]
The ID that YouTube assigns and uses to uniquely identify the claim. Corresponds to the JSON property `id` @return [String]
Indicates whether or not the claim is a partner uploaded claim. Corresponds to the JSON property `isPartnerUploaded` @return [Boolean]
Indicates whether or not the claim is a partner uploaded claim. Corresponds to the JSON property `isPartnerUploaded` @return [Boolean]
The type of the API resource. For this operation, the value is youtubePartner# claimSnippet. Corresponds to the JSON property `kind` @return [String]
Corresponds to the JSON property `origin` @return [Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin]
The claim's status. Corresponds to the JSON property `status` @return [String]
Indicates that this is a third party claim. Corresponds to the JSON property `thirdPartyClaim` @return [Boolean]
Indicates that this is a third party claim. Corresponds to the JSON property `thirdPartyClaim` @return [Boolean]
The time the claim was created. Corresponds to the JSON property `timeCreated` @return [DateTime]
The unique YouTube video ID that identifies the video associated with the claim. Corresponds to the JSON property `videoId` @return [String]
The title of the claimed video. Corresponds to the JSON property `videoTitle` @return [String]
Number of views for the claimed video. Corresponds to the JSON property `videoViews` @return [String]
Public Class Methods
# File generated/google/apis/youtube_partner_v1/classes.rb, line 1268 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_partner_v1/classes.rb, line 1273 def update!(**args) @asset_id = args[:asset_id] if args.key?(:asset_id) @content_type = args[:content_type] if args.key?(:content_type) @id = args[:id] if args.key?(:id) @is_partner_uploaded = args[:is_partner_uploaded] if args.key?(:is_partner_uploaded) @kind = args[:kind] if args.key?(:kind) @origin = args[:origin] if args.key?(:origin) @status = args[:status] if args.key?(:status) @third_party_claim = args[:third_party_claim] if args.key?(:third_party_claim) @time_created = args[:time_created] if args.key?(:time_created) @video_id = args[:video_id] if args.key?(:video_id) @video_title = args[:video_title] if args.key?(:video_title) @video_views = args[:video_views] if args.key?(:video_views) end