public sealed class ObjectCustomContextPayload : IMessage<ObjectCustomContextPayload>, IEquatable<ObjectCustomContextPayload>, IDeepCloneable<ObjectCustomContextPayload>, IBufferMessage, IMessageReference documentation and code samples for the Storage Batch Operations v1 API class ObjectCustomContextPayload.
Describes the payload of a user defined object custom context.
Implements
IMessageObjectCustomContextPayload, IEquatableObjectCustomContextPayload, IDeepCloneableObjectCustomContextPayload, IBufferMessage, IMessageNamespace
Google.Cloud.StorageBatchOperations.V1Assembly
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 |
|