public final ListBackupsPagedResponse listBackups(String parent) {
    ListBackupsRequest request = ListBackupsRequest.newBuilder().setParent(parent).build();
    return listBackups(request);
  }
Lists all backups owned by a backup collection.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (MemorystoreClient memorystoreClient = MemorystoreClient.create()) {
  String parent =
      BackupCollectionName.of("[PROJECT]", "[LOCATION]", "[BACKUP_COLLECTION]").toString();
  for (Backup element : memorystoreClient.listBackups(parent).iterateAll()) {
    // doThingsWith(element);
  }
}
}</pre>

@param parent Required. The resource name of the backupCollection using the form:
    `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1/MemorystoreClient.java