Google Analytics API . userDeletion . userDeletionRequest

Instance Methods

close()

Close httplib2 connections.

upsert(body=None)

Insert or update a user deletion requests.

Method Details

close()
Close httplib2 connections.
upsert(body=None)
Insert or update a user deletion requests.

Args:
  body: object, The request body.
    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
  "firebaseProjectId": "A String", # Firebase Project Id
  "id": { # User ID.
    "type": "A String", # Type of user
    "userId": "A String", # The User's id
  },
  "kind": "analytics#userDeletionRequest", # Value is "analytics#userDeletionRequest".
  "propertyId": "A String", # Property ID
  "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
  "firebaseProjectId": "A String", # Firebase Project Id
  "id": { # User ID.
    "type": "A String", # Type of user
    "userId": "A String", # The User's id
  },
  "kind": "analytics#userDeletionRequest", # Value is "analytics#userDeletionRequest".
  "propertyId": "A String", # Property ID
  "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY.
}