Google.Cloud.DevTools.Common - Class GitSourceContext (3.1.1)

public sealed class GitSourceContext : IMessage<GitSourceContext>, IMessage, IEquatable<GitSourceContext>, IDeepCloneable<GitSourceContext>

Reference documentation and code samples for the Google.Cloud.DevTools.Common class GitSourceContext.

A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).

Inheritance

object > GitSourceContext

Namespace

Google.Cloud.DevTools.Source.V1

Assembly

Google.Cloud.DevTools.Common.dll

Constructors

GitSourceContext()

public GitSourceContext()

GitSourceContext(GitSourceContext)

public GitSourceContext(GitSourceContext other)
Parameter
NameDescription
otherGitSourceContext

Properties

RevisionId

public string RevisionId { get; set; }

Git commit hash. required.

Property Value
TypeDescription
string

Url

public string Url { get; set; }

Git repository URL.

Property Value
TypeDescription
string