Storage Batch Operations v1 API - Class UpdateObjectCustomContext (1.0.0-beta05)

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 > UpdateObjectCustomContext

Namespace

Google.Cloud.StorageBatchOperations.V1

Assembly

Google.Cloud.StorageBatchOperations.V1.dll

Constructors

UpdateObjectCustomContext()

public UpdateObjectCustomContext()

UpdateObjectCustomContext(UpdateObjectCustomContext)

public UpdateObjectCustomContext(UpdateObjectCustomContext other)
Parameter
Name Description
other UpdateObjectCustomContext

Properties

ActionCase

public UpdateObjectCustomContext.ActionOneofCase ActionCase { get; }
Property Value
Type Description
UpdateObjectCustomContextActionOneofCase

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
bool

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
CustomContextUpdates

HasClearAll

public bool HasClearAll { get; }

Gets whether the "clear_all" field is set

Property Value
Type Description
bool