StorageSource class final
GCS-backed source archive (build_config.source.storage_source). The
archive must be a single zip/tar.gz at gs://{bucket}/{object}.
- Inheritance
-
- Object
- Cloudfunctions2FunctionSourceConfig
- StorageSource
- Annotations
-
- @immutable
Constructors
-
StorageSource({required TfArg<
String> bucket, required TfArg<String> object, TfArg<int> ? generation}) -
const
Properties
-
bucket
→ TfArg<
String> -
GCS bucket name (no
gs://prefix).final -
generation
→ TfArg<
int> ? -
Object generation. Pin to a specific generation for deterministic
deploys; omit for "use latest".
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
object
→ TfArg<
String> -
GCS object key (path within the bucket).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
) → Map< String, Object?> -
Returns the JSON fragment to merge into the
sourceblock.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited