class Google::Apis::YoutubePartnerV1::RightsOwnership
Attributes
A list that identifies the owners of an asset and the territories where each owner has ownership. General asset ownership is used for all types of assets and is the only type of ownership data that can be provided for assets that are not compositions. Note: You cannot specify general ownership rights and also specify either mechanical, performance, or synchronization rights. Corresponds to the JSON property `general` @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
The type of the API resource. For rightsOwnership resources, the value is youtubePartner#rightsOwnership. Corresponds to the JSON property `kind` @return [String]
A list that identifies owners of the mechanical rights for a composition asset. Corresponds to the JSON property `mechanical` @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
A list that identifies owners of the performance rights for a composition asset. Corresponds to the JSON property `performance` @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
A list that identifies owners of the synchronization rights for a composition asset. Corresponds to the JSON property `synchronization` @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
Public Class Methods
# File generated/google/apis/youtube_partner_v1/classes.rb, line 3213 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_partner_v1/classes.rb, line 3218 def update!(**args) @general = args[:general] if args.key?(:general) @kind = args[:kind] if args.key?(:kind) @mechanical = args[:mechanical] if args.key?(:mechanical) @performance = args[:performance] if args.key?(:performance) @synchronization = args[:synchronization] if args.key?(:synchronization) end