Universal Ledger V1 API - Class Google::Cloud::UniversalLedger::V1::UniversalLedger::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::UniversalLedger::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_endpoint

def get_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::Endpoint

Baseline implementation for the get_endpoint REST call

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

#list_endpoints

def list_endpoints(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::ListEndpointsResponse

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

#query_account

def query_account(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::QueryAccountResponse

Baseline implementation for the query_account REST call

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

#query_data

def query_data(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::QueryDataResponse

Baseline implementation for the query_data REST call

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

#query_transaction_state

def query_transaction_state(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::QueryTransactionStateResponse

Baseline implementation for the query_transaction_state REST call

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

#submit_operational_transaction

def submit_operational_transaction(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::SubmitOperationalTransactionResponse

Baseline implementation for the submit_operational_transaction REST call

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

#submit_transaction

def submit_transaction(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::SubmitTransactionResponse

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