@BetaApi
  public final AggregatedListNodeGroupsPagedResponse aggregatedListNodeGroups(ProjectName project) {
    AggregatedListNodeGroupsHttpRequest request =
        AggregatedListNodeGroupsHttpRequest.newBuilder()
            .setProject(project == null ? null : project.toString())
            .build();
    return aggregatedListNodeGroups(request);
  }
@ BetaApi public final AggregatedListNodeGroupsPagedResponse aggregatedListNodeGroups ( ProjectName project ) { AggregatedListNodeGroupsHttpRequest request = AggregatedListNodeGroupsHttpRequest . newBuilder ( ) . setProject ( project == null ? null : project . toString ( ) ) . build ( ) ; return aggregatedListNodeGroups ( request ) ; }
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details
about each group.

<p>Sample code:

<pre><code>
try (NodeGroupClient nodeGroupClient = NodeGroupClient.create()) {
ProjectName project = ProjectName.of("[PROJECT]");
for (NodeGroupsScopedList element : nodeGroupClient.aggregatedListNodeGroups(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