public class Analytics.Management.Goals extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Analytics.Management.Goals.Get |
class |
Analytics.Management.Goals.Insert |
class |
Analytics.Management.Goals.List |
class |
Analytics.Management.Goals.Patch |
class |
Analytics.Management.Goals.Update |
| Constructor and Description |
|---|
Goals() |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Management.Goals.Get |
get(String accountId,
String webPropertyId,
String profileId,
String goalId)
Gets a goal to which the user has access.
|
Analytics.Management.Goals.Insert |
insert(String accountId,
String webPropertyId,
String profileId,
Goal content)
Create a new goal.
|
Analytics.Management.Goals.List |
list(String accountId,
String webPropertyId,
String profileId)
Lists goals to which the user has access.
|
Analytics.Management.Goals.Patch |
patch(String accountId,
String webPropertyId,
String profileId,
String goalId,
Goal content)
Updates an existing goal.
|
Analytics.Management.Goals.Update |
update(String accountId,
String webPropertyId,
String profileId,
String goalId,
Goal content)
Updates an existing goal.
|
public Analytics.Management.Goals.Get get(String accountId, String webPropertyId, String profileId, String goalId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID to retrieve the goal for.webPropertyId - Web property ID to retrieve the goal for.profileId - View (Profile) ID to retrieve the goal for.goalId - Goal ID to retrieve the goal for.IOExceptionpublic Analytics.Management.Goals.Insert insert(String accountId, String webPropertyId, String profileId, Goal content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID to create the goal for.webPropertyId - Web property ID to create the goal for.profileId - View (Profile) ID to create the goal for.content - the GoalIOExceptionpublic Analytics.Management.Goals.List list(String accountId, String webPropertyId, String profileId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all
the accounts that user has access to.webPropertyId - Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which
refers to all the web properties that user has access to.profileId - View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which
refers to all the views (profiles) that user has access to.IOExceptionpublic Analytics.Management.Goals.Patch patch(String accountId, String webPropertyId, String profileId, String goalId, Goal content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID to update the goal.webPropertyId - Web property ID to update the goal.profileId - View (Profile) ID to update the goal.goalId - Index of the goal to be updated.content - the GoalIOExceptionpublic Analytics.Management.Goals.Update update(String accountId, String webPropertyId, String profileId, String goalId, Goal content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.accountId - Account ID to update the goal.webPropertyId - Web property ID to update the goal.profileId - View (Profile) ID to update the goal.goalId - Index of the goal to be updated.content - the GoalIOExceptionCopyright © 2011–2022 Google. All rights reserved.