Class: Google::Apis::YoutubePartnerV1::Origination
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::Origination
- 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
-
#owner ⇒ String
The content owner who provided the metadata or ownership information.
-
#source ⇒ String
The mechanism by which the piece of metadata, ownership or relationship information was provided.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Origination
constructor
A new instance of Origination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Origination
Returns a new instance of Origination
2526 2527 2528 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2526 def initialize(**args) update!(**args) end |
Instance Attribute Details
#owner ⇒ String
The content owner who provided the metadata or ownership information.
Corresponds to the JSON property owner
2518 2519 2520 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2518 def owner @owner end |
#source ⇒ String
The mechanism by which the piece of metadata, ownership or relationship
information was provided.
Corresponds to the JSON property source
2524 2525 2526 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2524 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2531 2532 2533 2534 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2531 def update!(**args) @owner = args[:owner] if args.key?(:owner) @source = args[:source] if args.key?(:source) end |