Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::FileDiff (v2.2.0)

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

#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.