class Google::Apis::DisplayvideoV1::Transcode

Represents information about the transcoded audio or video file.

Attributes

audio_bit_rate_kbps[RW]

The bit rate for the audio stream of the transcoded video, or the bit rate for the transcoded audio, in kilobits per second. Corresponds to the JSON property `audioBitRateKbps` @return [Fixnum]

audio_sample_rate_hz[RW]

The sample rate for the audio stream of the transcoded video, or the sample rate for the transcoded audio, in hertz. Corresponds to the JSON property `audioSampleRateHz` @return [Fixnum]

bit_rate_kbps[RW]

The transcoding bit rate of the transcoded video, in kilobits per second. Corresponds to the JSON property `bitRateKbps` @return [Fixnum]

dimensions[RW]

Dimensions. Corresponds to the JSON property `dimensions` @return [Google::Apis::DisplayvideoV1::Dimensions]

file_size_bytes[RW]

The size of the transcoded file, in bytes. Corresponds to the JSON property `fileSizeBytes` @return [Fixnum]

frame_rate[RW]

The frame rate of the transcoded video, in frames per second. Corresponds to the JSON property `frameRate` @return [Float]

mime_type[RW]

The MIME type of the transcoded file. Corresponds to the JSON property `mimeType` @return [String]

name[RW]

The name of the transcoded file. Corresponds to the JSON property `name` @return [String]

transcoded[RW]

Indicates if the transcoding was successful. Corresponds to the JSON property `transcoded` @return [Boolean]

transcoded?[RW]

Indicates if the transcoding was successful. Corresponds to the JSON property `transcoded` @return [Boolean]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 9424
def update!(**args)
  @audio_bit_rate_kbps = args[:audio_bit_rate_kbps] if args.key?(:audio_bit_rate_kbps)
  @audio_sample_rate_hz = args[:audio_sample_rate_hz] if args.key?(:audio_sample_rate_hz)
  @bit_rate_kbps = args[:bit_rate_kbps] if args.key?(:bit_rate_kbps)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @file_size_bytes = args[:file_size_bytes] if args.key?(:file_size_bytes)
  @frame_rate = args[:frame_rate] if args.key?(:frame_rate)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
  @name = args[:name] if args.key?(:name)
  @transcoded = args[:transcoded] if args.key?(:transcoded)
end