Class: Google::Apis::YoutubeV3::ActivityContentDetailsUpload
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::ActivityContentDetailsUpload
- 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
-
#video_id ⇒ String
The ID that YouTube uses to uniquely identify the uploaded video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActivityContentDetailsUpload
constructor
A new instance of ActivityContentDetailsUpload.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
The ID that YouTube uses to uniquely identify the uploaded video.
Corresponds to the JSON property videoId
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 |