code: def write_entries(self, entries, logger_name=None, resource=None, labels=None):
          
          partial_success = False
          entry_pbs = [_log_entry_mapping_to_pb(entry) for entry in entries]
          self._gapic_api.write_log_entries(
              entry_pbs,
              log_name=logger_name,
              resource=resource,
              labels=labels,
              partial_success=partial_success,
          )
docs: API call:  log an entry resource via a POST request
  
          :type entries: sequence of mapping
          :param entries: the log entry resources to log.
  
          :type logger_name: str
          :param logger_name: name of default logger to which to log the entries;
                              individual entries may override.
  
          :type resource: mapping
          :param resource: default resource to associate with entries;
                           individual entries may override.
  
          :type labels: mapping
          :param labels: default labels to associate with entries;
                         individual entries may override.