Class ProtoData (2.24.0)

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

ProtoData contains the data rows and schema when constructing append requests.

Attributes

NameDescription
writer_schema google.cloud.bigquery_storage_v1.types.ProtoSchema
The protocol buffer schema used to serialize the data. Provide this value whenever: - You send the first request of an RPC connection. - You change the input schema. - You specify a new destination table.
rows google.cloud.bigquery_storage_v1.types.ProtoRows
Serialized row data in protobuf message format. Currently, the backend expects the serialized rows to adhere to proto2 semantics when appending rows, particularly with respect to how default values are encoded.