Complete the code to specify the billing unit for Cloud Functions memory allocation.
memory: [1]The memory for Cloud Functions is specified in megabytes (MB), such as '256MB'.
Complete the code to set the maximum function execution time in seconds.
timeout: [1]The timeout for Cloud Functions is set in seconds with 's' suffix, e.g., '540s' for 9 minutes.
Fix the error in the billing configuration by selecting the correct CPU allocation format.
cpu: [1]CPU allocation in Cloud Functions is specified in millicores, e.g., '1000m' means 1 full CPU.
Fill both blanks to correctly calculate the total billed GB-seconds for a function.
billed_gb_seconds = memory_in_gb [1] execution_time_seconds [2]
The total billed GB-seconds is calculated by multiplying memory in GB by execution time in seconds, then adding any overhead if applicable.
Fill all three blanks to define a pricing formula for Cloud Functions including memory, CPU, and invocation count.
total_cost = (memory_gb [1] memory_rate) + (cpu_units [2] cpu_rate) + (invocations [3] invocation_rate)
The pricing formula multiplies each resource usage by its rate, then sums all costs.