Class TreeEntry
Represents an entry within a tree structure (like a Git tree).
Implements
Inherited Members
Namespace: Google.Apis.SecureSourceManager.v1.Data
Assembly: Google.Apis.SecureSourceManager.v1.dll
Syntax
public class TreeEntry : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Mode
Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Path
Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.
Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Sha
Output only. The SHA-1 hash of the object (unique identifier). Output-only.
Declaration
[JsonProperty("sha")]
public virtual string Sha { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Size
Output only. The size of the object in bytes (only for blobs). Output-only.
Declaration
[JsonProperty("size")]
public virtual long? Size { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Type
Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |