public final ListDeviceRegistriesPagedResponse listDeviceRegistries(String parent) {
    ListDeviceRegistriesRequest request =
        ListDeviceRegistriesRequest.newBuilder().setParent(parent).build();
    return listDeviceRegistries(request);
  }
public final ListDeviceRegistriesPagedResponse listDeviceRegistries ( String parent ) { ListDeviceRegistriesRequest request = ListDeviceRegistriesRequest . newBuilder ( ) . setParent ( parent ) . build ( ) ; return listDeviceRegistries ( request ) ; }
Lists device registries.

<p>Sample code:

<pre><code>
try (DeviceManagerClient deviceManagerClient = DeviceManagerClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
for (DeviceRegistry element : deviceManagerClient.listDeviceRegistries(parent.toString()).iterateAll()) {
// doThingsWith(element);
}
}
</code></pre>

@param parent The project and cloud region path. For example,
`projects/example-project/locations/us-central1`.
@throws com.google.api.gax.rpc.ApiException if the remote call fails