Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::QueryAccountRequest.
Request message for QueryAccount.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#account_id
def account_id() -> ::String
Returns
- (::String) — Required. The account ID to get information about. The value is limited to 60 characters.
#account_id=
def account_id=(value) -> ::String
Parameter
- value (::String) — Required. The account ID to get information about. The value is limited to 60 characters.
Returns
- (::String) — Required. The account ID to get information about. The value is limited to 60 characters.
#endpoint
def endpoint() -> ::String
Returns
-
(::String) — Required. The endpoint to serve the request.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}The location is a region.
#endpoint=
def endpoint=(value) -> ::String
Parameter
-
value (::String) — Required. The endpoint to serve the request.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}The location is a region.
Returns
-
(::String) — Required. The endpoint to serve the request.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}The location is a region.
#round_id
def round_id() -> ::Integer
Returns
- (::Integer) — Optional. 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.
#round_id=
def round_id=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. 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.
Returns
- (::Integer) — Optional. 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.