Reference documentation and code samples for the Universal Ledger V1 API module Google::Cloud::UniversalLedger::V1::ContractPermission.
The set of permissions that can be granted to a contract. More values are expected to be added in the future.
Constants
CONTRACT_PERMISSION_UNSPECIFIED
value: 0
Invalid permission.
CONTRACT_PERMISSION_STORAGE
value: 1
Allows a contract to read and write into storage owned by the account who
granted the permission. The contract can only read and write the properties
that it has previously written.
Note this does not allow the contract to read or write data managed by other contracts; nor does it allow the contract to directly update other account properties (for example, the balance of the account in its native currency).