code: def data(self):
          
          # add attributes
          if self._attributes:
              self._group_data['attribute'] = []
              for attr in self._attributes:
                  if attr.valid:
                      self._group_data['attribute'].append(attr.data)
          # add security labels
          if self._labels:
              self._group_data['securityLabel'] = []
              for label in self._labels:
                  self._group_data['securityLabel'].append(label.data)
          # add tags
          if self._tags:
              self._group_data['tag'] = []
              for tag in self._tags:
                  if tag.valid:
                      self._group_data['tag'].append(tag.data)
          return self._group_data
docs: Return Group data.