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

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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::String) — Optional. The sender of the query request.

#sender_id=

def sender_id=(value) -> ::String
Parameter
  • value (::String) — Optional. The sender of the query request.
Returns
  • (::String) — Optional. The sender of the query request.

#transaction_state_query

def transaction_state_query() -> ::Google::Cloud::UniversalLedger::V1::TransactionStateQuery
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.