# Method: projects.locations.wasmPlugins.patch

- [HTTP request](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins/patch#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins/patch#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins/patch#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins/patch#body.request_body)
- [Response body](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins/patch#body.response_body)
- [IAM Permissions](https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins/patch#body.aspect)

Updates the parameters of the specified `WasmPlugin` resource.

### HTTP request

`PATCH https://networkservices.googleapis.com/v1beta1/{wasmPlugin.name=projects/*/locations/*/wasmPlugins/*}`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `wasmPlugin.name` | `string` Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. |

### Query parameters

| Parameters ||
|---|---|
| `updateMask` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` format)`` Optional. Used to specify the fields to be overwritten in the `WasmPlugin` resource by the update. The fields specified in the `updateMask` field are relative to the resource, not the full request. An omitted `updateMask` field is treated as an implied `updateMask` field equivalent to all fields that are populated (that have a non-empty value). The `updateMask` field supports a special value `*`, which means that each field in the given `WasmPlugin` resource (including the empty ones) replaces the current value. This is a comma-separated list of fully qualified names of fields. Example: `"user.displayName,photo"`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `updateMask`: - `networkservices.wasmPlugins.update` |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins#WasmPlugin`.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/service-extensions/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation`.

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:

- `networkservices.wasmPlugins.update`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).