[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Crop (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [2.1.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/2.1.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [2.0.1](/ruby/docs/reference/google-cloud-video-transcoder-v1/2.0.1/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [1.2.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/1.2.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [1.1.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/1.1.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [1.0.1](/ruby/docs/reference/google-cloud-video-transcoder-v1/1.0.1/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.13.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.13.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.12.2](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.12.2/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.11.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.11.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.10.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.10.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.9.1](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.9.1/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.8.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.8.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.7.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.6.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.6.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.5.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.5.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.4.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.3.0/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop)\n- [0.2.2](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.2.2/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig-Crop) \nReference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Crop.\n\nVideo cropping configuration for the input video. The cropped input video\nis scaled to match the output resolution. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #bottom_pixels\n\n def bottom_pixels() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The number of pixels to crop from the bottom. The default is 0.\n\n### #bottom_pixels=\n\n def bottom_pixels=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The number of pixels to crop from the bottom. The default is 0. \n**Returns**\n\n- (::Integer) --- The number of pixels to crop from the bottom. The default is 0.\n\n### #left_pixels\n\n def left_pixels() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The number of pixels to crop from the left. The default is 0.\n\n### #left_pixels=\n\n def left_pixels=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The number of pixels to crop from the left. The default is 0. \n**Returns**\n\n- (::Integer) --- The number of pixels to crop from the left. The default is 0.\n\n### #right_pixels\n\n def right_pixels() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The number of pixels to crop from the right. The default is 0.\n\n### #right_pixels=\n\n def right_pixels=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The number of pixels to crop from the right. The default is 0. \n**Returns**\n\n- (::Integer) --- The number of pixels to crop from the right. The default is 0.\n\n### #top_pixels\n\n def top_pixels() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The number of pixels to crop from the top. The default is 0.\n\n### #top_pixels=\n\n def top_pixels=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The number of pixels to crop from the top. The default is 0. \n**Returns**\n\n- (::Integer) --- The number of pixels to crop from the top. The default is 0."]]