diff --git a/google/cloud/universalledger/v1/common.proto b/google/cloud/universalledger/v1/common.proto index ba89e4e199..6e2cf21e7a 100644 --- a/google/cloud/universalledger/v1/common.proto +++ b/google/cloud/universalledger/v1/common.proto @@ -60,31 +60,31 @@ message CurrencyValue { // A list of strings. message StringList { // Optional. The string values. - repeated string value = 1 [(google.api.field_behavior) = OPTIONAL]; + repeated string values = 1 [(google.api.field_behavior) = OPTIONAL]; } // A list of int64s. message Int64List { // Optional. The int64 values. - repeated int64 value = 1 [(google.api.field_behavior) = OPTIONAL]; + repeated int64 values = 1 [(google.api.field_behavior) = OPTIONAL]; } // A list of account IDs. message AccountIdList { // Optional. The account ID values. - repeated string value = 1 [(google.api.field_behavior) = OPTIONAL]; + repeated string values = 1 [(google.api.field_behavior) = OPTIONAL]; } // A list of booleans. message BoolList { // Optional. The boolean values. - repeated bool value = 1 [(google.api.field_behavior) = OPTIONAL]; + repeated bool values = 1 [(google.api.field_behavior) = OPTIONAL]; } // A list of dictionaries. message DictList { // Optional. The DictValue values. - repeated DictValue value = 1 [(google.api.field_behavior) = OPTIONAL]; + repeated DictValue values = 1 [(google.api.field_behavior) = OPTIONAL]; } // Indices map key to value. For example, `keys[0]` key maps to `values[0]`. diff --git a/google/cloud/universalledger/v1/types.proto b/google/cloud/universalledger/v1/types.proto index 7ccc984113..fa1e1bb029 100644 --- a/google/cloud/universalledger/v1/types.proto +++ b/google/cloud/universalledger/v1/types.proto @@ -19,6 +19,7 @@ package google.cloud.universalledger.v1; import "google/api/field_behavior.proto"; import "google/cloud/universalledger/v1/common.proto"; import "google/cloud/universalledger/v1/status_event.proto"; +import "google/cloud/universalledger/v1/transactions.proto"; import "google/protobuf/any.proto"; option csharp_namespace = "Google.Cloud.UniversalLedger.V1"; @@ -33,7 +34,8 @@ option ruby_package = "Google::Cloud::UniversalLedger::V1"; message ClientTransaction { // The client transaction-specific message. oneof kind { - // Optional. A client transaction-specific message. Should be any one of: + // Optional. Deprecated: use one of the message specific fields instead. + // A client transaction-specific message. Should be any one of: // // - google.protobuf.Any app = 5 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Any app = 5 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Optional. An operational transaction message. Note this can only be sent // by the platform operator. Should be any one of: @@ -79,6 +82,104 @@ message ClientTransaction { google.protobuf.Any operational = 6 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Message for transferring the platform operator role to a new + // account. + TransferPlatformOperator transfer_platform_operator_transaction = 13 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for creating a new currency operator. + CreateCurrencyOperator create_currency_operator_transaction = 14 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for transferring the currency operator role to a new + // account. + TransferCurrencyOperator transfer_currency_operator_transaction = 15 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for creating a new clearinghouse. + CreateClearinghouse create_clearinghouse_transaction = 16 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for creating a new account manager. + CreateAccountManager create_account_manager_transaction = 17 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for creating a new token manager associated to the + // currency of the operator sending the request. + CreateTokenManager create_token_manager_transaction = 18 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Notifies the network that the target account has deposited + // reserve funds and increases its token issuance limit. + IncreaseTokenIssuanceLimit increase_token_issuance_limit_transaction = 19 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Notifies the network that the target account wishes to withdraw + // reserve funds and decreases its token issuance limit. + DecreaseTokenIssuanceLimit decrease_token_issuance_limit_transaction = 20 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for initiating a settlement operation. + SettlementRequest settlement_request_transaction = 21 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for minting currency tokens and transferring them to an + // account. + Mint mint_transaction = 22 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for burning currency tokens from an account. + Burn burn_transaction = 23 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for creating a new user account. + CreateAccount create_account_transaction = 24 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for deactivating a user account. + DeactivateAccount deactivate_account_transaction = 25 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for activating a user account. + ActivateAccount activate_account_transaction = 26 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for adding roles to an account. + AddRoles add_roles_transaction = 27 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for removing roles from an account. + RemoveRoles remove_roles_transaction = 28 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for changing the account manager of an account. + ChangeAccountManager change_account_manager_transaction = 29 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for transferring tokens from one user account to + // another. + Transfer transfer_transaction = 30 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for creating a new contract on the ledger. + CreateContract create_contract_transaction = 31 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for granting permissions to a contract. + GrantContractPermissions grant_contract_permissions_transaction = 32 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for invoking the execution of a contract method. + InvokeContractMethod invoke_contract_method_transaction = 33 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for creating a new token manager associated to the + // currency of the operator sending the request. + CreateContractTokenManager create_contract_token_manager_transaction = 34 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Message for transferring the token manager role for a currency + // from one account to another. + TransferContractTokenManager transfer_contract_token_manager_transaction = + 35 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Message for a transaction chain including multiple transaction // units to execute in sequence. TransactionChain chain = 8 [(google.api.field_behavior) = OPTIONAL];