HttpsOptions extension type

Options that can be set on an onRequest HTTPS function.

on
Implemented types
Implementers
Available extensions

Constructors

HttpsOptions({JSAny? omit, JSAny? region, JSAny? cors, JSAny? memory, JSAny? timeoutSeconds, JSAny? minInstances, JSAny? maxInstances, JSAny? concurrency, JSAny? cpu, JSAny? vpcConnector, JSAny? vpcConnectorEgressSettings, JSAny? serviceAccount, JSAny? ingressSettings, JSAny? labels, JSAny? secrets, JSAny? invoker})
Constructor

Properties

concurrency JSAny?
Number of requests a function can serve at once.
no setter
cors JSAny?
If true, allows CORS on requests to this function. If this is a string or RegExp, allows requests from domains that match the provided value. If this is an Array, allows requests from domains matching at least one entry of the array. Defaults to true for {@link https.CallableFunction} and false otherwise.
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
ingressSettings JSAny?
Ingress settings which control where this function can be called from.
no setter
invoker JSAny?
Invoker to set access control on https functions.
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
region JSAny?
HTTP functions can override global options and can specify multiple regions to deploy to.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secrets 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