Class: Google::Apis::YoutubePartnerV1::RightsOwnershipHistory
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubePartnerV1::RightsOwnershipHistory
 
- 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
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the API resource. 
- 
  
    
      #origination  ⇒ Google::Apis::YoutubePartnerV1::Origination 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The origination object contains information that describes the metadata source. 
- 
  
    
      #ownership  ⇒ Google::Apis::YoutubePartnerV1::RightsOwnership 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ownership object contains the ownership data provided by the specified source (origination) at the specified time (timeProvided). 
- 
  
    
      #time_provided  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time that the ownership data was provided. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RightsOwnershipHistory 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RightsOwnershipHistory. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RightsOwnershipHistory
Returns a new instance of RightsOwnershipHistory
| 3456 3457 3458 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3456 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
The type of the API resource. For ownership history resources, the value is
youtubePartner#rightsOwnershipHistory.
Corresponds to the JSON property kind
| 3438 3439 3440 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3438 def kind @kind end | 
#origination ⇒ Google::Apis::YoutubePartnerV1::Origination
The origination object contains information that describes the metadata source.
Corresponds to the JSON property origination
| 3443 3444 3445 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3443 def origination @origination end | 
#ownership ⇒ Google::Apis::YoutubePartnerV1::RightsOwnership
The ownership object contains the ownership data provided by the specified
source (origination) at the specified time (timeProvided).
Corresponds to the JSON property ownership
| 3449 3450 3451 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3449 def ownership @ownership end | 
#time_provided ⇒ DateTime
The time that the ownership data was provided.
Corresponds to the JSON property timeProvided
| 3454 3455 3456 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3454 def time_provided @time_provided end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3461 3462 3463 3464 3465 3466 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3461 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 |