Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::FileDiff.
Metadata of a FileDiff. FileDiff represents a single file diff in a pull request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action
def action() -> ::Google::Cloud::SecureSourceManager::V1::FileDiff::Action
Returns
- (::Google::Cloud::SecureSourceManager::V1::FileDiff::Action) — Output only. The action taken on the file (eg. added, modified, deleted).
#name
def name() -> ::String
Returns
- (::String) — Output only. The name of the file.
#patch
def patch() -> ::String
Returns
- (::String) — Output only. The git patch containing the file changes.
#sha
def sha() -> ::String
Returns
- (::String) — Output only. The commit pointing to the file changes.