Goal class

JSON template for Analytics goal resource.

Constructors

Goal()
Goal.fromJson(Map _json)

Properties

accountId String
Account ID to which this goal belongs.
read / write
active bool
Determines whether this goal is active.
read / write
created DateTime
Time this goal was created.
read / write
eventDetails GoalEventDetails
Details for the goal of the type EVENT.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Goal ID.
read / write
internalWebPropertyId String
Internal ID for the web property to which this goal belongs.
read / write
kind String
Resource type for an Analytics goal.
read / write
name String
Goal name.
read / write
Parent link for a goal. Points to the view (profile) to which this goal belongs.
read / write
profileId String
View (Profile) ID to which this goal belongs.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
Link for this goal.
read / write
type String
Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
read / write
updated DateTime
Time this goal was last modified.
read / write
urlDestinationDetails GoalUrlDestinationDetails
Details for the goal of the type URL_DESTINATION.
read / write
value double
Goal value.
read / write
visitNumPagesDetails GoalVisitNumPagesDetails
Details for the goal of the type VISIT_NUM_PAGES.
read / write
visitTimeOnSiteDetails GoalVisitTimeOnSiteDetails
Details for the goal of the type VISIT_TIME_ON_SITE.
read / write
webPropertyId String
Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited