1.0.0 (latest) 1.0.0-beta06

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

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

Describes options to update object custom contexts.

## Inheritance

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

## Implements

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

### UpdateObjectCustomContext()

    public UpdateObjectCustomContext()

### UpdateObjectCustomContext(UpdateObjectCustomContext)

    public UpdateObjectCustomContext(UpdateObjectCustomContext other)

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

## Properties

### ActionCase

    public UpdateObjectCustomContext.ActionOneofCase ActionCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.UpdateObjectCustomContexthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.UpdateObjectCustomContext.ActionOneofCase` |   |

### ClearAll

    public bool ClearAll { get; set; }

If set, must be set to true and all existing object custom contexts will be deleted.

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

### CustomContextUpdates

    public CustomContextUpdates CustomContextUpdates { get; set; }

A collection of updates to apply to specific custom contexts. Use this to add, update or delete individual contexts by key.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CustomContextUpdates` |   |

### HasClearAll

    public bool HasClearAll { get; }

Gets whether the "clear_all" field is set

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