gcloud alpha functions local call

NAME
gcloud alpha functions local call - call a locally deployed Google Cloud Function
SYNOPSIS
gcloud alpha functions local call NAME [--cloud-event=CLOUD_EVENT     | --data=DATA] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) gcloud alpha functions local call Call a locally deployed Google Cloud Function.
POSITIONAL ARGUMENTS
NAME
Name of the locally deployed Google Cloud function.
FLAGS
At most one of these can be specified:
--cloud-event=CLOUD_EVENT
JSON encoded string with a CloudEvent in structured content mode.

Mutually exclusive with --data flag.

Use for Cloud Functions 2nd Gen CloudEvent functions. The CloudEvent object will be sent to your function as a binary content mode message with the top-level 'data' field set as the HTTP body and all other JSON fields sent as HTTP headers.

--data=DATA
JSON string with data that will be passed to the function.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.