gcloud beta service-extensions wasm-plugin-versions create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta service-extensions wasm-plugin-versions create - create a
WasmPluginVersionresource
- gcloud beta service-extensions wasm-plugin-versions create - create a
- 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 newWasmPluginVersionresource.- EXAMPLES
- To create a
WasmPluginVersioncalledmy-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 the
WasmPluginVersionresource 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 the
projectattribute:- provide the argument
wasm_plugin_versionon the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
WASM_PLUGIN_VERSION- ID of the WasmPluginVersion or fully qualified identifier for theWasmPluginVersion.
To set the
wasm_plugin_versionattribute:- provide the argument
wasm_plugin_versionon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location ID.To set the
locationattribute:- provide the argument
wasm_plugin_versionon the command line with afully specified name; - provide the argument
--locationon the command line; - use global location.
- provide the argument
--wasm-plugin=WASM_PLUGIN- The ID of the
WasmPlugin.To set the
wasm-pluginattribute:- provide the argument
wasm_plugin_versionon the command line with afully specified name; - provide the argument
--wasm-pluginon the command line.
- provide the argument
- provide the argument
- WasmPluginVersion resource - The ID of the
- 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 the
on_configurefunction (Rust Proxy-Wasm SDK) or theonConfiguremethod (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 helpfor details. - API REFERENCE
- This command uses the
networkservices/v1beta1API. 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-versionscreategcloudalphaservice-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.