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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_idString

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

Returns:

  • (String)


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