Class: Google::Apis::YoutubePartnerV1::Uploader
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::Uploader
- 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.
-
#uploader_name ⇒ String
The uploader name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Uploader
constructor
A new instance of Uploader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Uploader
Returns a new instance of Uploader
3785 3786 3787 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3785 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
The type of the API resource. For uploader resources, the value is
youtubePartner#uploader.
Corresponds to the JSON property kind
3778 3779 3780 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3778 def kind @kind end |
#uploader_name ⇒ String
The uploader name.
Corresponds to the JSON property uploaderName
3783 3784 3785 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3783 def uploader_name @uploader_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3790 3791 3792 3793 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3790 def update!(**args) @kind = args[:kind] if args.key?(:kind) @uploader_name = args[:uploader_name] if args.key?(:uploader_name) end |