public sealed class GerritSourceContext : IMessage<GerritSourceContext>, IMessage, IEquatable<GerritSourceContext>, IDeepCloneable<GerritSourceContext>
A SourceContext referring to a Gerrit project.
Implements
IMessage<GerritSourceContext>, IMessage, IEquatable<GerritSourceContext>, IDeepCloneable<GerritSourceContext>Namespace
Google.Cloud.DevTools.Source.V1Assembly
Google.Cloud.DevTools.Common.dll
Constructors
GerritSourceContext()
public GerritSourceContext()
GerritSourceContext(GerritSourceContext)
public GerritSourceContext(GerritSourceContext other)
Parameter | |
---|---|
Name | Description |
other | GerritSourceContext |
Properties
AliasContext
public AliasContext AliasContext { get; set; }
An alias, which may be a branch or tag.
Property Value | |
---|---|
Type | Description |
AliasContext |
AliasName
public string AliasName { get; set; }
The name of an alias (branch, tag, etc.).
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
HostUri
public string HostUri { get; set; }
The URI of a running Gerrit instance.
Property Value | |
---|---|
Type | Description |
String |
RevisionCase
public GerritSourceContext.RevisionOneofCase RevisionCase { get; }
Property Value | |
---|---|
Type | Description |
GerritSourceContext.RevisionOneofCase |
RevisionId
public string RevisionId { get; set; }
A revision (commit) ID.
Property Value | |
---|---|
Type | Description |
String |