DataTableWriteMetadata

Metadata about a DataTable write operation.

JSON representation
{
  "data_table": string,

  // Union field result_or_error can be only one of the following:
  "error": {
    object (StatusProto)
  },
  "result": {
    object (Result)
  }
  // End of list of possible types for union field result_or_error.
}
Fields
data_table

string

The name of the DataTable.

Union field result_or_error. Result or error of the write operation. result_or_error can be only one of the following:
error

object (StatusProto)

The error result of the write operation in case of failure.

result

object (Result)

Metadata about the write operation's result in case of success.

StatusProto

Wire-format for a Status object

JSON representation
{
  "code": integer,
  "space": string,
  "message": string,
  "canonical_code": integer,
  "message_set": {
    object (MessageSet)
  }
}
Fields
code

integer

Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin copybara:strip_end_and_replace optional int32 code = 1;

space

string

copybara:strip_begin Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs

message

string

Detail message copybara:strip_begin copybara:strip_end_and_replace optional string message = 3;

canonical_code

integer

copybara:strip_begin copybara:strip_end_and_replace optional int32 canonical_code = 6;

message_set

object (MessageSet)

message_set associates an arbitrary proto message with the status. copybara:strip_begin copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;

MessageSet

This type has no fields.

This is proto2's version of MessageSet.

Result

The result of the write operation.

JSON representation
{
  "datatable_write_operation_id": string,
  "rows_count": integer
}
Fields
datatable_write_operation_id

string

The operation ID of the write operation.

rows_count

integer

The number of rows written to the datatable.