[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::FileDiff (v2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [2.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.2.0/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [2.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.1.0/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [2.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.0.1/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [1.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.3.0/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [1.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.2.0/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [1.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.1.0/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [1.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.0.1/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [0.4.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.4.0/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [0.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.3.0/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [0.2.2](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.2.2/Google-Cloud-SecureSourceManager-V1-FileDiff)\n- [0.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.1.0/Google-Cloud-SecureSourceManager-V1-FileDiff) \nReference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::FileDiff.\n\nMetadata of a FileDiff. FileDiff represents a single file diff in a pull\nrequest. \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### #action\n\n def action() -\u003e ::Google::Cloud::SecureSourceManager::V1::FileDiff::Action\n\n**Returns**\n\n- ([::Google::Cloud::SecureSourceManager::V1::FileDiff::Action](./Google-Cloud-SecureSourceManager-V1-FileDiff-Action)) --- Output only. The action taken on the file (eg. added, modified, deleted).\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The name of the file.\n\n### #patch\n\n def patch() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The git patch containing the file changes.\n\n### #sha\n\n def sha() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The commit pointing to the file changes."]]