Class: Google::Apis::YoutubePartnerV1::Uploader

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#kindString

The type of the API resource. For uploader resources, the value is youtubePartner#uploader. Corresponds to the JSON property kind

Returns:

  • (String)


3778
3779
3780
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3778

def kind
  @kind
end

#uploader_nameString

The uploader name. Corresponds to the JSON property uploaderName

Returns:

  • (String)


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