Class AppendRowsResponse (2.26.0)

AppendRowsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response message for AppendRows.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
append_result google.cloud.bigquery_storage_v1.types.AppendRowsResponse.AppendResult
Result if the append is successful. This field is a member of oneof_ response.
error google.rpc.status_pb2.Status
Error returned when problems were encountered. If present, it indicates rows were not accepted into the system. Users can retry or continue with other append requests within the same connection. Additional information about error signalling: ALREADY_EXISTS: Happens when an append specified an offset, and the backend already has received data at this offset. Typically encountered in retry scenarios, and can be ignored. OUT_OF_RANGE: Returned when the specified offset in the stream is beyond the current end of the stream. INVALID_ARGUMENT: Indicates a malformed request or data. ABORTED: Request processing is aborted because of prior failures. The request can be retried if previous failure is addressed. INTERNAL: Indicates server side error(s) that can be retried. This field is a member of oneof_ response.
updated_schema google.cloud.bigquery_storage_v1.types.TableSchema
If backend detects a schema update, pass it to user so that user can use it to input new type of message. It will be empty when no schema updates have occurred.
row_errors MutableSequence[google.cloud.bigquery_storage_v1.types.RowError]
If a request failed due to corrupted rows, no rows in the batch will be appended. The API will return row level error info, so that the caller can remove the bad rows and retry the request.
write_stream str
The target of the append operation. Matches the write_stream in the corresponding request.

Classes

AppendResult

AppendResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

AppendResult is returned for successful append requests.