Bare Metal Solution v2 API - Class OperationMetadata (1.0.0)

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

Reference documentation and code samples for the Bare Metal Solution v2 API class OperationMetadata.

Represents the metadata from a long-running operation.

Inheritance

Object > OperationMetadata

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

OperationMetadata()

public OperationMetadata()

OperationMetadata(OperationMetadata)

public OperationMetadata(OperationMetadata other)
Parameter
NameDescription
otherOperationMetadata

Properties

ApiVersion

public string ApiVersion { get; set; }

API version used with the operation.

Property Value
TypeDescription
String

CreateTime

public Timestamp CreateTime { get; set; }

The time the operation was created.

Property Value
TypeDescription
Timestamp

EndTime

public Timestamp EndTime { get; set; }

The time the operation finished running.

Property Value
TypeDescription
Timestamp

RequestedCancellation

public bool RequestedCancellation { get; set; }

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

Property Value
TypeDescription
Boolean

StatusMessage

public string StatusMessage { get; set; }

Human-readable status of the operation, if any.

Property Value
TypeDescription
String

Target

public string Target { get; set; }

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

Property Value
TypeDescription
String

Verb

public string Verb { get; set; }

Name of the action executed by the operation.

Property Value
TypeDescription
String