Class: Google::Apis::YoutubeV3::ActivityContentDetailsUpload

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb

Overview

Information about the uploaded video.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ActivityContentDetailsUpload

Returns a new instance of ActivityContentDetailsUpload.



550
551
552
# File 'lib/google/apis/youtube_v3/classes.rb', line 550

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#video_idString

The ID that YouTube uses to uniquely identify the uploaded video. Corresponds to the JSON property videoId

Returns:

  • (String)


548
549
550
# File 'lib/google/apis/youtube_v3/classes.rb', line 548

def video_id
  @video_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



555
556
557
# File 'lib/google/apis/youtube_v3/classes.rb', line 555

def update!(**args)
  @video_id = args[:video_id] if args.key?(:video_id)
end