Google.Cloud.Common - Class OperationMetadata (2.1.0)

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

Reference documentation and code samples for the Google.Cloud.Common class OperationMetadata.

Represents the metadata of the long-running operation.

Inheritance

object > OperationMetadata

Namespace

Google.Cloud.Common

Assembly

Google.Cloud.Common.dll

Constructors

OperationMetadata()

public OperationMetadata()

OperationMetadata(OperationMetadata)

public OperationMetadata(OperationMetadata other)
Parameter
NameDescription
otherOperationMetadata

Properties

ApiVersion

public string ApiVersion { get; set; }

Output only. API version used to start the operation.

Property Value
TypeDescription
string

CancelRequested

public bool CancelRequested { get; set; }

Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][] of 1, corresponding to Code.CANCELLED.

Property Value
TypeDescription
bool

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time the operation was created.

Property Value
TypeDescription
Timestamp

EndTime

public Timestamp EndTime { get; set; }

Output only. The time the operation finished running.

Property Value
TypeDescription
Timestamp

StatusDetail

public string StatusDetail { get; set; }

Output only. Human-readable status of the operation, if any.

Property Value
TypeDescription
string

Target

public string Target { get; set; }

Output only. Server-defined resource path for the target of the operation.

Property Value
TypeDescription
string

Verb

public string Verb { get; set; }

Output only. Name of the verb executed by the operation.

Property Value
TypeDescription
string