public sealed class SourceContext : IMessage<SourceContext>, IEquatable<SourceContext>, IDeepCloneable<SourceContext>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class SourceContext.
A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
Implements
IMessageSourceContext, IEquatableSourceContext, IDeepCloneableSourceContext, IBufferMessage, IMessageNamespace
GrafeasV1Assembly
Grafeas.V1.dll
Constructors
SourceContext()
public SourceContext()
SourceContext(SourceContext)
public SourceContext(SourceContext other)
Parameter | |
---|---|
Name | Description |
other | SourceContext |
Properties
CloudRepo
public CloudRepoSourceContext CloudRepo { get; set; }
A SourceContext referring to a revision in a Google Cloud Source Repo.
Property Value | |
---|---|
Type | Description |
CloudRepoSourceContext |
ContextCase
public SourceContext.ContextOneofCase ContextCase { get; }
Property Value | |
---|---|
Type | Description |
SourceContextContextOneofCase |
Gerrit
public GerritSourceContext Gerrit { get; set; }
A SourceContext referring to a Gerrit project.
Property Value | |
---|---|
Type | Description |
GerritSourceContext |
Git
public GitSourceContext Git { get; set; }
A SourceContext referring to any third party Git repo (e.g., GitHub).
Property Value | |
---|---|
Type | Description |
GitSourceContext |
Labels
public MapField<string, string> Labels { get; }
Labels with user defined metadata.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |