@BetaApi
  public final AggregatedListForwardingRulesPagedResponse aggregatedListForwardingRules(
      ProjectName project) {
    AggregatedListForwardingRulesHttpRequest request =
        AggregatedListForwardingRulesHttpRequest.newBuilder()
            .setProject(project == null ? null : project.toString())
            .build();
    return aggregatedListForwardingRules(request);
  }
@ BetaApi public final AggregatedListForwardingRulesPagedResponse aggregatedListForwardingRules ( ProjectName project ) { AggregatedListForwardingRulesHttpRequest request = AggregatedListForwardingRulesHttpRequest . newBuilder ( ) . setProject ( project == null ? null : project . toString ( ) ) . build ( ) ; return aggregatedListForwardingRules ( request ) ; }
Retrieves an aggregated list of forwarding rules.

<p>Sample code:

<pre><code>
try (ForwardingRuleClient forwardingRuleClient = ForwardingRuleClient.create()) {
ProjectName project = ProjectName.of("[PROJECT]");
for (ForwardingRulesScopedList element : forwardingRuleClient.aggregatedListForwardingRules(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