Source class

The location of the function source code.

Constructors

Source({Input<String>? gitUri, Input<RepoSource>? repoSource, Input<StorageSource>? storageSource})
Creates a new Source. 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.
const
Source.fromMap(Map<String, dynamic> map)
factory

Properties

gitUri → Input<String>?
If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob//
final
hashCode → int
The hash code for this object.
no setterinherited
repoSource → Input<RepoSource>?
If provided, get the source from this location in a Cloud Source Repository.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storageSource → Input<StorageSource>?
If provided, get the source from this location in Google Cloud Storage.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited