@BetaApi
  public final AggregatedListAddressesPagedResponse aggregatedListAddresses(String project) {
    AggregatedListAddressesHttpRequest request =
        AggregatedListAddressesHttpRequest.newBuilder().setProject(project).build();
    return aggregatedListAddresses(request);
  }
@ BetaApi public final AggregatedListAddressesPagedResponse aggregatedListAddresses ( String project ) { AggregatedListAddressesHttpRequest request = AggregatedListAddressesHttpRequest . newBuilder ( ) . setProject ( project ) . build ( ) ; return aggregatedListAddresses ( request ) ; }
Retrieves an aggregated list of addresses.

<p>Sample code:

<pre><code>
try (AddressClient addressClient = AddressClient.create()) {
ProjectName project = ProjectName.of("[PROJECT]");
for (AddressesScopedList element : addressClient.aggregatedListAddresses(project.toString()).iterateAll()) {
// doThingsWith(element);
}
}
</code></pre>

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