Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class TreeEntry.
Represents an entry within a tree structure (like a Git tree).
Generated from protobuf message google.cloud.securesourcemanager.v1.TreeEntry
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
int
Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.
↳ sha
string
Output only. The SHA-1 hash of the object (unique identifier). Output-only.
↳ path
string
Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.
↳ mode
string
Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.
↳ size
int|string
Output only. The size of the object in bytes (only for blobs). Output-only.
getType
Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.
setType
Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.
$this
getSha
Output only. The SHA-1 hash of the object (unique identifier). Output-only.
string
setSha
Output only. The SHA-1 hash of the object (unique identifier). Output-only.
var
string
$this
getPath
Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.
string
setPath
Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.
var
string
$this
getMode
Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.
string
setMode
Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.
var
string
$this
getSize
Output only. The size of the object in bytes (only for blobs). Output-only.
int|string
setSize
Output only. The size of the object in bytes (only for blobs). Output-only.
var
int|string
$this

