1.0.0 (latest) 1.0.0-beta06

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

Reference documentation and code samples for the Storage Batch Operations v1 API class CustomContextUpdates.

Describes a collection of updates to apply to custom contexts identified by key.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CustomContextUpdates](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CustomContextUpdates), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CustomContextUpdates](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CustomContextUpdates), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CustomContextUpdates](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CustomContextUpdates), [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.StorageBatchOperations.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1)

## Assembly

Google.Cloud.StorageBatchOperations.V1.dll

## Constructors

### CustomContextUpdates()

    public CustomContextUpdates()

### CustomContextUpdates(CustomContextUpdates)

    public CustomContextUpdates(CustomContextUpdates other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CustomContextUpdates` |

## Properties

### KeysToClear

    public RepeatedField<string> KeysToClear { get; }

Optional. Custom contexts to clear by key. A key cannot be present in both `updates` and `keys_to_clear`.

| **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` |   |

### Updates

    public MapField<string, ObjectCustomContextPayload> Updates { get; }

Optional. Insert or update the existing custom contexts.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.ObjectCustomContextPayload` |   |