Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::CreateContract.
Stores a contract on the ledger.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#contract_bytes
def contract_bytes() -> ::String
Returns
- (::String) — Serialised contract bytes.
#contract_bytes=
def contract_bytes=(value) -> ::String
Parameter
- value (::String) — Serialised contract bytes.
Returns
- (::String) — Serialised contract bytes.
#contract_comment
def contract_comment() -> ::String
Returns
- (::String) — Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the contract. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable.
#contract_comment=
def contract_comment=(value) -> ::String
Parameter
- value (::String) — Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the contract. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable.
Returns
- (::String) — Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the contract. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable.
#init_arguments
def init_arguments() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}) — Optional. Immutable. Contains arguments for the
__init__method.
#init_arguments=
def init_arguments=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}
Parameter
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}) — Optional. Immutable. Contains arguments for the
__init__method.
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}) — Optional. Immutable. Contains arguments for the
__init__method.