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
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1beta1.Data
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class SourceContext : IDirectResponseSchema
Properties
CloudRepo
A SourceContext referring to a revision in a Google Cloud Source Repo.
Declaration
[JsonProperty("cloudRepo")]
public virtual CloudRepoSourceContext CloudRepo { get; set; }
Property Value
Type | Description |
---|---|
CloudRepoSourceContext |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Gerrit
A SourceContext referring to a Gerrit project.
Declaration
[JsonProperty("gerrit")]
public virtual GerritSourceContext Gerrit { get; set; }
Property Value
Type | Description |
---|---|
GerritSourceContext |
Git
A SourceContext referring to any third party Git repo (e.g., GitHub).
Declaration
[JsonProperty("git")]
public virtual GitSourceContext Git { get; set; }
Property Value
Type | Description |
---|---|
GitSourceContext |
Labels
Labels with user defined metadata.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |