code: @BetaApi
    public final AggregatedListSubnetworksPagedResponse aggregatedListSubnetworks(
        ProjectName project) {
      AggregatedListSubnetworksHttpRequest request =
          AggregatedListSubnetworksHttpRequest.newBuilder()
              .setProject(project == null ? null : project.toString())
              .build();
      return aggregatedListSubnetworks(request);
    }
docs: Retrieves an aggregated list of subnetworks.
  
  <p>Sample code:
  
  <pre><code>
  try (SubnetworkClient subnetworkClient = SubnetworkClient.create()) {
  ProjectName project = ProjectName.of("[PROJECT]");
  for (SubnetworksScopedList element : subnetworkClient.aggregatedListSubnetworks(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