SourceResponse constructor

const SourceResponse({
  1. required Input<ConnectedRepositoryResponse> connectedRepository,
  2. required Input<GitSourceResponse> gitSource,
  3. required Input<RepoSourceResponse> repoSource,
  4. required Input<StorageSourceResponse> storageSource,
  5. required Input<StorageSourceManifestResponse> storageSourceManifest,
})

Creates a new SourceResponse. 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 SourceResponse({
  required this.connectedRepository,
  required this.gitSource,
  required this.repoSource,
  required this.storageSource,
  required this.storageSourceManifest,
});