Class TreeEntry (0.1.17)

TreeEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
type_ google.cloud.securesourcemanager_v1.types.TreeEntry.ObjectType
Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.
sha str
Output only. The SHA-1 hash of the object (unique identifier). Output-only.
path str
Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.
mode str
Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.
size int
Output only. The size of the object in bytes (only for blobs). Output-only.

Classes

ObjectType

ObjectType(value)

Defines the type of object the TreeEntry represents.