# Memorystore for Memcached V1 Client - Class ApplyParametersRequest (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 ApplyParametersRequest.

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

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

## 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 parameter group updates should be applied. |
| `↳ node_ids` | `string[]` Nodes to which the instance-level parameter group is applied. |
| `↳ apply_all` | `bool` Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and `ApplyParameters` updates all nodes within the instance. |

### getName

Required. Resource name of the Memcached instance for which parameter group updates
should be applied.

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

### setName

Required. Resource name of the Memcached instance for which parameter group updates
should be applied.

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

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

### getNodeIds

Nodes to which the instance-level parameter group is applied.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setNodeIds

Nodes to which the instance-level parameter group is applied.

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

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

### getApplyAll

Whether to apply instance-level parameter group to all nodes. If set to
true, users are restricted from specifying individual nodes, and
`ApplyParameters` updates all nodes within the instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setApplyAll

Whether to apply instance-level parameter group to all nodes. If set to
true, users are restricted from specifying individual nodes, and
`ApplyParameters` updates all nodes within the instance.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Resource name of the Memcached instance for which parameter group updates should be applied. Please see CloudMemcacheClient::instanceName() for help formatting this field. |
| `nodeIds` | `string[]` Nodes to which the instance-level parameter group is applied. |
| `applyAll` | `bool` Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and `ApplyParameters` updates all nodes within the instance. |

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