class Google::Apis::YoutubePartnerV1::ClaimSnippet

Attributes

asset_id[RW]

The unique YouTube asset ID that identifies the asset associated with the claim. Corresponds to the JSON property `assetId` @return [String]

content_type[RW]

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]

id[RW]

The ID that YouTube assigns and uses to uniquely identify the claim. Corresponds to the JSON property `id` @return [String]

is_partner_uploaded[RW]

Indicates whether or not the claim is a partner uploaded claim. Corresponds to the JSON property `isPartnerUploaded` @return [Boolean]

is_partner_uploaded?[RW]

Indicates whether or not the claim is a partner uploaded claim. Corresponds to the JSON property `isPartnerUploaded` @return [Boolean]

kind[RW]

The type of the API resource. For this operation, the value is youtubePartner# claimSnippet. Corresponds to the JSON property `kind` @return [String]

origin[RW]

Corresponds to the JSON property `origin` @return [Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin]

status[RW]

The claim's status. Corresponds to the JSON property `status` @return [String]

third_party_claim[RW]

Indicates that this is a third party claim. Corresponds to the JSON property `thirdPartyClaim` @return [Boolean]

third_party_claim?[RW]

Indicates that this is a third party claim. Corresponds to the JSON property `thirdPartyClaim` @return [Boolean]

time_created[RW]

The time the claim was created. Corresponds to the JSON property `timeCreated` @return [DateTime]

video_id[RW]

The unique YouTube video ID that identifies the video associated with the claim. Corresponds to the JSON property `videoId` @return [String]

video_title[RW]

The title of the claimed video. Corresponds to the JSON property `videoTitle` @return [String]

video_views[RW]

Number of views for the claimed video. Corresponds to the JSON property `videoViews` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 1268
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 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