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

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

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

Describes the payload of a user defined object custom context.

Inheritance

object > ObjectCustomContextPayload

Namespace

Google.Cloud.StorageBatchOperations.V1

Assembly

Google.Cloud.StorageBatchOperations.V1.dll

Constructors

ObjectCustomContextPayload()

public ObjectCustomContextPayload()

ObjectCustomContextPayload(ObjectCustomContextPayload)

public ObjectCustomContextPayload(ObjectCustomContextPayload other)
Parameter
Name Description
other ObjectCustomContextPayload

Properties

HasValue

public bool HasValue { get; }

Gets whether the "value" field is set

Property Value
Type Description
bool

Value

public string Value { get; set; }

The value of the object custom context. If set, value must NOT be an empty string since it is a required field in custom context. If unset, value will be ignored and no changes will be made to the value field of the custom context payload.

Property Value
Type Description
string