Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::FileDiff (v1.9.0)

Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::FileDiff.

Message for a file diff.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#patch

def patch() -> ::String
Returns
  • (::String) — Standard unified diff patch hunk for the file. Only populated when path_filters is specified in the request; otherwise empty.

#patch=

def patch=(value) -> ::String
Parameter
  • value (::String) — Standard unified diff patch hunk for the file. Only populated when path_filters is specified in the request; otherwise empty.
Returns
  • (::String) — Standard unified diff patch hunk for the file. Only populated when path_filters is specified in the request; otherwise empty.

#path

def path() -> ::String
Returns
  • (::String) — Relative path to the file in the repository.

#path=

def path=(value) -> ::String
Parameter
  • value (::String) — Relative path to the file in the repository.
Returns
  • (::String) — Relative path to the file in the repository.

#status

def status() -> ::String
Returns
  • (::String) — Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".

#status=

def status=(value) -> ::String
Parameter
  • value (::String) — Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".
Returns
  • (::String) — Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".