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

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

#kindString

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

Returns:

  • (String)


4073
4074
4075
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4073

def kind
  @kind
end

#uploader_nameString

The uploader name. Corresponds to the JSON property uploaderName

Returns:

  • (String)


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