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).
654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 654 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.
654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 654 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.
654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 654 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.
654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 654 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 |