*`name` - (Required) A user-defined name of the function. Function names must be unique globally.
*`source_archive_bucket` - (Required) The GCS bucket containing the zip archive which contains the function.
*`source_archive_object` - (Required) The source archive object (file) in archive bucket.
- - -
*`description` - (Optional) Description of the function.
*`available_memory_mb` - (Optional) Memory (in MB), available to the function. Default value is 256MB. Allowed values are: 128MB, 256MB, 512MB, 1024MB, and 2048MB.
*`timeout` - (Optional) Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds.
*`entry_point` - (Optional) Name of a JavaScript function that will be executed when the Google Cloud Function is triggered.
*`trigger_http` - (Optional) Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as `https_trigger_url`. Cannot be used with `trigger_bucket` and `trigger_topic`.
*`trigger_bucket` - (Optional) Google Cloud Storage bucket name. Every change in files in this bucket will trigger function execution. Cannot be used with `trigger_http` and `trigger_topic`.
*`trigger_topic` - (Optional) Name of Pub/Sub topic. Every message published in this topic will trigger function execution with message contents passed as input data. Cannot be used with `trigger_http` and `trigger_bucket`.
*`labels` - (Optional) A set of key/value label pairs to assign to the function.
*`retry_on_failure` - (Optional) Whether the function should be retried on failure. This only applies to bucket and topic triggers, not HTTPS triggers.