gcloud beta service-extensions wasm-plugin-versions create

NAME
gcloud beta service-extensions wasm-plugin-versions create - create aWasmPluginVersion resource
SYNOPSIS
gcloud beta service-extensions wasm-plugin-versions create(WASM_PLUGIN_VERSION :--location=LOCATION--wasm-plugin=WASM_PLUGIN)--image=IMAGE[--async][--description=DESCRIPTION][--labels=[KEY=VALUE,…]][--plugin-config=PLUGIN_CONFIG    |--plugin-config-file=PATH_TO_FILE    |--plugin-config-uri=PLUGIN_CONFIG_URI][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Create a newWasmPluginVersion resource.
EXAMPLES
To create aWasmPluginVersion calledmy-plugin-version, run:
gcloudbetaservice-extensionswasm-plugin-versionscreatemy-plugin-version--wasm-plugin=my-plugin--image=…-docker.pkg.dev/my-project/repository/container:tag
POSITIONAL ARGUMENTS
WasmPluginVersion resource - The ID of theWasmPluginVersionresource to create. The arguments in this group can be used to specify theattributes of this resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.

To set theproject attribute:

  • provide the argumentwasm_plugin_version on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

WASM_PLUGIN_VERSION
ID of the WasmPluginVersion or fully qualified identifier for theWasmPluginVersion.

To set thewasm_plugin_version attribute:

  • provide the argumentwasm_plugin_version on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location ID.To set thelocation attribute:
  • provide the argumentwasm_plugin_version on the command line with afully specified name;
  • provide the argument--location on the command line;
  • use global location.
--wasm-plugin=WASM_PLUGIN
The ID of theWasmPlugin.

To set thewasm-plugin attribute:

  • provide the argumentwasm_plugin_version on the command line with afully specified name;
  • provide the argument--wasm-plugin on the command line.
REQUIRED FLAGS
--image=IMAGE
URI of the image containing the plugin's Wasm module, stored in the ArtifactRegistry.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--description=DESCRIPTION
A human-readable description of the resource.
--labels=[KEY=VALUE,…]
List of KEY=VALUE labels to attach to this resource.
Configuration for the plugin, provided at runtime by theon_configure function (Rust Proxy-Wasm SDK) or theonConfigure method (C++ Proxy-Wasm SDK).At most one of these can be specified:
--plugin-config=PLUGIN_CONFIG
Plugin configuration in the textual format.
--plugin-config-file=PATH_TO_FILE
Path to a file containing the plugin configuration. Use a full or relative pathto a local file containing the value of plugin_config_file.
--plugin-config-uri=PLUGIN_CONFIG_URI
URI of the image containing the plugin's configuration, stored in the ArtifactRegistry.
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.

API REFERENCE
This command uses thenetworkservices/v1beta1 API. The fulldocumentation for this API can be found at:https://cloud.google.com/networking
NOTES
This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudservice-extensionswasm-plugin-versionscreate
gcloudalphaservice-extensionswasm-plugin-versionscreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-05 UTC.