Class BatchOperationMetadata (1.0.0)

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

System.Object > BatchOperationMetadata

Implements

Google.Protobuf.IMessage<BatchOperationMetadata>, System.IEquatable<BatchOperationMetadata>, Google.Protobuf.IDeepCloneable<BatchOperationMetadata>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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
Google.Protobuf.WellKnownTypes.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
Google.Protobuf.WellKnownTypes.Timestamp

FailureCount

public int FailureCount { get; set; }

Count of failed item(s) inside an operation.

Property Value
TypeDescription
System.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
System.String

SuccessCount

public int SuccessCount { get; set; }

Count of successful item(s) inside an operation.

Property Value
TypeDescription
System.Int32

TotalCount

public int TotalCount { get; set; }

Count of total item(s) inside an operation.

Property Value
TypeDescription
System.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
Google.Protobuf.WellKnownTypes.Timestamp