Class BatchOperationMetadata

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

Metadata used for long running operations returned by CTS batch APIs. It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].

Inheritance

Object > BatchOperationMetadata

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Constructors

BatchOperationMetadata()

public BatchOperationMetadata()

BatchOperationMetadata(BatchOperationMetadata)

public BatchOperationMetadata(BatchOperationMetadata other)
Parameter
NameDescription
otherBatchOperationMetadata

Properties

CreateTime

public Timestamp CreateTime { get; set; }

The time when the batch operation is created.

Property Value
TypeDescription
Timestamp

EndTime

public Timestamp EndTime { get; set; }

The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.

Property Value
TypeDescription
Timestamp

FailureCount

public int FailureCount { get; set; }

Count of failed item(s) inside an operation.

Property Value
TypeDescription
Int32

State

public BatchOperationMetadata.Types.State State { get; set; }

The state of a long running operation.

Property Value
TypeDescription
BatchOperationMetadata.Types.State

StateDescription

public string StateDescription { get; set; }

More detailed information about operation state.

Property Value
TypeDescription
String

SuccessCount

public int SuccessCount { get; set; }

Count of successful item(s) inside an operation.

Property Value
TypeDescription
Int32

TotalCount

public int TotalCount { get; set; }

Count of total item(s) inside an operation.

Property Value
TypeDescription
Int32

UpdateTime

public Timestamp UpdateTime { get; set; }

The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.

Property Value
TypeDescription
Timestamp