public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessageReference documentation and code samples for the Storage Batch Operations v1 API class OperationMetadata.
Represents the metadata of the long-running operation.
Implements
IMessageOperationMetadata, IEquatableOperationMetadata, IDeepCloneableOperationMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.StorageBatchOperations.V1Assembly
Google.Cloud.StorageBatchOperations.V1.dll
Constructors
OperationMetadata()
public OperationMetadata()OperationMetadata(OperationMetadata)
public OperationMetadata(OperationMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
OperationMetadata |
Properties
ApiVersion
public string ApiVersion { get; set; }Output only. API version used to start the operation.
| Property Value | |
|---|---|
| Type | Description |
string |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The time the operation was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
EndTime
public Timestamp EndTime { get; set; }Output only. The time the operation finished running.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Job
public Job Job { get; set; }Output only. The Job associated with the operation.
| Property Value | |
|---|---|
| Type | Description |
Job |
|
Operation
public string Operation { get; set; }Output only. The unique operation resource name. Format: projects/{project}/locations/{location}/operations/{operation}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
RequestedCancellation
public bool RequestedCancellation { get; set; }Output only. Identifies whether the user has requested cancellation
of the operation. Operations that have been cancelled successfully
have
[google.longrunning.Operation.error][google.longrunning.Operation.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED.
| Property Value | |
|---|---|
| Type | Description |
bool |
|