Google Analytics API . userDeletion . userDeletionRequest

Instance Methods

upsert(body=None)

Insert or update a user deletion requests.

Method Details

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.
    "kind": "analytics#userDeletionRequest", # Value is "analytics#userDeletionRequest".
    "deletionRequestTime": "A String", # This marks the point in time for which all user data before should be deleted
    "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY.
    "firebaseProjectId": "A String", # Firebase Project Id
    "id": { # User ID.
      "type": "A String", # Type of user
      "userId": "A String", # The User's id
    },
    "propertyId": "A String", # Property ID
  }


Returns:
  An object of the form:

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