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.
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
#owner ⇒ String
The content owner who provided the metadata or ownership information.
Corresponds to the JSON property owner
2865 2866 2867 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2865 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
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 |