BigQuery Storage V1 API - Class Google::Cloud::Bigquery::Storage::V1::AppendRowsRequest::ProtoData (v0.25.0)

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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.