@BetaApi
  public final ListSecurityPoliciesPagedResponse listSecurityPolicies(ProjectName project) {
    ListSecurityPoliciesHttpRequest request =
        ListSecurityPoliciesHttpRequest.newBuilder()
            .setProject(project == null ? null : project.toString())
            .build();
    return listSecurityPolicies(request);
  }
@ BetaApi public final ListSecurityPoliciesPagedResponse listSecurityPolicies ( ProjectName project ) { ListSecurityPoliciesHttpRequest request = ListSecurityPoliciesHttpRequest . newBuilder ( ) . setProject ( project == null ? null : project . toString ( ) ) . build ( ) ; return listSecurityPolicies ( request ) ; }
List all the policies that have been configured for the specified project.

<p>Sample code:

<pre><code>
try (SecurityPolicyClient securityPolicyClient = SecurityPolicyClient.create()) {
ProjectName project = ProjectName.of("[PROJECT]");
for (SecurityPolicy element : securityPolicyClient.listSecurityPolicies(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