Class: Google::Apis::YoutubeV3::ActivityContentDetailsUpload
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::ActivityContentDetailsUpload
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ActivityContentDetailsUpload
Returns a new instance of ActivityContentDetailsUpload
494 495 496 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 494 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
492 493 494 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 492 def video_id @video_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
499 500 501 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 499 def update!(**args) @video_id = args[:video_id] if args.key?(:video_id) end |