# Google Analytics Admin V1alpha Client - Class SubmitUserDeletionRequest (0.32.0)

0.32.0 (latest) 0.31.3 0.30.0 0.29.1 0.28.1 0.27.0 0.26.0 0.25.2 0.24.2 0.23.0 0.22.5 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.2

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class SubmitUserDeletionRequest.

Request message for SubmitUserDeletion RPC.

Generated from protobuf message `google.analytics.admin.v1alpha.SubmitUserDeletionRequest`

## Namespace

Google \\ Analytics \\ Admin \\ V1alpha

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ user_id` | `string` Google Analytics [user ID](https://firebase.google.com/docs/analytics/userid). |
| `↳ client_id` | `string` Google Analytics [client ID](https://support.google.com/analytics/answer/11593727). |
| `↳ app_instance_id` | `string` Firebase [application instance ID](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). |
| `↳ user_provided_data` | `string` [User-provided data](https://support.google.com/analytics/answer/14077171). May contain either one email address or one phone number. Email addresses should be normalized as such: \* \* lowercase \* \* remove periods before @ for gmail.com/googlemail.com addresses \* \* remove all spaces Phone numbers should be normalized as such: \* \* remove all non digit characters \* \* add + prefix |
| `↳ name` | `string` Required. The name of the property to submit user deletion for. |

### getUserId

Google Analytics [user
ID](https://firebase.google.com/docs/analytics/userid).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasUserId

### setUserId

Google Analytics [user
ID](https://firebase.google.com/docs/analytics/userid).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getClientId

Google Analytics [client
ID](https://support.google.com/analytics/answer/11593727).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasClientId

### setClientId

Google Analytics [client
ID](https://support.google.com/analytics/answer/11593727).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAppInstanceId

Firebase [application instance
ID](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasAppInstanceId

### setAppInstanceId

Firebase [application instance
ID](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUserProvidedData

[User-provided
data](https://support.google.com/analytics/answer/14077171). May contain
either one email address or one phone number.

Email addresses should be normalized as such:

- lowercase
- remove periods before @ for gmail.com/googlemail.com addresses
- remove all spaces Phone numbers should be normalized as such:
- remove all non digit characters
- add + prefix

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasUserProvidedData

### setUserProvidedData

[User-provided
data](https://support.google.com/analytics/answer/14077171). May contain
either one email address or one phone number.

Email addresses should be normalized as such:

- lowercase
- remove periods before @ for gmail.com/googlemail.com addresses
- remove all spaces Phone numbers should be normalized as such:
- remove all non digit characters
- add + prefix

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getName

Required. The name of the property to submit user deletion for.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. The name of the property to submit user deletion for.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUser

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the property to submit user deletion for. Please see AnalyticsAdminServiceClient::propertyName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/analytics-admin/latest/V1alpha.SubmitUserDeletionRequest` |   |