Class Source
Source describes the location of the source used for the build.
Implements
Inherited Members
Namespace: Google.Apis.OnDemandScanning.v1beta1.Data
Assembly: Google.Apis.OnDemandScanning.v1beta1.dll
Syntax
public class Source : IDirectResponseSchema
Properties
AdditionalContexts
If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
Declaration
[JsonProperty("additionalContexts")]
public virtual IList<SourceContext> AdditionalContexts { get; set; }
Property Value
Type | Description |
---|---|
IList<SourceContext> |
ArtifactStorageSourceUri
If provided, the input binary artifacts for the build came from this location.
Declaration
[JsonProperty("artifactStorageSourceUri")]
public virtual string ArtifactStorageSourceUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Context
If provided, the source code used for the build came from this location.
Declaration
[JsonProperty("context")]
public virtual SourceContext Context { get; set; }
Property Value
Type | Description |
---|---|
SourceContext |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FileHashes
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
Declaration
[JsonProperty("fileHashes")]
public virtual IDictionary<string, FileHashes> FileHashes { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, FileHashes> |