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() -> StringThe effective endpoint
- (String)
#get_endpoint
def get_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::EndpointBaseline implementation for the get_endpoint REST call
- request_pb (::Google::Cloud::UniversalLedger::V1::GetEndpointRequest) — 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::UniversalLedger::V1::Endpoint)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::UniversalLedger::V1::Endpoint) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_endpoints
def list_endpoints(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::ListEndpointsResponseBaseline implementation for the list_endpoints REST call
- request_pb (::Google::Cloud::UniversalLedger::V1::ListEndpointsRequest) — 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::UniversalLedger::V1::ListEndpointsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::UniversalLedger::V1::ListEndpointsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#query_account
def query_account(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::QueryAccountResponseBaseline implementation for the query_account REST call
- request_pb (::Google::Cloud::UniversalLedger::V1::QueryAccountRequest) — 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::UniversalLedger::V1::QueryAccountResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::UniversalLedger::V1::QueryAccountResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#query_data
def query_data(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::QueryDataResponseBaseline implementation for the query_data REST call
- request_pb (::Google::Cloud::UniversalLedger::V1::QueryDataRequest) — 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::UniversalLedger::V1::QueryDataResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::UniversalLedger::V1::QueryDataResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#query_transaction_state
def query_transaction_state(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::QueryTransactionStateResponseBaseline implementation for the query_transaction_state REST call
- request_pb (::Google::Cloud::UniversalLedger::V1::QueryTransactionStateRequest) — 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::UniversalLedger::V1::QueryTransactionStateResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::UniversalLedger::V1::QueryTransactionStateResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#submit_operational_transaction
def submit_operational_transaction(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::SubmitOperationalTransactionResponseBaseline implementation for the submit_operational_transaction REST call
- request_pb (::Google::Cloud::UniversalLedger::V1::SubmitOperationalTransactionRequest) — 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::UniversalLedger::V1::SubmitOperationalTransactionResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::UniversalLedger::V1::SubmitOperationalTransactionResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#submit_transaction
def submit_transaction(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::UniversalLedger::V1::SubmitTransactionResponseBaseline implementation for the submit_transaction REST call
- request_pb (::Google::Cloud::UniversalLedger::V1::SubmitTransactionRequest) — 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::UniversalLedger::V1::SubmitTransactionResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::UniversalLedger::V1::SubmitTransactionResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)