Class: Google::Cloud::SecureSourceManager::V1::TreeEntry
- Inherits:
-
Object
- Object
- Google::Cloud::SecureSourceManager::V1::TreeEntry
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb
Overview
Represents an entry within a tree structure (like a Git tree).
Defined Under Namespace
Modules: ObjectType
Instance Attribute Summary collapse
-
#mode ⇒ ::String
readonly
Output only.
-
#path ⇒ ::String
readonly
Output only.
-
#sha ⇒ ::String
readonly
Output only.
-
#size ⇒ ::Integer
readonly
Output only.
-
#type ⇒ ::Google::Cloud::SecureSourceManager::V1::TreeEntry::ObjectType
readonly
Output only.
Instance Attribute Details
#mode ⇒ ::String (readonly)
Returns Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.
1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 1458 class TreeEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the type of object the TreeEntry represents. module ObjectType # Default value, indicating the object type is unspecified. OBJECT_TYPE_UNSPECIFIED = 0 # Represents a directory (folder). TREE = 1 # Represents a file (contains file data). BLOB = 2 # Represents a pointer to another repository (submodule). COMMIT = 3 end end |
#path ⇒ ::String (readonly)
Returns Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.
1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 1458 class TreeEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the type of object the TreeEntry represents. module ObjectType # Default value, indicating the object type is unspecified. OBJECT_TYPE_UNSPECIFIED = 0 # Represents a directory (folder). TREE = 1 # Represents a file (contains file data). BLOB = 2 # Represents a pointer to another repository (submodule). COMMIT = 3 end end |
#sha ⇒ ::String (readonly)
Returns Output only. The SHA-1 hash of the object (unique identifier). Output-only.
1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 1458 class TreeEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the type of object the TreeEntry represents. module ObjectType # Default value, indicating the object type is unspecified. OBJECT_TYPE_UNSPECIFIED = 0 # Represents a directory (folder). TREE = 1 # Represents a file (contains file data). BLOB = 2 # Represents a pointer to another repository (submodule). COMMIT = 3 end end |
#size ⇒ ::Integer (readonly)
Returns Output only. The size of the object in bytes (only for blobs). Output-only.
1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 1458 class TreeEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the type of object the TreeEntry represents. module ObjectType # Default value, indicating the object type is unspecified. OBJECT_TYPE_UNSPECIFIED = 0 # Represents a directory (folder). TREE = 1 # Represents a file (contains file data). BLOB = 2 # Represents a pointer to another repository (submodule). COMMIT = 3 end end |
#type ⇒ ::Google::Cloud::SecureSourceManager::V1::TreeEntry::ObjectType (readonly)
Returns Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.
1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 1458 class TreeEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the type of object the TreeEntry represents. module ObjectType # Default value, indicating the object type is unspecified. OBJECT_TYPE_UNSPECIFIED = 0 # Represents a directory (folder). TREE = 1 # Represents a file (contains file data). BLOB = 2 # Represents a pointer to another repository (submodule). COMMIT = 3 end end |