code: public final ListDatasetsPagedResponse listDatasets(LocationName parent) {
      ListDatasetsRequest request =
          ListDatasetsRequest.newBuilder()
              .setParent(parent == null ? null : parent.toString())
              .build();
      return listDatasets(request);
    }
docs: Lists datasets in a project.
  
  <p>Sample code:
  
  <pre><code>
  try (AutoMlClient autoMlClient = AutoMlClient.create()) {
  LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  for (Dataset element : autoMlClient.listDatasets(parent).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param parent The resource name of the project from which to list datasets.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails