BlockingOptions extension type
All function options plus idToken, accessToken, and refreshToken.
- on
- Implemented types
- Available extensions
Constructors
-
BlockingOptions({bool? idToken, bool? accessToken, bool? refreshToken, JSAny? omit, JSAny? region, JSAny? memory, JSAny? timeoutSeconds, JSAny? minInstances, JSAny? maxInstances, JSAny? concurrency, JSAny? cpu, JSAny? vpcConnector, JSAny? vpcConnectorEgressSettings, JSAny? serviceAccount, JSAny? ingressSettings, JSAny? labels, JSArray<
JSAny> ? secrets}) - Constructor
Properties
- accessToken ↔ bool?
-
Pass the Access Token credential to the function.
getter/setter pair
- concurrency → JSAny?
-
Number of requests a function can serve at once.
no setter
- cpu → JSAny?
-
Fractional number of CPUs to allocate to a function.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- idToken ↔ bool?
-
Pass the ID Token credential to the function.
getter/setter pair
- ingressSettings → JSAny?
-
Ingress settings which control where this function can be called from.
no setter
- labels → JSAny?
-
User labels to set on the function.
no setter
- maxInstances → JSAny?
-
Max number of instances to be running in parallel.
no setter
- memory → JSAny?
-
Amount of memory to allocate to a function.
no setter
- minInstances → JSAny?
-
Min number of actual instances to be running at a given time.
no setter
- omit → JSAny?
-
If true, do not deploy or emulate this function.
no setter
- refreshToken ↔ bool?
-
Pass the Refresh Token credential to the function.
getter/setter pair
- region → JSAny?
-
Region where functions should be deployed.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secrets
→ JSArray<
JSAny> ? -
Secrets to bind to a function.
no setter
- serviceAccount → JSAny?
-
Specific service account for the function to run as.
no setter
- timeoutSeconds → JSAny?
-
Timeout for the function in seconds, possible values are 0 to 540.
HTTPS functions can specify a higher timeout.
no setter
- vpcConnector → JSAny?
-
Connect cloud function to specified VPC connector.
no setter
- vpcConnectorEgressSettings → JSAny?
-
Egress settings for VPC connector.
no setter
Methods
-
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