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 \ V1alphaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ user_id |
string
Google Analytics user ID. |
↳ client_id |
string
Google Analytics client ID. |
↳ app_instance_id |
string
Firebase application instance ID. |
↳ user_provided_data |
string
User-provided data. 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.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUserId
setUserId
Google Analytics user ID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClientId
Google Analytics client ID.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasClientId
setClientId
Google Analytics client ID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAppInstanceId
Firebase application instance ID.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasAppInstanceId
setAppInstanceId
Firebase application instance ID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUserProvidedData
User-provided data. 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. 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 |
SubmitUserDeletionRequest |
|