Method: customLists.import

Full name: projects.locations.instances.customLists.import

Import custom lists from CSV file.

HTTP request


Path parameters

Parameters
parent

string

Required. The instance to list CustomLists for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "data": string,
  "overrideExistingRecords": boolean
}
Fields
data

string

Required. The data to import. This is a csv file as base64 encoded string.

overrideExistingRecords

boolean

Required. A boolean flag to determine whether to override existing custom lists during import.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.