class Google::Apis::YoutubePartnerV1::RightsOwnershipHistory

Attributes

kind[RW]

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

origination[RW]

The origination object contains information that describes the metadata source. Corresponds to the JSON property `origination` @return [Google::Apis::YoutubePartnerV1::Origination]

ownership[RW]

The ownership object contains the ownership data provided by the specified source (origination) at the specified time (timeProvided). Corresponds to the JSON property `ownership` @return [Google::Apis::YoutubePartnerV1::RightsOwnership]

time_provided[RW]

The time that the ownership data was provided. Corresponds to the JSON property `timeProvided` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 3253
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 3258
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @origination = args[:origination] if args.key?(:origination)
  @ownership = args[:ownership] if args.key?(:ownership)
  @time_provided = args[:time_provided] if args.key?(:time_provided)
end