Class: Google::Cloud::SecureSourceManager::V1::FileDiff
- Inherits:
-
Object
- Object
- Google::Cloud::SecureSourceManager::V1::FileDiff
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb
Overview
Metadata of a FileDiff. FileDiff represents a single file diff in a pull request.
Defined Under Namespace
Modules: Action
Instance Attribute Summary collapse
-
#action ⇒ ::Google::Cloud::SecureSourceManager::V1::FileDiff::Action
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#patch ⇒ ::String
readonly
Output only.
-
#sha ⇒ ::String
readonly
Output only.
Instance Attribute Details
#action ⇒ ::Google::Cloud::SecureSourceManager::V1::FileDiff::Action (readonly)
Returns Output only. The action taken on the file (eg. added, modified, deleted).
627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 627 class FileDiff include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Action taken on the file. module Action # Unspecified. ACTION_UNSPECIFIED = 0 # The file was added. ADDED = 1 # The file was modified. MODIFIED = 2 # The file was deleted. DELETED = 3 end end |
#name ⇒ ::String (readonly)
Returns Output only. The name of the file.
627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 627 class FileDiff include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Action taken on the file. module Action # Unspecified. ACTION_UNSPECIFIED = 0 # The file was added. ADDED = 1 # The file was modified. MODIFIED = 2 # The file was deleted. DELETED = 3 end end |
#patch ⇒ ::String (readonly)
Returns Output only. The git patch containing the file changes.
627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 627 class FileDiff include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Action taken on the file. module Action # Unspecified. ACTION_UNSPECIFIED = 0 # The file was added. ADDED = 1 # The file was modified. MODIFIED = 2 # The file was deleted. DELETED = 3 end end |
#sha ⇒ ::String (readonly)
Returns Output only. The commit pointing to the file changes.
627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 627 class FileDiff include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Action taken on the file. module Action # Unspecified. ACTION_UNSPECIFIED = 0 # The file was added. ADDED = 1 # The file was modified. MODIFIED = 2 # The file was deleted. DELETED = 3 end end |