Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::AddRoles.
Adds the specified roles to the account. The sender must be the account manager of the account to modify.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#account_id
def account_id() -> ::String
Returns
- (::String) — Required. The ID of the account to be modified. The value is limited to 60 characters.
#account_id=
def account_id=(value) -> ::String
Parameter
- value (::String) — Required. The ID of the account to be modified. The value is limited to 60 characters.
Returns
- (::String) — Required. The ID of the account to be modified. The value is limited to 60 characters.
#roles
def roles() -> ::Array<::Google::Cloud::UniversalLedger::V1::Role>
Returns
- (::Array<::Google::Cloud::UniversalLedger::V1::Role>) — Required. The roles to be added.
#roles=
def roles=(value) -> ::Array<::Google::Cloud::UniversalLedger::V1::Role>
Parameter
- value (::Array<::Google::Cloud::UniversalLedger::V1::Role>) — Required. The roles to be added.
Returns
- (::Array<::Google::Cloud::UniversalLedger::V1::Role>) — Required. The roles to be added.