Developer Connect v1 API - Class FileDiff (1.0.0-beta05)

public sealed class FileDiff : IMessage<FileDiff>, IEquatable<FileDiff>, IDeepCloneable<FileDiff>, IBufferMessage, IMessage

Reference documentation and code samples for the Developer Connect v1 API class FileDiff.

Message for a file diff.

Inheritance

object > FileDiff

Namespace

Google.Cloud.DeveloperConnect.V1

Assembly

Google.Cloud.DeveloperConnect.V1.dll

Constructors

FileDiff()

public FileDiff()

FileDiff(FileDiff)

public FileDiff(FileDiff other)
Parameter
Name Description
other FileDiff

Properties

Patch

public string Patch { get; set; }

Standard unified diff patch hunk for the file. Only populated when path_filters is specified in the request; otherwise empty.

Property Value
Type Description
string

Path

public string Path { get; set; }

Relative path to the file in the repository.

Property Value
Type Description
string

Status

public string Status { get; set; }

Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".

Property Value
Type Description
string