Operation last update time. If the operation is done, this is also the finish time.
↳ success_count
int|string
Count of entries that were processed successfully.
↳ failure_count
int|string
Count of entries that encountered errors while processing.
↳ request_id
string
Deprecated. This field is never set.
↳ notification_pubsub_topic
string
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 aOperation. Format of the Pub/Sub topic isprojects/{project}/topics/{topic}.
Count of entries that were processed successfully.
Returns
Type
Description
int|string
setSuccessCount
Count of entries that were processed successfully.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getFailureCount
Count of entries that encountered errors while processing.
Returns
Type
Description
int|string
setFailureCount
Count of entries that encountered errors while processing.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getRequestId
Deprecated. This field is never set.
Returns
Type
Description
string
setRequestId
Deprecated. This field is never set.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getNotificationPubsubTopic
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 aOperation.
Format of the Pub/Sub topic isprojects/{project}/topics/{topic}.
Returns
Type
Description
string
setNotificationPubsubTopic
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 aOperation.
Format of the Pub/Sub topic isprojects/{project}/topics/{topic}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Retail V2 Client - Class ImportMetadata (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.ImportMetadata)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.ImportMetadata)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.ImportMetadata)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.ImportMetadata)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.ImportMetadata)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.ImportMetadata)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.ImportMetadata)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.ImportMetadata)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.ImportMetadata)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.ImportMetadata)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.ImportMetadata)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.ImportMetadata)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.ImportMetadata) \nReference documentation and code samples for the Google Cloud Retail V2 Client class ImportMetadata.\n\nMetadata related to the progress of the Import operation. This is\nreturned by the google.longrunning.Operation.metadata field.\n\nGenerated from protobuf message `google.cloud.retail.v2.ImportMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCreateTime\n\nOperation create time.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOperation create time.\n\n### getUpdateTime\n\nOperation last update time. If the operation is done, this is also the\nfinish time.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOperation last update time. If the operation is done, this is also the\nfinish time.\n\n### getSuccessCount\n\nCount of entries that were processed successfully.\n\n### setSuccessCount\n\nCount of entries that were processed successfully.\n\n### getFailureCount\n\nCount of entries that encountered errors while processing.\n\n### setFailureCount\n\nCount of entries that encountered errors while processing.\n\n### getRequestId\n\nDeprecated. This field is never set.\n\n### setRequestId\n\nDeprecated. This field is never set.\n\n### getNotificationPubsubTopic\n\nPub/Sub topic for receiving notification. If this field is set,\nwhen the import is finished, a notification is sent to\nspecified Pub/Sub topic. The message data is JSON string of a\nOperation.\n\nFormat of the Pub/Sub topic is `projects/{project}/topics/{topic}`.\n\n### setNotificationPubsubTopic\n\nPub/Sub topic for receiving notification. If this field is set,\nwhen the import is finished, a notification is sent to\nspecified Pub/Sub topic. The message data is JSON string of a\nOperation.\n\nFormat of the Pub/Sub topic is `projects/{project}/topics/{topic}`."]]