public final ListInstanceConfigsPagedResponse listInstanceConfigs(ProjectName parent) {
    ListInstanceConfigsRequest request =
        ListInstanceConfigsRequest.newBuilder()
            .setParent(parent == null ? null : parent.toString())
            .build();
    return listInstanceConfigs(request);
  }
public final ListInstanceConfigsPagedResponse listInstanceConfigs ( ProjectName parent ) { ListInstanceConfigsRequest request = ListInstanceConfigsRequest . newBuilder ( ) . setParent ( parent == null ? null : parent . toString ( ) ) . build ( ) ; return listInstanceConfigs ( request ) ; }
Lists the supported instance configurations for a given project.

<p>Sample code:

<pre><code>
try (InstanceAdminClient instanceAdminClient = InstanceAdminClient.create()) {
ProjectName parent = ProjectName.of("[PROJECT]");
for (InstanceConfig element : instanceAdminClient.listInstanceConfigs(parent).iterateAll()) {
// doThingsWith(element);
}
}
</code></pre>

@param parent Required. The name of the project for which a list of supported instance
configurations is requested. Values are of the form `projects/&lt;project&gt;`.
@throws com.google.api.gax.rpc.ApiException if the remote call fails