# Memorystore for Memcached V1 Client - Class UpdateParametersRequest (2.1.2)

2.1.2 (latest) 2.1.1 2.0.4 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Memorystore for Memcached V1 Client class UpdateParametersRequest.

Request for [UpdateParameters](https://docs.cloud.google.com/php/docs/reference/cloud-memcache/latest/V1.Client.CloudMemcacheClient#_Google_Cloud_Memcache_V1_Client_CloudMemcacheClient__updateParameters__).

Generated from protobuf message `google.cloud.memcache.v1.UpdateParametersRequest`

## Namespace

Google \\ Cloud \\ Memcache \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Resource name of the Memcached instance for which the parameters should be updated. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. Mask of fields to update. |
| `↳ parameters` | `https://docs.cloud.google.com/php/docs/reference/cloud-memcache/latest/V1.MemcacheParameters` The parameters to apply to the instance. |

### getName

Required. Resource name of the Memcached instance for which the parameters should be
updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. Resource name of the Memcached instance for which the parameters should be
updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getUpdateMask

Required. Mask of fields to update.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Required. Mask of fields to update.

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

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

### getParameters

The parameters to apply to the instance.

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

### hasParameters

### clearParameters

### setParameters

The parameters to apply to the instance.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Resource name of the Memcached instance for which the parameters should be updated. Please see CloudMemcacheClient::instanceName() for help formatting this field. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. Mask of fields to update. |
| `parameters` | `https://docs.cloud.google.com/php/docs/reference/cloud-memcache/latest/V1.MemcacheParameters` The parameters to apply to the instance. |

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