# Google Cloud Network Services V1 Client - Class UpdateWasmPluginRequest (0.8.2)

0.8.2 (latest) 0.8.1 0.7.1 0.6.1 0.5.0 0.4.0 0.3.0 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Network Services V1 Client class UpdateWasmPluginRequest.

Request used by the `UpdateWasmPlugin` method.

Generated from protobuf message `google.cloud.networkservices.v1.UpdateWasmPluginRequest`

## Namespace

Google \\ Cloud \\ NetworkServices \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Used to specify the fields to be overwritten in the `WasmPlugin` resource by the update. The fields specified in the `update_mask` field are relative to the resource, not the full request. An omitted `update_mask` field is treated as an implied `update_mask` field equivalent to all fields that are populated (that have a non-empty value). The `update_mask` field supports a special value `*`, which means that each field in the given `WasmPlugin` resource (including the empty ones) replaces the current value. |
| `↳ wasm_plugin` | `https://docs.cloud.google.com/php/docs/reference/cloud-networkservices/latest/V1.WasmPlugin` Required. Updated `WasmPlugin` resource. |

### getUpdateMask

Optional. Used to specify the fields to be overwritten in the
`WasmPlugin` resource by the update.

The fields specified in the `update_mask` field are relative to the
resource, not the full request.
An omitted `update_mask` field is treated as an implied `update_mask`
field equivalent to all fields that are populated (that have a non-empty
value).
The `update_mask` field supports a special value `*`, which means that
each field in the given `WasmPlugin` resource (including the empty ones)
replaces the current value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. Used to specify the fields to be overwritten in the
`WasmPlugin` resource by the update.

The fields specified in the `update_mask` field are relative to the
resource, not the full request.
An omitted `update_mask` field is treated as an implied `update_mask`
field equivalent to all fields that are populated (that have a non-empty
value).
The `update_mask` field supports a special value `*`, which means that
each field in the given `WasmPlugin` resource (including the empty ones)
replaces the current value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getWasmPlugin

Required. Updated `WasmPlugin` resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-networkservices/latest/V1.WasmPlugin|null` |   |

### hasWasmPlugin

### clearWasmPlugin

### setWasmPlugin

Required. Updated `WasmPlugin` resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-networkservices/latest/V1.WasmPlugin` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `wasmPlugin` | `https://docs.cloud.google.com/php/docs/reference/cloud-networkservices/latest/V1.WasmPlugin` Required. Updated `WasmPlugin` resource. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Used to specify the fields to be overwritten in the `WasmPlugin` resource by the update. The fields specified in the `update_mask` field are relative to the resource, not the full request. An omitted `update_mask` field is treated as an implied `update_mask` field equivalent to all fields that are populated (that have a non-empty value). The `update_mask` field supports a special value `*`, which means that each field in the given `WasmPlugin` resource (including the empty ones) replaces the current value. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-networkservices/latest/V1.UpdateWasmPluginRequest` |   |