# Google Cloud Memorystore for Memcached v1beta2 API - Class ApplySoftwareUpdateRequest (2.0.0-beta07)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta07 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.ApplySoftwareUpdateRequest)
- [2.0.0-beta06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/2.0.0-beta06/Google.Cloud.Memcache.V1Beta2.ApplySoftwareUpdateRequest)
- [1.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/1.0.0-beta05/Google.Cloud.Memcache.V1Beta2.ApplySoftwareUpdateRequest)

    public sealed class ApplySoftwareUpdateRequest : IMessage<ApplySoftwareUpdateRequest>, IEquatable<ApplySoftwareUpdateRequest>, IDeepCloneable<ApplySoftwareUpdateRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Memorystore for Memcached v1beta2 API class ApplySoftwareUpdateRequest.

Request for \[ApplySoftwareUpdate\]\[google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ApplySoftwareUpdateRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ApplySoftwareUpdateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.ApplySoftwareUpdateRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ApplySoftwareUpdateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.ApplySoftwareUpdateRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ApplySoftwareUpdateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.ApplySoftwareUpdateRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Memcache.V1Beta2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2)

## Assembly

Google.Cloud.Memcache.V1Beta2.dll

## Constructors

### ApplySoftwareUpdateRequest()

    public ApplySoftwareUpdateRequest()

### ApplySoftwareUpdateRequest(ApplySoftwareUpdateRequest)

    public ApplySoftwareUpdateRequest(ApplySoftwareUpdateRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.ApplySoftwareUpdateRequest` |

## Properties

### ApplyAll

    public bool ApplyAll { get; set; }

Whether to apply the update to all nodes. If set to
true, will explicitly restrict users from specifying any nodes, and apply
software update to all nodes (where applicable) within the instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Instance

    public string Instance { get; set; }

Required. Resource name of the Memcached instance for which software update should be
applied.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### InstanceAsInstanceName

    public InstanceName InstanceAsInstanceName { get; set; }

[InstanceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.InstanceName)-typed view over the [Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.ApplySoftwareUpdateRequest#Google_Cloud_Memcache_V1Beta2_ApplySoftwareUpdateRequest_Instance) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.InstanceName` |   |

### NodeIds

    public RepeatedField<string> NodeIds { get; }

Nodes to which we should apply the update to. Note all the selected nodes
are updated in parallel.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |