code: def _update_privacy(self, table_name, privacy):
          
          ds_manager = DatasetManager(self.auth_client)
          dataset = ds_manager.get(table_name)
          dataset.privacy = privacy
          dataset.save()
docs: Updates the privacy of a dataset