class Google::Apis::YoutubePartnerV1::RightsOwnership

Attributes

general[RW]

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>]

kind[RW]

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

mechanical[RW]

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>]

performance[RW]

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>]

synchronization[RW]

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

new(**args) click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3667
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_partner_v1/classes.rb, line 3672
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