[[["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::TreeEntry (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-TreeEntry)\n- [2.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.2.0/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [2.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.1.0/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [2.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.0.1/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [1.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.3.0/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [1.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.2.0/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [1.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.1.0/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [1.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.0.1/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [0.4.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.4.0/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [0.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.3.0/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [0.2.2](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.2.2/Google-Cloud-SecureSourceManager-V1-TreeEntry)\n- [0.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.1.0/Google-Cloud-SecureSourceManager-V1-TreeEntry) \nReference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::TreeEntry.\n\nRepresents an entry within a tree structure (like a Git tree). \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### #mode\n\n def mode() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The file mode as a string (e.g., \"100644\"). Indicates file type. Output-only.\n\n### #path\n\n def path() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The path of the file or directory within the tree (e.g., \"src/main/java/MyClass.java\"). Output-only.\n\n### #sha\n\n def sha() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The SHA-1 hash of the object (unique identifier). Output-only.\n\n### #size\n\n def size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Output only. The size of the object in bytes (only for blobs). Output-only.\n\n### #type\n\n def type() -\u003e ::Google::Cloud::SecureSourceManager::V1::TreeEntry::ObjectType\n\n**Returns**\n\n- ([::Google::Cloud::SecureSourceManager::V1::TreeEntry::ObjectType](./Google-Cloud-SecureSourceManager-V1-TreeEntry-ObjectType)) --- Output only. The type of the object (TREE, BLOB, COMMIT). Output-only."]]