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

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

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

A SourceContext referring to a Gerrit project.

Inheritance

object > GerritSourceContext

Namespace

Google.Cloud.DevTools.Source.V1

Assembly

Google.Cloud.DevTools.Common.dll

Constructors

GerritSourceContext()

public GerritSourceContext()

GerritSourceContext(GerritSourceContext)

public GerritSourceContext(GerritSourceContext other)
Parameter
NameDescription
otherGerritSourceContext

Properties

AliasContext

public AliasContext AliasContext { get; set; }

An alias, which may be a branch or tag.

Property Value
TypeDescription
AliasContext

AliasName

public string AliasName { get; set; }

The name of an alias (branch, tag, etc.).

Property Value
TypeDescription
string

GerritProject

public string GerritProject { get; set; }

The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.

Property Value
TypeDescription
string

HostUri

public string HostUri { get; set; }

The URI of a running Gerrit instance.

Property Value
TypeDescription
string

RevisionCase

public GerritSourceContext.RevisionOneofCase RevisionCase { get; }
Property Value
TypeDescription
GerritSourceContextRevisionOneofCase

RevisionId

public string RevisionId { get; set; }

A revision (commit) ID.

Property Value
TypeDescription
string