Class: Google::Apis::YoutubePartnerV1::Origination

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Origination

Returns a new instance of Origination.



2873
2874
2875
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2873

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ownerString

The content owner who provided the metadata or ownership information. Corresponds to the JSON property owner

Returns:

  • (String)


2865
2866
2867
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2865

def owner
  @owner
end

#sourceString

The mechanism by which the piece of metadata, ownership or relationship information was provided. Corresponds to the JSON property source

Returns:

  • (String)


2871
2872
2873
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2871

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2878
2879
2880
2881
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2878

def update!(**args)
  @owner = args[:owner] if args.key?(:owner)
  @source = args[:source] if args.key?(:source)
end