code: def _get_scopes(self):
          
          if self._read_only:
              scopes = (READ_ONLY_SCOPE,)
          else:
              scopes = (DATA_SCOPE,)
  
          if self._admin:
              scopes += (ADMIN_SCOPE,)
  
          return scopes
docs: Get the scopes corresponding to admin / read-only state.
  
          Returns:
              Tuple[str, ...]: The tuple of scopes.