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::BatchCommitWriteStreamsResponseBaseline implementation for the batch_commit_write_streams REST call
- request_pb (::Google::Cloud::Bigquery::Storage::V1::BatchCommitWriteStreamsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Storage::V1::BatchCommitWriteStreamsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Storage::V1::BatchCommitWriteStreamsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_write_stream
def create_write_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Storage::V1::WriteStreamBaseline implementation for the create_write_stream REST call
- request_pb (::Google::Cloud::Bigquery::Storage::V1::CreateWriteStreamRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Storage::V1::WriteStream)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Storage::V1::WriteStream) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#finalize_write_stream
def finalize_write_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Storage::V1::FinalizeWriteStreamResponseBaseline implementation for the finalize_write_stream REST call
- request_pb (::Google::Cloud::Bigquery::Storage::V1::FinalizeWriteStreamRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Storage::V1::FinalizeWriteStreamResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Storage::V1::FinalizeWriteStreamResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#flush_rows
def flush_rows(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Storage::V1::FlushRowsResponseBaseline implementation for the flush_rows REST call
- request_pb (::Google::Cloud::Bigquery::Storage::V1::FlushRowsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Storage::V1::FlushRowsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Storage::V1::FlushRowsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_write_stream
def get_write_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Storage::V1::WriteStreamBaseline implementation for the get_write_stream REST call
- request_pb (::Google::Cloud::Bigquery::Storage::V1::GetWriteStreamRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Storage::V1::WriteStream)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Storage::V1::WriteStream) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)