class Google::Apis::YoutubePartnerV1::Reference
Attributes
The ID that uniquely identifies the asset that the reference is associated with. Corresponds to the JSON property `assetId` @return [String]
Set this field's value to true to indicate that the reference content should be included in YouTube's AudioSwap program. Corresponds to the JSON property `audioswapEnabled` @return [Boolean]
Set this field's value to true to indicate that the reference content should be included in YouTube's AudioSwap program. Corresponds to the JSON property `audioswapEnabled` @return [Boolean]
This field is present if the reference was created by associating an asset with an existing YouTube video that was uploaded to a YouTube channel linked to your CMS account. In that case, this field contains the ID of the claim representing the resulting association between the asset and the video. Corresponds to the JSON property `claimId` @return [String]
The type of content that the reference represents. Corresponds to the JSON property `contentType` @return [String]
The ID that uniquely identifies the reference that this reference duplicates. This field is only present if the reference's status is inactive with reason REASON_DUPLICATE_FOR_OWNERS. Corresponds to the JSON property `duplicateLeader` @return [String]
The list of time intervals from this reference that will be ignored during the match process. Corresponds to the JSON property `excludedIntervals` @return [Array<Google::Apis::YoutubePartnerV1::ExcludedInterval>]
When uploading a reference, set this value to true to indicate that the reference is a pre-generated fingerprint. Corresponds to the JSON property `fpDirect` @return [Boolean]
When uploading a reference, set this value to true to indicate that the reference is a pre-generated fingerprint. Corresponds to the JSON property `fpDirect` @return [Boolean]
A reference to data stored on the filesystem, on GFS or in blobstore. Corresponds to the JSON property `gdataMedia` @return [Google::Apis::YoutubePartnerV1::Media]
The MD5 hashcode of the reference content. Deprecated! This is no longer populated. Corresponds to the JSON property `hashCode` @return [String]
A value that YouTube assigns and uses to uniquely identify a reference. Corresponds to the JSON property `id` @return [String]
Set this value to true to indicate that the reference should not be used to generate claims. This field is only used on AudioSwap references. Corresponds to the JSON property `ignoreFpMatch` @return [Boolean]
Set this value to true to indicate that the reference should not be used to generate claims. This field is only used on AudioSwap references. Corresponds to the JSON property `ignoreFpMatch` @return [Boolean]
The type of the API resource. For reference resources, the value is youtubePartner#reference. Corresponds to the JSON property `kind` @return [String]
The length of the reference in seconds. Corresponds to the JSON property `length` @return [Float]
Extra information added to operations that support Scotty media requests. Corresponds to the JSON property `mediaRequestInfo` @return [Google::Apis::YoutubePartnerV1::MediaRequestInfo]
This message is for backends to pass their scotty media specific fields to ESF. Backend will include this in their response message to ESF. Example: ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile( ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse will include apiserving.MediaResponseInfo to tell ESF about data like dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse ` optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo media_response_info
= 2 ` Corresponds to the JSON property `mediaResponseInfo` @return [Google::Apis::YoutubePartnerV1::MediaResponseInfo]
The origination object contains information that describes the reference source. Corresponds to the JSON property `origination` @return [Google::Apis::YoutubePartnerV1::Origination]
The reference's status. Corresponds to the JSON property `status` @return [String]
An explanation of how a reference entered its current state. This value is only present if the reference's status is either inactive or deleted. Corresponds to the JSON property `statusReason` @return [String]
Set this value to true to indicate that YouTube should prioritize Content ID processing for a video file. YouTube processes urgent video files before other files that are not marked as urgent. This setting is primarily used for videos of live events or other videos that require time-sensitive processing. The sooner YouTube completes Content ID processing for a video, the sooner YouTube can match user-uploaded videos to that video. Note that marking all of your files as urgent could delay processing for those files. Corresponds to the JSON property `urgent` @return [Boolean]
Set this value to true to indicate that YouTube should prioritize Content ID processing for a video file. YouTube processes urgent video files before other files that are not marked as urgent. This setting is primarily used for videos of live events or other videos that require time-sensitive processing. The sooner YouTube completes Content ID processing for a video, the sooner YouTube can match user-uploaded videos to that video. Note that marking all of your files as urgent could delay processing for those files. Corresponds to the JSON property `urgent` @return [Boolean]
This field is present if the reference was created by associating an asset with an existing YouTube video that was uploaded to a YouTube channel linked to your CMS account. In that case, this field contains the ID of the source video. Corresponds to the JSON property `videoId` @return [String]
Public Class Methods
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3429 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3434 def update!(**args) @asset_id = args[:asset_id] if args.key?(:asset_id) @audioswap_enabled = args[:audioswap_enabled] if args.key?(:audioswap_enabled) @claim_id = args[:claim_id] if args.key?(:claim_id) @content_type = args[:content_type] if args.key?(:content_type) @duplicate_leader = args[:duplicate_leader] if args.key?(:duplicate_leader) @excluded_intervals = args[:excluded_intervals] if args.key?(:excluded_intervals) @fp_direct = args[:fp_direct] if args.key?(:fp_direct) @gdata_media = args[:gdata_media] if args.key?(:gdata_media) @hash_code = args[:hash_code] if args.key?(:hash_code) @id = args[:id] if args.key?(:id) @ignore_fp_match = args[:ignore_fp_match] if args.key?(:ignore_fp_match) @kind = args[:kind] if args.key?(:kind) @length = args[:length] if args.key?(:length) @media_request_info = args[:media_request_info] if args.key?(:media_request_info) @media_response_info = args[:media_response_info] if args.key?(:media_response_info) @origination = args[:origination] if args.key?(:origination) @status = args[:status] if args.key?(:status) @status_reason = args[:status_reason] if args.key?(:status_reason) @urgent = args[:urgent] if args.key?(:urgent) @video_id = args[:video_id] if args.key?(:video_id) end