Google Analytics API . userDeletion . userDeletionRequest

Instance Methods

upsert(body)

Insert or update a user deletion requests.

Method Details

upsert(body)
Insert or update a user deletion requests.

Args:
  body: object, The request body. (required)
    The object takes the form of:

{ # JSON template for a user deletion request resource.
    "deletionRequestTime": "A String", # This marks the point in time for which all user data before should be deleted
    "kind": "analytics#userDeletionRequest", # Value is "analytics#userDeletionRequest".
    "firebaseProjectId": "A String", # Firebase Project Id
    "id": { # User ID.
      "userId": "A String", # The User's id
      "type": "A String", # Type of user
    },
    "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY.
  }


Returns:
  An object of the form:

    { # JSON template for a user deletion request resource.
      "deletionRequestTime": "A String", # This marks the point in time for which all user data before should be deleted
      "kind": "analytics#userDeletionRequest", # Value is "analytics#userDeletionRequest".
      "firebaseProjectId": "A String", # Firebase Project Id
      "id": { # User ID.
        "userId": "A String", # The User's id
        "type": "A String", # Type of user
      },
      "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY.
    }