Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::ImportMetadata.
Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Operation create time.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Operation create time.
Returns
- (::Google::Protobuf::Timestamp) — Operation create time.
#failure_count
def failure_count() -> ::Integer
Returns
- (::Integer) — Count of entries that encountered errors while processing.
#failure_count=
def failure_count=(value) -> ::Integer
Parameter
- value (::Integer) — Count of entries that encountered errors while processing.
Returns
- (::Integer) — Count of entries that encountered errors while processing.
#notification_pubsub_topic
def notification_pubsub_topic() -> ::String
Returns
-
(::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 a
Operation.
Format of the Pub/Sub topic is
projects/{project}/topics/{topic}
.
#notification_pubsub_topic=
def notification_pubsub_topic=(value) -> ::String
Parameter
-
value (::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 a
Operation.
Format of the Pub/Sub topic is
projects/{project}/topics/{topic}
.
Returns
-
(::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 a
Operation.
Format of the Pub/Sub topic is
projects/{project}/topics/{topic}
.
#request_id
def request_id() -> ::String
Returns
- (::String) — Deprecated. This field is never set.
#request_id=
def request_id=(value) -> ::String
Parameter
- value (::String) — Deprecated. This field is never set.
Returns
- (::String) — Deprecated. This field is never set.
#success_count
def success_count() -> ::Integer
Returns
- (::Integer) — Count of entries that were processed successfully.
#success_count=
def success_count=(value) -> ::Integer
Parameter
- value (::Integer) — Count of entries that were processed successfully.
Returns
- (::Integer) — Count of entries that were processed successfully.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Operation last update time. If the operation is done, this is also the finish time.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Operation last update time. If the operation is done, this is also the finish time.
Returns
- (::Google::Protobuf::Timestamp) — Operation last update time. If the operation is done, this is also the finish time.