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

GoogleAnalyticsAdminV1betaKeyEvent

import type { GoogleAnalyticsAdminV1betaKeyEvent } from "https://googleapis.deno.dev/v1/analyticsadmin:v1beta.ts";

A key event in a Google Analytics property.

interface GoogleAnalyticsAdminV1betaKeyEvent {
countingMethod?: "COUNTING_METHOD_UNSPECIFIED" | "ONCE_PER_EVENT" | "ONCE_PER_SESSION";
readonly createTime?: Date;
readonly custom?: boolean;
readonly deletable?: boolean;
eventName?: string;
readonly name?: string;
}

§Properties

§
countingMethod?: "COUNTING_METHOD_UNSPECIFIED" | "ONCE_PER_EVENT" | "ONCE_PER_SESSION"
[src]

Required. The method by which Key Events will be counted across multiple events within a session.

§
readonly createTime?: Date
[src]

Output only. Time when this key event was created in the property.

§
readonly custom?: boolean
[src]

Output only. If set to true, this key event refers to a custom event. If set to false, this key event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom key events that may be created per property.

§

Optional. Defines a default value/currency for a key event.

§
readonly deletable?: boolean
[src]

Output only. If set to true, this event can be deleted.

§
eventName?: string
[src]

Immutable. The event name for this key event. Examples: 'click', 'purchase'

§
readonly name?: string
[src]

Output only. Resource name of this key event. Format: properties/{property}/keyEvents/{key_event}