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.
Constructor Details
#initialize(**args) ⇒ Uploader
Returns a new instance of Uploader.
4080 4081 4082 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4080 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
4073 4074 4075 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4073 def kind @kind end |
#uploader_name ⇒ String
The uploader name.
Corresponds to the JSON property uploaderName
4078 4079 4080 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4078 def uploader_name @uploader_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4085 4086 4087 4088 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4085 def update!(**args) @kind = args[:kind] if args.key?(:kind) @uploader_name = args[:uploader_name] if args.key?(:uploader_name) end |