Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Pad (v0.7.0)

Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Pad.

Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bottom_pixels

def bottom_pixels() -> ::Integer
Returns
  • (::Integer) — The number of pixels to add to the bottom. The default is 0.

#bottom_pixels=

def bottom_pixels=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of pixels to add to the bottom. The default is 0.
Returns
  • (::Integer) — The number of pixels to add to the bottom. The default is 0.

#left_pixels

def left_pixels() -> ::Integer
Returns
  • (::Integer) — The number of pixels to add to the left. The default is 0.

#left_pixels=

def left_pixels=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of pixels to add to the left. The default is 0.
Returns
  • (::Integer) — The number of pixels to add to the left. The default is 0.

#right_pixels

def right_pixels() -> ::Integer
Returns
  • (::Integer) — The number of pixels to add to the right. The default is 0.

#right_pixels=

def right_pixels=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of pixels to add to the right. The default is 0.
Returns
  • (::Integer) — The number of pixels to add to the right. The default is 0.

#top_pixels

def top_pixels() -> ::Integer
Returns
  • (::Integer) — The number of pixels to add to the top. The default is 0.

#top_pixels=

def top_pixels=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of pixels to add to the top. The default is 0.
Returns
  • (::Integer) — The number of pixels to add to the top. The default is 0.