Retail v2 API - Class ImportMetadata (2.7.0)

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

Reference documentation and code samples for the Retail v2 API class ImportMetadata.

Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.

Inheritance

object > ImportMetadata

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

ImportMetadata()

public ImportMetadata()

ImportMetadata(ImportMetadata)

public ImportMetadata(ImportMetadata other)
Parameter
NameDescription
otherImportMetadata

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Operation create time.

Property Value
TypeDescription
Timestamp

FailureCount

public long FailureCount { get; set; }

Count of entries that encountered errors while processing.

Property Value
TypeDescription
long

NotificationPubsubTopic

public string NotificationPubsubTopic { get; set; }

Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a [Operation][google.longrunning.Operation]. Format of the Pub/Sub topic is projects/{project}/topics/{topic}.

Property Value
TypeDescription
string

RequestId

[Obsolete]
public string RequestId { get; set; }

Deprecated. This field is never set.

Property Value
TypeDescription
string

SuccessCount

public long SuccessCount { get; set; }

Count of entries that were processed successfully.

Property Value
TypeDescription
long

UpdateTime

public Timestamp UpdateTime { get; set; }

Operation last update time. If the operation is done, this is also the finish time.

Property Value
TypeDescription
Timestamp