BigQuery Storage V1 API - Class Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Rest::ServiceStub (v1.10.0)

Reference documentation and code samples for the BigQuery Storage V1 API class Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Rest::ServiceStub.

REST service stub for the BigQueryRead service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_read_session

def create_read_session(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Storage::V1::ReadSession

Baseline implementation for the create_read_session REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#read_rows

def read_rows(request_pb, options = nil) { |chunk| ... } -> ::Gapic::Rest::TransportOperation

Baseline implementation for the read_rows REST call

Parameters
Yield Parameter
  • chunk (::String) — The chunk of data received during server streaming.
Returns
  • (::Gapic::Rest::TransportOperation)
Raises
  • (::ArgumentError)

#split_read_stream

def split_read_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Storage::V1::SplitReadStreamResponse

Baseline implementation for the split_read_stream REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)