---
title: WasmPlugin
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > WasmPlugin
---

# WasmPlugin

WasmPlugin is a Google Cloud resource used to extend the functionality of Envoy-based service proxies with WebAssembly (Wasm) modules. It allows developers to dynamically load and run custom logic, such as authentication, telemetry, or traffic manipulation, without modifying the proxy code. This enables flexible and efficient customization of service behavior in GKE, Anthos, or other GCP-managed environments.

```
gcp.networkservices_wasm_plugin
```

## Fields

| Title                | ID   | Type          | Data Type                                                                                                                                                                                                                                               | Description |
| -------------------- | ---- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                 | core | string        |
| ancestors            | core | array<string> |
| create_time          | core | timestamp     | Output only. The timestamp when the resource was created.                                                                                                                                                                                               |
| datadog_display_name | core | string        |
| description          | core | string        | Optional. A human-readable description of the resource.                                                                                                                                                                                                 |
| labels               | core | array<string> | Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).                                                                             |
| log_config           | core | json          | Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging. Note that the settings relate to the logs generated by using logging statements in your Wasm code. |
| main_version_id      | core | string        | Optional. The ID of the `WasmPluginVersion` resource that is the currently serving one. The version referred to must be a child of this `WasmPlugin` resource.                                                                                          |
| name                 | core | string        | Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.                                                                                                             |
| organization_id      | core | string        |
| parent               | core | string        |
| project_id           | core | string        |
| project_number       | core | string        |
| region_id            | core | string        |
| resource_name        | core | string        |
| tags                 | core | hstore_csv    |
| update_time          | core | timestamp     | Output only. The timestamp when the resource was updated.                                                                                                                                                                                               |
| used_by              | core | json          | Output only. List of all [extensions](https://cloud.google.com/service-extensions/docs/overview) that use this `WasmPlugin` resource.                                                                                                                   |
| zone_id              | core | string        |
