# DeleteClustersRequest

# DeleteClustersRequest

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/service/DeleteClustersRequest "View this page in Kotlin")\|Java  

<br />

```
public class DeleteClustersRequest
```

<br />

*** ** * ** ***

Request to delete cluster content.

## Summary

|                                                                                                                                          ### Nested types                                                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public class `[DeleteClustersRequest.Builder](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest.Builder) Builder class for[DeleteClustersRequest](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest). |

|                                                                                                  ### Public fields                                                                                                   |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|
| `final @`[Nullable](https://developer.android.com/reference/androidx/annotation/Nullable.html)` `[AccountProfile](https://developer.android.com/reference/com/google/android/engage/common/datamodel/AccountProfile) | [accountProfile](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest#accountProfile())       |
| `final `[ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[Integer](https://developer.android.com/reference/java/lang/Integer.html)`>`                        | [clusterTypeList](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest#clusterTypeList())     |
| `final int`                                                                                                                                                                                                          | [deleteReason](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest#deleteReason())           |
| `final boolean`                                                                                                                                                                                                      | [syncAcrossDevices](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest#syncAcrossDevices()) |

|                                                                                               ### Public methods                                                                                               |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `@`[Nullable](https://developer.android.com/reference/androidx/annotation/Nullable.html)` `[AccountProfile](https://developer.android.com/reference/com/google/android/engage/common/datamodel/AccountProfile) | [getAccountProfile](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest#getAccountProfile())`()` Unique identifier for a user account and profile which will be used to delete the continuation cluster for the respective user                     |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[Integer](https://developer.android.com/reference/java/lang/Integer.html)`>`                          | [getClusterTypeList](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest#getClusterTypeList())`()`                                                                                                                                                  |
| `int`                                                                                                                                                                                                          | `@`[DeleteReason](https://developer.android.com/reference/com/google/android/engage/service/DeleteReason) [getDeleteReason](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest#getDeleteReason())`()` Returns the reason for deletion of clusters. |
| `boolean`                                                                                                                                                                                                      | [getSyncAcrossDevices](https://developer.android.com/reference/com/google/android/engage/service/DeleteClustersRequest#getSyncAcrossDevices())`()` Returns the syncAcrossDevices flag value.                                                                                                    |

## Public fields

### accountProfile

```
public final @Nullable AccountProfile accountProfile
```  

### clusterTypeList

```
public final ImmutableList<Integer> clusterTypeList
```  

### deleteReason

```
public final int deleteReason
```  

### syncAcrossDevices

```
public final boolean syncAcrossDevices
```  

## Public methods

### getAccountProfile

```
public @Nullable AccountProfile getAccountProfile()
```

Unique identifier for a user account and profile which will be used to delete the continuation cluster for the respective user  

### getClusterTypeList

```
public ImmutableList<Integer> getClusterTypeList()
```  

### getDeleteReason

```
@DeleteReason
public int getDeleteReason()
```

Returns the reason for deletion of clusters.  

### getSyncAcrossDevices

```
public boolean getSyncAcrossDevices()
```

Returns the syncAcrossDevices flag value.