Skip to content

Commit f1bb5d2

Browse files
committed
Update view of Parameters list in v1
styled as a list of parameters (bullet points) instead of raw inline text.
1 parent 5e2c5f8 commit f1bb5d2

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

src/v1/function-builder.ts

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -265,17 +265,25 @@ export function region(
265265
/**
266266
* Configure runtime options for the function.
267267
* @param runtimeOptions Object with optional fields:
268-
* 1. `memory`: amount of memory to allocate to the function, possible values
268+
*
269+
*
270+
* • `memory`: amount of memory to allocate to the function, possible values
269271
* are: '128MB', '256MB', '512MB', '1GB', '2GB', '4GB', and '8GB'.
270-
* 2. `timeoutSeconds`: timeout for the function in seconds, possible values are
272+
*
273+
* • `timeoutSeconds`: timeout for the function in seconds, possible values are
271274
* 0 to 540.
272-
* 3. `failurePolicy`: failure policy of the function, with boolean `true` being
275+
*
276+
* • `failurePolicy`: failure policy of the function, with boolean `true` being
273277
* equivalent to providing an empty retry object.
274-
* 4. `vpcConnector`: id of a VPC connector in same project and region.
275-
* 5. `vpcConnectorEgressSettings`: when a vpcConnector is set, control which
278+
*
279+
* • `vpcConnector`: id of a VPC connector in same project and region.
280+
*
281+
* • `vpcConnectorEgressSettings`: when a vpcConnector is set, control which
276282
* egress traffic is sent through the vpcConnector.
277-
* 6. `serviceAccount`: Specific service account for the function.
278-
* 7. `ingressSettings`: ingress settings for the function, which control where a HTTPS
283+
*
284+
* • `serviceAccount`: Specific service account for the function.
285+
*
286+
* • `ingressSettings`: ingress settings for the function, which control where a HTTPS
279287
* function can be called from.
280288
*
281289
* Value must not be null.

0 commit comments

Comments
 (0)