docs: def dataset_resource(self, ref_id, friendly_name=None, description=None,
                           access=None, location=None, project_id=None):
          """See
          https://developers.google.com/bigquery/docs/reference/v2/datasets#resource
  
          Parameters
          ----------
          ref_id : str
              Dataset id (the reference id, not the integer id)        
          friendly_name : str, optional
              An optional descriptive name for the dataset
          description : str, optional
              An optional description for the dataset
          access : list, optional
              Indicating access permissions
          location: str, optional, 'EU' or 'US'
              An optional geographical location for the dataset(EU or US)
          project_id: str
              Unique ``str`` identifying the BigQuery project contains the dataset
  
          Returns
          -------
          dict
              Representing BigQuery dataset resource
          """
          project_id = self._get_project_id(project_id)
          
          data = {
              "datasetReference": {
                  "datasetId": ref_id,
                  "projectId": project_id
              }
          }
          if friendly_name:
              data["friendlyName"] = friendly_name
          if description:
              data["description"] = description
          if access:
              data["access"] = access
          if location:
              data["location"] = location
  
          return data