Class: Google::Apis::YoutubePartnerV1::ClaimSnippet
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubePartnerV1::ClaimSnippet
 
- 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
Defined Under Namespace
Classes: Origin
Instance Attribute Summary collapse
- 
  
    
      #asset_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The unique YouTube asset ID that identifies the asset associated with the claim. 
- 
  
    
      #content_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This value indicates whether the claim covers the audio, video, or audiovisual portion of the claimed content. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID that YouTube assigns and uses to uniquely identify the claim. 
- 
  
    
      #is_partner_uploaded  ⇒ Boolean 
    
    
      (also: #is_partner_uploaded?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates whether or not the claim is a partner uploaded claim. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the API resource. 
- 
  
    
      #origin  ⇒ Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property origin.
- 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The claim's status. 
- 
  
    
      #third_party_claim  ⇒ Boolean 
    
    
      (also: #third_party_claim?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates that this is a third party claim. 
- 
  
    
      #time_created  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time the claim was created. 
- 
  
    
      #time_status_last_modified  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time the claim status and/or status detail was last modified. 
- 
  
    
      #video_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The unique YouTube video ID that identifies the video associated with the claim. 
- 
  
    
      #video_title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The title of the claimed video. 
- 
  
    
      #video_views  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Number of views for the claimed video. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ClaimSnippet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ClaimSnippet. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClaimSnippet
Returns a new instance of ClaimSnippet
| 1344 1345 1346 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1344 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#asset_id ⇒ String
The unique YouTube asset ID that identifies the asset associated with the
claim.
Corresponds to the JSON property assetId
| 1277 1278 1279 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1277 def asset_id @asset_id end | 
#content_type ⇒ String
This value indicates whether the claim covers the audio, video, or audiovisual
portion of the claimed content.
Corresponds to the JSON property contentType
| 1283 1284 1285 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1283 def content_type @content_type end | 
#id ⇒ String
The ID that YouTube assigns and uses to uniquely identify the claim.
Corresponds to the JSON property id
| 1288 1289 1290 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1288 def id @id end | 
#is_partner_uploaded ⇒ Boolean Also known as: is_partner_uploaded?
Indicates whether or not the claim is a partner uploaded claim.
Corresponds to the JSON property isPartnerUploaded
| 1293 1294 1295 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1293 def is_partner_uploaded @is_partner_uploaded end | 
#kind ⇒ String
The type of the API resource. For this operation, the value is youtubePartner#
claimSnippet.
Corresponds to the JSON property kind
| 1300 1301 1302 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1300 def kind @kind end | 
#origin ⇒ Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin
Corresponds to the JSON property origin
| 1305 1306 1307 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1305 def origin @origin end | 
#status ⇒ String
The claim's status.
Corresponds to the JSON property status
| 1310 1311 1312 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1310 def status @status end | 
#third_party_claim ⇒ Boolean Also known as: third_party_claim?
Indicates that this is a third party claim.
Corresponds to the JSON property thirdPartyClaim
| 1315 1316 1317 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1315 def third_party_claim @third_party_claim end | 
#time_created ⇒ DateTime
The time the claim was created.
Corresponds to the JSON property timeCreated
| 1321 1322 1323 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1321 def time_created @time_created end | 
#time_status_last_modified ⇒ DateTime
The time the claim status and/or status detail was last modified.
Corresponds to the JSON property timeStatusLastModified
| 1326 1327 1328 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1326 def time_status_last_modified @time_status_last_modified end | 
#video_id ⇒ String
The unique YouTube video ID that identifies the video associated with the
claim.
Corresponds to the JSON property videoId
| 1332 1333 1334 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1332 def video_id @video_id end | 
#video_title ⇒ String
The title of the claimed video.
Corresponds to the JSON property videoTitle
| 1337 1338 1339 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1337 def video_title @video_title end | 
#video_views ⇒ Fixnum
Number of views for the claimed video.
Corresponds to the JSON property videoViews
| 1342 1343 1344 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1342 def video_views @video_views end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1349 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) @time_status_last_modified = args[:time_status_last_modified] if args.key?(:time_status_last_modified) @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 |