Service Client: Google::Cloud::Universalledger::V1::Universalledger::UniversalLedgerClient
Client stub representing the remote UniversalLedger gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to universalledger.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Universalledger::V1::Universalledger - Compiled Protocol Buffers messages for google/cloud/universalledger/v1/universalledger.proto
SYNOPSIS
use Google::Cloud::Universalledger::V1::Universalledger;
my $msg = Google::Cloud::Universalledger::V1::Universalledger::Endpoint->new({
name => $name,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Universalledger::V1::Universalledger::Endpoint->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/universalledger/v1/universalledger.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Universalledger::V1::Universalledger::Endpoint
Represents a Universal Ledger endpoint.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
Google::Cloud::Universalledger::V1::Universalledger::ListEndpointsRequest
Request message for ListEndpoints.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of endpoints. Format: `projects/{project}/locations/{location}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of endpoints to return. The service may return fewer than this value. If unspecified, at most 50 endpoints will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListEndpoints` call. Provide this to retrieve the subsequent page.
Google::Cloud::Universalledger::V1::Universalledger::ListEndpointsResponse
Response message for ListEndpoints.
Inherits from Protobuf::Message.
Accessors
$msg->endpoints()/$msg->endpoints($value)Type:
Message(Google::Cloud::Universalledger::V1::Universalledger::Endpoint)The endpoints for the given project and location.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Universalledger::V1::Universalledger::GetEndpointRequest
Request message for GetEndpoint.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the endpoint to retrieve. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
Google::Cloud::Universalledger::V1::Universalledger::QueryAccountRequest
Request message for QueryAccount.
Inherits from Protobuf::Message.
Accessors
$msg->endpoint()/$msg->endpoint($value)Type:
StringRequired. The endpoint to serve the request. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region.
$msg->account_id()/$msg->account_id($value)Type:
StringRequired. The account ID to get information about. The value is limited to 60 characters.
$msg->round_id()/$msg->round_id($value)Type:
Int64Optional. The ID of the execution round (similar to block "height") at which to request data. The returned account information will be accurate for the world state at this execution round. If unspecified, uses the latest finalized round as known by the serving validator. The state at a given round ID is always consistent and canonical.
Google::Cloud::Universalledger::V1::Universalledger::QueryAccountResponse
Response message for QueryAccount.
Inherits from Protobuf::Message.
Accessors
$msg->account()/$msg->account($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::Account)The account information, along with the height at which it was obtained.
Google::Cloud::Universalledger::V1::Universalledger::SubmitTransactionRequest
Request message for SubmitTransaction.
Inherits from Protobuf::Message.
Accessors
$msg->endpoint()/$msg->endpoint($value)Type:
StringRequired. The endpoint to submit the transaction to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region.
$msg->serialized_signed_transaction()/$msg->serialized_signed_transaction($value)Type:
BytesRequired. A protobuf serialized [SignedTransaction][google.cloud.universalledger.v1.SignedTransaction] to submit to the ledger. Using a serialized format ensures that all validators compute the same transaction ID as the SHA-256 digest of the serialized bytes.
Google::Cloud::Universalledger::V1::Universalledger::SubmitTransactionResponse
Response message for SubmitTransaction.
Inherits from Protobuf::Message.
Accessors
$msg->transaction_digest_hex()/$msg->transaction_digest_hex($value)Type:
StringIdentifier that uniquely represents the submitted transaction. It is the hexadecimal representation of the SHA-256 digest of the `serialized_signed_transaction`. This transaction ID is provided so that a client can track the transaction without needing to implement the hashing logic itself. The identifier can be directly used in subsequent API calls, for example to query the transaction state.
Google::Cloud::Universalledger::V1::Universalledger::SubmitOperationalTransactionRequest
Request message for SubmitOperationalTransaction.
Inherits from Protobuf::Message.
Accessors
$msg->endpoint()/$msg->endpoint($value)Type:
StringRequired. The endpoint to serve the request. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region.
$msg->serialized_signed_operational_transaction()/$msg->serialized_signed_operational_transaction($value)Type:
BytesRequired. A protobuf serialized [SignedTransaction][google.cloud.universalledger.v1.SignedTransaction] to submit to the ledger. The enclosed client transaction must be an operational transaction, and the sender must be the platform operator. Using a serialized format ensures that all validators compute the same transaction ID as the SHA-256 digest of the serialized bytes.
Google::Cloud::Universalledger::V1::Universalledger::SubmitOperationalTransactionResponse
Response message for SubmitOperationalTransaction.
Inherits from Protobuf::Message.
Accessors
$msg->transaction_digest_hex()/$msg->transaction_digest_hex($value)Type:
StringIdentifier that uniquely represents the submitted operational transaction. It is the hexadecimal representation of the SHA-256 digest of the `serialized_signed_operational_transaction`. This transaction ID is provided so that a client can track the transaction without needing to implement the hashing logic itself. The identifier can be directly used in subsequent API calls, for example to query the transaction state.
Google::Cloud::Universalledger::V1::Universalledger::QueryTransactionStateRequest
Request message for QueryTransactionState.
Inherits from Protobuf::Message.
Accessors
$msg->endpoint()/$msg->endpoint($value)Type:
StringRequired. The endpoint to serve the request. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region.
$msg->transaction_digest_hex()/$msg->transaction_digest_hex($value)Type:
StringRequired. The transaction ID to get the state of.
Google::Cloud::Universalledger::V1::Universalledger::QueryTransactionStateResponse
Response message for QueryTransactionState.
Inherits from Protobuf::Message.
Accessors
$msg->transaction_attempts()/$msg->transaction_attempts($value)Type:
Message(Google::Cloud::Universalledger::V1::Types::TransactionAttempt)One entry per each known submission of the transaction to the validator handling the request.
Google::Cloud::Universalledger::V1::Universalledger::QueryDataRequest
Request message for QueryData.
Inherits from Protobuf::Message.
Accessors
$msg->endpoint()/$msg->endpoint($value)Type:
StringRequired. The endpoint to serve the request. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region.
$msg->serialized_signed_query_request()/$msg->serialized_signed_query_request($value)Type:
BytesRequired. A protobuf serialized [SignedQueryRequest][google.cloud.universalledger.v1.SignedQueryRequest] to query the Universal Ledger network.
Google::Cloud::Universalledger::V1::Universalledger::QueryDataResponse
Response message for QueryData.
Inherits from Protobuf::Message.
Accessors
$msg->account()/$msg->account($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::Account)The account information, if the query was for an account.
$msg->transaction_state()/$msg->transaction_state($value)Type:
Message(Google::Cloud::Universalledger::V1::Types::TransactionState)The state of a transaction, if the query was for a transaction.
$msg->redacted_fields()/$msg->redacted_fields($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::RedactedField)Indicates which fields have been redacted from the response due to permission restrictions.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Universalledger::V1::Universalledger::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.