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

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

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

Inherits

  • Object

Methods

#batch_commit_write_streams

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

Baseline implementation for the batch_commit_write_streams REST call

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

#create_write_stream

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

Baseline implementation for the create_write_stream 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)

#finalize_write_stream

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

Baseline implementation for the finalize_write_stream REST call

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

#flush_rows

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

Baseline implementation for the flush_rows REST call

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

#get_write_stream

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

Baseline implementation for the get_write_stream REST call

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)