Function_ class

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

It encapsulates function and trigger configurations.

Constructors

Function_({BuildConfig? buildConfig, String? createTime, String? description, String? environment, EventTrigger? eventTrigger, String? kmsKeyName, Map<String, String>? labels, String? name, bool? satisfiesPzs, ServiceConfig? serviceConfig, String? state, List<GoogleCloudFunctionsV2StateMessage>? stateMessages, String? updateTime, UpgradeInfo? upgradeInfo, String? url})
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
createTime String?
The create timestamp of a Cloud Function.
getter/setter pair
description String?
User-provided description of a function.
getter/setter pair
environment String?
Describe whether the function is 1st Gen or 2nd Gen. 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
kmsKeyName String?
[Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.
getter/setter pair
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
satisfiesPzs bool?
Reserved for future use.
getter/setter pair
serviceConfig ServiceConfig?
Describes the Service being deployed.
getter/setter pair
state String?
State of the function.
getter/setter pair
stateMessages List<GoogleCloudFunctionsV2StateMessage>?
State Messages for this Cloud Function.
getter/setter pair
updateTime String?
The last update timestamp of a Cloud Function.
getter/setter pair
upgradeInfo UpgradeInfo?
UpgradeInfo for this Cloud Function
getter/setter pair
url String?
The deployed url for the 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