Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::TreeEntry (v2.2.0)

Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::TreeEntry.

Represents an entry within a tree structure (like a Git tree).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#mode

def mode() -> ::String
Returns
  • (::String) — Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.

#path

def path() -> ::String
Returns
  • (::String) — Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.

#sha

def sha() -> ::String
Returns
  • (::String) — Output only. The SHA-1 hash of the object (unique identifier). Output-only.

#size

def size() -> ::Integer
Returns
  • (::Integer) — Output only. The size of the object in bytes (only for blobs). Output-only.

#type

def type() -> ::Google::Cloud::SecureSourceManager::V1::TreeEntry::ObjectType
Returns