@BetaApi
  public final AggregatedListNodeTypesPagedResponse aggregatedListNodeTypes(ProjectName project) {
    AggregatedListNodeTypesHttpRequest request =
        AggregatedListNodeTypesHttpRequest.newBuilder()
            .setProject(project == null ? null : project.toString())
            .build();
    return aggregatedListNodeTypes(request);
  }
@ BetaApi public final AggregatedListNodeTypesPagedResponse aggregatedListNodeTypes ( ProjectName project ) { AggregatedListNodeTypesHttpRequest request = AggregatedListNodeTypesHttpRequest . newBuilder ( ) . setProject ( project == null ? null : project . toString ( ) ) . build ( ) ; return aggregatedListNodeTypes ( request ) ; }
Retrieves an aggregated list of node types.

<p>Sample code:

<pre><code>
try (NodeTypeClient nodeTypeClient = NodeTypeClient.create()) {
ProjectName project = ProjectName.of("[PROJECT]");
for (NodeTypesScopedList element : nodeTypeClient.aggregatedListNodeTypes(project).iterateAll()) {
// doThingsWith(element);
}
}
</code></pre>

@param project Project ID for this request.
@throws com.google.api.gax.rpc.ApiException if the remote call fails