Function$ class final

Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.

Constructors

Function$({String name = '', String description = '', BuildConfig? buildConfig, ServiceConfig? serviceConfig, EventTrigger? eventTrigger, Function$_State state = Function$_State.$default, Timestamp? updateTime, Map<String, String> labels = const {}, List<StateMessage> stateMessages = const [], Environment environment = Environment.$default, String url = '', String kmsKeyName = '', bool satisfiesPzs = false, Timestamp? createTime})
Function$.fromJson(Object? j)
factory

Properties

buildConfig → BuildConfig?
Describes the Build step of the function that builds a container from the given source.
final
createTime → Timestamp?
Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
final
description → String
User-provided description of a function.
final
environment → Environment
Describe whether the function is 1st Gen or 2nd Gen.
final
eventTrigger → EventTrigger?
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
final
hashCode → int
The hash code for this object.
no setterinherited
kmsKeyName → String
Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.
final
labels → Map<String, String>
Labels associated with this Cloud Function.
final
name → String
A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*
final
qualifiedName → String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
satisfiesPzs → bool
Output only. Reserved for future use.
final
serviceConfig → ServiceConfig?
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
final
state → Function$_State
Output only. State of the function.
final
stateMessages → List<StateMessage>
Output only. State Messages for this Cloud Function.
final
updateTime → Timestamp?
Output only. The last update timestamp of a Cloud Function.
final
url → String
Output only. The deployed url for the function.
final

Methods

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

Operators

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

Constants

fullyQualifiedName → const String