| Package | Description |
|---|---|
| com.google.api.services.analytics | |
| com.google.api.services.analytics.model |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Management.Goals.Insert |
Analytics.Management.Goals.insert(String accountId,
String webPropertyId,
String profileId,
Goal content)
Create a new goal.
|
Analytics.Management.Goals.Patch |
Analytics.Management.Goals.patch(String accountId,
String webPropertyId,
String profileId,
String goalId,
Goal content)
Updates an existing goal.
|
Analytics.Management.Goals.Update |
Analytics.Management.Goals.update(String accountId,
String webPropertyId,
String profileId,
String goalId,
Goal content)
Updates an existing goal.
|
| Constructor and Description |
|---|
Insert(String accountId,
String webPropertyId,
String profileId,
Goal content)
Create a new goal.
|
Patch(String accountId,
String webPropertyId,
String profileId,
String goalId,
Goal content)
Updates an existing goal.
|
Update(String accountId,
String webPropertyId,
String profileId,
String goalId,
Goal content)
Updates an existing goal.
|
| Modifier and Type | Method and Description |
|---|---|
Goal |
Goal.clone() |
Goal |
Goal.set(String fieldName,
Object value) |
Goal |
Goal.setAccountId(String accountId)
Account ID to which this goal belongs.
|
Goal |
Goal.setActive(Boolean active)
Determines whether this goal is active.
|
Goal |
Goal.setCreated(DateTime created)
Time this goal was created.
|
Goal |
Goal.setEventDetails(Goal.EventDetails eventDetails)
Details for the goal of the type EVENT.
|
Goal |
Goal.setId(String id)
Goal ID.
|
Goal |
Goal.setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for the web property to which this goal belongs.
|
Goal |
Goal.setKind(String kind)
Resource type for an Analytics goal.
|
Goal |
Goal.setName(String name)
Goal name.
|
Goal |
Goal.setParentLink(Goal.ParentLink parentLink)
Parent link for a goal.
|
Goal |
Goal.setProfileId(String profileId)
View (Profile) ID to which this goal belongs.
|
Goal |
Goal.setSelfLink(String selfLink)
Link for this goal.
|
Goal |
Goal.setType(String type)
Goal type.
|
Goal |
Goal.setUpdated(DateTime updated)
Time this goal was last modified.
|
Goal |
Goal.setUrlDestinationDetails(Goal.UrlDestinationDetails urlDestinationDetails)
Details for the goal of the type URL_DESTINATION.
|
Goal |
Goal.setValue(Float value)
Goal value.
|
Goal |
Goal.setVisitNumPagesDetails(Goal.VisitNumPagesDetails visitNumPagesDetails)
Details for the goal of the type VISIT_NUM_PAGES.
|
Goal |
Goal.setVisitTimeOnSiteDetails(Goal.VisitTimeOnSiteDetails visitTimeOnSiteDetails)
Details for the goal of the type VISIT_TIME_ON_SITE.
|
Goal |
Goal.setWebPropertyId(String webPropertyId)
Web property ID to which this goal belongs.
|
| Modifier and Type | Method and Description |
|---|---|
List<Goal> |
Goals.getItems()
A list of goals.
|
| Modifier and Type | Method and Description |
|---|---|
Goals |
Goals.setItems(List<Goal> items)
A list of goals.
|
Copyright © 2011–2022 Google. All rights reserved.