Function_ class

Describes a Cloud Function that contains user computation executed in response to an event.

It encapsulate function and triggers configurations.

Constructors

Function_({BuildConfig? buildConfig, String? description, String? environment, EventTrigger? eventTrigger, Map<String, String>? labels, String? name, ServiceConfig? serviceConfig, String? state, List<GoogleCloudFunctionsV2betaStateMessage>? stateMessages, String? updateTime})
Function_.fromJson(Map _json)

Properties

buildConfig BuildConfig?
Describes the Build step of the function that builds a container from the given source.
getter/setter pair
description String?
User-provided description of a function.
getter/setter pair
environment String?
Describe whether the function is gen1 or gen2. Possible string values are:
getter/setter pair
eventTrigger EventTrigger?
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
Labels associated with this Cloud Function.
getter/setter pair
name String?
A user-defined name of the function.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceConfig ServiceConfig?
Describes the Service being deployed.
getter/setter pair
state String?
State of the function.
getter/setter pair
stateMessages List<GoogleCloudFunctionsV2betaStateMessage>?
State Messages for this Cloud Function.
getter/setter pair
updateTime String?
The last update timestamp of a Cloud Function.
getter/setter pair

Methods

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

Operators

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