Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

IngestEventsRequest

import type { IngestEventsRequest } from "https://googleapis.deno.dev/v1/datamanager:v1.ts";

Request to upload audience members to the provided destinations. Returns an IngestEventsResponse.

interface IngestEventsRequest {
consent?: Consent;
destinations?: Destination[];
encoding?: "ENCODING_UNSPECIFIED" | "HEX" | "BASE64";
encryptionInfo?: EncryptionInfo;
events?: Event[];
validateOnly?: boolean;
}

§Properties

§
destinations?: Destination[]
[src]

Required. The list of destinations to send the events to.

§
encoding?: "ENCODING_UNSPECIFIED" | "HEX" | "BASE64"
[src]

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

§
encryptionInfo?: EncryptionInfo
[src]

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

§
events?: Event[]
[src]

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

§
validateOnly?: boolean
[src]

Optional. For testing purposes. If true, the request is validated but not executed. Only errors are returned, not results.