Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::ClientQuery.
Represents a query request from a client.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#account_query
def account_query() -> ::Google::Cloud::UniversalLedger::V1::AccountQuery-
(::Google::Cloud::UniversalLedger::V1::AccountQuery) — Optional. Query for the details of an account.
Note: The following fields are mutually exclusive:
account_query,transaction_state_query. If a field in that set is populated, all other fields in the set will automatically be cleared.
#account_query=
def account_query=(value) -> ::Google::Cloud::UniversalLedger::V1::AccountQuery-
value (::Google::Cloud::UniversalLedger::V1::AccountQuery) — Optional. Query for the details of an account.
Note: The following fields are mutually exclusive:
account_query,transaction_state_query. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::UniversalLedger::V1::AccountQuery) — Optional. Query for the details of an account.
Note: The following fields are mutually exclusive:
account_query,transaction_state_query. If a field in that set is populated, all other fields in the set will automatically be cleared.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp-
(::Google::Protobuf::Timestamp) — Optional. The time at which the query will expire. This helps to limit the
exposure to replay attacks. This field is required if the
SignedQueryRequest
contains a signature and is optional otherwise. The expiration time must be
in the future and at most 5 minutes from the current time, that is
now <= expire_time <= now + 5 min.
#expire_time=
def expire_time=(value) -> ::Google::Protobuf::Timestamp-
value (::Google::Protobuf::Timestamp) — Optional. The time at which the query will expire. This helps to limit the
exposure to replay attacks. This field is required if the
SignedQueryRequest
contains a signature and is optional otherwise. The expiration time must be
in the future and at most 5 minutes from the current time, that is
now <= expire_time <= now + 5 min.
-
(::Google::Protobuf::Timestamp) — Optional. The time at which the query will expire. This helps to limit the
exposure to replay attacks. This field is required if the
SignedQueryRequest
contains a signature and is optional otherwise. The expiration time must be
in the future and at most 5 minutes from the current time, that is
now <= expire_time <= now + 5 min.
#sender_id
def sender_id() -> ::String- (::String) — Optional. The sender of the query request.
#sender_id=
def sender_id=(value) -> ::String- value (::String) — Optional. The sender of the query request.
- (::String) — Optional. The sender of the query request.
#transaction_state_query
def transaction_state_query() -> ::Google::Cloud::UniversalLedger::V1::TransactionStateQuery-
(::Google::Cloud::UniversalLedger::V1::TransactionStateQuery) — Optional. Query for the state of a transaction.
Note: The following fields are mutually exclusive:
transaction_state_query,account_query. If a field in that set is populated, all other fields in the set will automatically be cleared.
#transaction_state_query=
def transaction_state_query=(value) -> ::Google::Cloud::UniversalLedger::V1::TransactionStateQuery-
value (::Google::Cloud::UniversalLedger::V1::TransactionStateQuery) — Optional. Query for the state of a transaction.
Note: The following fields are mutually exclusive:
transaction_state_query,account_query. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::UniversalLedger::V1::TransactionStateQuery) — Optional. Query for the state of a transaction.
Note: The following fields are mutually exclusive:
transaction_state_query,account_query. If a field in that set is populated, all other fields in the set will automatically be cleared.