FunctionView class
Constructors
-
FunctionView({num? avgDurationMs, String? createdAt, String? endpoint, int? envCount, String? environment, int? errors7d, String? image, int? invocations7d, String? lastDeployedAt, String? memoryLimit, String? name, String? namespace, String? status, num? successRate, String? target, int? timeoutSec})
-
Returns a new FunctionView instance.
Properties
-
avgDurationMs
↔ num?
-
mean wall-clock of those runs
getter/setter pair
-
createdAt
↔ String?
-
when it was first published
getter/setter pair
-
endpoint
↔ String?
-
the path that invokes it
getter/setter pair
-
envCount
↔ int?
-
how many secret NAMES it mounts; values are never carried
getter/setter pair
-
environment
↔ String?
-
the language it runs under
getter/setter pair
-
errors7d
↔ int?
-
how many of those runs failed
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
image
↔ String?
-
the prebuilt image it runs, when it runs one instead of source
getter/setter pair
-
invocations7d
↔ int?
-
runs in the last 7 days; ABSENT, never 0, when it has not run
getter/setter pair
-
lastDeployedAt
↔ String?
-
when its code last changed
getter/setter pair
-
memoryLimit
↔ String?
-
the memory it runs with, and the multiplier on its compute charge
getter/setter pair
-
name
↔ String?
-
the function's org-unique handle
getter/setter pair
-
namespace
↔ String?
-
the display group it belongs to; the org is the isolation key
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
↔ String?
-
whether it is ready to serve
getter/setter pair
-
successRate
↔ num?
-
share of those runs that succeeded, 0..1
getter/setter pair
-
target
↔ String?
-
where it runs: empty for the sandbox, "fleet" for the org's GPU fleet
getter/setter pair
-
timeoutSec
↔ int?
-
its per-invocation deadline
getter/setter pair