class Google::Apis::YoutubeV3::VideoFileDetails

Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information.

Attributes

audio_streams[RW]

A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream. Corresponds to the JSON property `audioStreams` @return [Array<Google::Apis::YoutubeV3::VideoFileDetailsAudioStream>]

bitrate_bps[RW]

The uploaded video file's combined (video and audio) bitrate in bits per second. Corresponds to the JSON property `bitrateBps` @return [String]

container[RW]

The uploaded video file's container format. Corresponds to the JSON property `container` @return [String]

creation_time[RW]

The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported:

  • Date only: YYYY-MM-DD

  • Naive time: YYYY-MM-DDTHH:MM:SS

  • Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM

Corresponds to the JSON property `creationTime` @return [String]

duration_ms[RW]

The length of the uploaded video in milliseconds. Corresponds to the JSON property `durationMs` @return [String]

file_name[RW]

The uploaded file's name. This field is present whether a video file or another type of file was uploaded. Corresponds to the JSON property `fileName` @return [String]

file_size[RW]

The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded. Corresponds to the JSON property `fileSize` @return [String]

file_type[RW]

The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded. Corresponds to the JSON property `fileType` @return [String]

recording_location[RW]

Geographical coordinates of a point, in WGS84. Corresponds to the JSON property `recordingLocation` @return [Google::Apis::YoutubeV3::GeoPoint]

video_streams[RW]

A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream. Corresponds to the JSON property `videoStreams` @return [Array<Google::Apis::YoutubeV3::VideoFileDetailsVideoStream>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 7263
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 7268
def update!(**args)
  @audio_streams = args[:audio_streams] if args.key?(:audio_streams)
  @bitrate_bps = args[:bitrate_bps] if args.key?(:bitrate_bps)
  @container = args[:container] if args.key?(:container)
  @creation_time = args[:creation_time] if args.key?(:creation_time)
  @duration_ms = args[:duration_ms] if args.key?(:duration_ms)
  @file_name = args[:file_name] if args.key?(:file_name)
  @file_size = args[:file_size] if args.key?(:file_size)
  @file_type = args[:file_type] if args.key?(:file_type)
  @recording_location = args[:recording_location] if args.key?(:recording_location)
  @video_streams = args[:video_streams] if args.key?(:video_streams)
end