@utilities.arguments_not_none<EOL><INDENT>def set_branding(self, asset_ids):<DEDENT>
if self.get_branding_metadata().is_read_only():<EOL><INDENT>raise errors.NoAccess()<EOL><DEDENT>if not self._is_valid_input(asset_ids, self.get_branding_metadata(), array=True):<EOL><INDENT>raise errors.InvalidArgument()<EOL><DEDENT>branding_ids = []<EOL>for asset_id in asset_ids:<EOL><INDENT>branding_ids.append(str(asset_id))<EOL><DEDENT>self._my_map['<STR_LIT>'] = branding_ids<EOL>
Sets the branding.

        arg:    asset_ids (osid.id.Id[]): the new assets
        raise:  InvalidArgument - ``asset_ids`` is invalid
        raise:  NoAccess - ``Metadata.isReadOnly()`` is ``true``
        raise:  NullArgument - ``asset_ids`` is ``null``
        *compliance: mandatory -- This method must be implemented.*