SourceResponse constructor

const SourceResponse({
  1. required Input<String> gitUri,
  2. required Input<RepoSourceResponse> repoSource,
  3. required Input<StorageSourceResponse> storageSource,
})

Creates a new SourceResponse. gitUri If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob// repoSource If provided, get the source from this location in a Cloud Source Repository. storageSource If provided, get the source from this location in Google Cloud Storage.

Implementation

const SourceResponse({
  required this.gitUri,
  required this.repoSource,
  required this.storageSource,
});