Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::Bigtable::Rest::ServiceStub (v1.18.0)

Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::Bigtable::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#check_and_mutate_row

def check_and_mutate_row(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigtable::V2::CheckAndMutateRowResponse

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

#execute_query

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

Baseline implementation for the execute_query REST call

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

#generate_initial_change_stream_partitions

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

Baseline implementation for the generate_initial_change_stream_partitions REST call

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#mutate_row

def mutate_row(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigtable::V2::MutateRowResponse

Baseline implementation for the mutate_row REST call

Parameters
  • request_pb (::Google::Cloud::Bigtable::V2::MutateRowRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#mutate_rows

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

Baseline implementation for the mutate_rows REST call

Parameters
  • request_pb (::Google::Cloud::Bigtable::V2::MutateRowsRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yield Parameter
  • chunk (::String) — The chunk of data received during server streaming.
Returns
  • (::Gapic::Rest::TransportOperation)
Raises
  • (::ArgumentError)

#ping_and_warm

def ping_and_warm(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigtable::V2::PingAndWarmResponse

Baseline implementation for the ping_and_warm REST call

Parameters
  • request_pb (::Google::Cloud::Bigtable::V2::PingAndWarmRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#prepare_query

def prepare_query(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigtable::V2::PrepareQueryResponse

Baseline implementation for the prepare_query REST call

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

#read_change_stream

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

Baseline implementation for the read_change_stream REST call

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

#read_modify_write_row

def read_modify_write_row(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigtable::V2::ReadModifyWriteRowResponse

Baseline implementation for the read_modify_write_row REST call

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

#read_rows

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

Baseline implementation for the read_rows REST call

Parameters
  • request_pb (::Google::Cloud::Bigtable::V2::ReadRowsRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yield Parameter
  • chunk (::String) — The chunk of data received during server streaming.
Returns
  • (::Gapic::Rest::TransportOperation)
Raises
  • (::ArgumentError)

#sample_row_keys

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

Baseline implementation for the sample_row_keys REST call

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns