Reference documentation and code samples for the BigQuery Storage V1 API class Google::Cloud::Bigquery::Storage::V1::AppendRowsRequest::ProtoData.
ProtoData contains the data rows and schema when constructing append requests.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#rows
def rows() -> ::Google::Cloud::Bigquery::Storage::V1::ProtoRows
- (::Google::Cloud::Bigquery::Storage::V1::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.
#rows=
def rows=(value) -> ::Google::Cloud::Bigquery::Storage::V1::ProtoRows
- value (::Google::Cloud::Bigquery::Storage::V1::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.
- (::Google::Cloud::Bigquery::Storage::V1::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.
#writer_schema
def writer_schema() -> ::Google::Cloud::Bigquery::Storage::V1::ProtoSchema
-
(::Google::Cloud::Bigquery::Storage::V1::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.
#writer_schema=
def writer_schema=(value) -> ::Google::Cloud::Bigquery::Storage::V1::ProtoSchema
-
value (::Google::Cloud::Bigquery::Storage::V1::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.
-
(::Google::Cloud::Bigquery::Storage::V1::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.