SourceArgs

data class SourceArgs(val additionalContexts: Output<List<GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs>>? = null, val artifactStorageSource: Output<StorageSourceArgs>? = null, val context: Output<GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs>? = null, val fileHashes: Output<Map<String, String>>? = null, val repoSource: Output<RepoSourceArgs>? = null, val storageSource: Output<StorageSourceArgs>? = null) : ConvertibleToJava<SourceArgs>

Source describes the location of the source used for the build.

Constructors

Link copied to clipboard
fun SourceArgs(additionalContexts: Output<List<GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs>>? = null, artifactStorageSource: Output<StorageSourceArgs>? = null, context: Output<GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs>? = null, fileHashes: Output<Map<String, String>>? = null, repoSource: Output<RepoSourceArgs>? = null, storageSource: Output<StorageSourceArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SourceArgs

Properties

Link copied to clipboard

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.

Link copied to clipboard

If provided, the input binary artifacts for the build came from this location.

Link copied to clipboard

If provided, the source code used for the build came from this location.

Link copied to clipboard
val fileHashes: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val repoSource: Output<RepoSourceArgs>? = null

If provided, get source from this location in a Cloud Repo.

Link copied to clipboard
val storageSource: Output<StorageSourceArgs>? = null

If provided, get the source from this location in Google Cloud Storage.