Class Source
Source describes the location of the source used for the build.
Implements
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1alpha1.Data
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.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<GoogleDevtoolsContaineranalysisV1alpha1SourceContext> AdditionalContexts { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleDevtoolsContaineranalysisV1alpha1SourceContext> |
ArtifactStorageSource
If provided, the input binary artifacts for the build came from this location.
Declaration
[JsonProperty("artifactStorageSource")]
public virtual StorageSource ArtifactStorageSource { get; set; }
Property Value
Type | Description |
---|---|
StorageSource |
Context
If provided, the source code used for the build came from this location.
Declaration
[JsonProperty("context")]
public virtual GoogleDevtoolsContaineranalysisV1alpha1SourceContext Context { get; set; }
Property Value
Type | Description |
---|---|
GoogleDevtoolsContaineranalysisV1alpha1SourceContext |
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> |
RepoSource
If provided, get source from this location in a Cloud Repo.
Declaration
[JsonProperty("repoSource")]
public virtual RepoSource RepoSource { get; set; }
Property Value
Type | Description |
---|---|
RepoSource |
StorageSource
If provided, get the source from this location in Google Cloud Storage.
Declaration
[JsonProperty("storageSource")]
public virtual StorageSource StorageSource { get; set; }
Property Value
Type | Description |
---|---|
StorageSource |