Source constructor

const Source({
  1. Input<ConnectedRepository>? connectedRepository,
  2. Input<GitSource>? gitSource,
  3. Input<RepoSource>? repoSource,
  4. Input<StorageSource>? storageSource,
  5. Input<StorageSourceManifest>? storageSourceManifest,
})

Creates a new Source. connectedRepository Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. gitSource If provided, get the source from this Git repository. repoSource If provided, get the source from this location in a Cloud Source Repository. storageSource If provided, get the source from this location in Cloud Storage. storageSourceManifest If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.

Implementation

const Source({
  this.connectedRepository,
  this.gitSource,
  this.repoSource,
  this.storageSource,
  this.storageSourceManifest,
});