public class Analytics.Management.Goals
extends java.lang.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 |
---|
Analytics.Management.Goals() |
Modifier and Type | Method and Description |
---|---|
Analytics.Management.Goals.Get |
get(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String profileId,
java.lang.String goalId)
Gets a goal to which the user has access.
|
Analytics.Management.Goals.Insert |
insert(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String profileId,
Goal content)
Create a new goal.
|
Analytics.Management.Goals.List |
list(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String profileId)
Lists goals to which the user has access.
|
Analytics.Management.Goals.Patch |
patch(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String profileId,
java.lang.String goalId,
Goal content)
Updates an existing goal.
|
Analytics.Management.Goals.Update |
update(java.lang.String accountId,
java.lang.String webPropertyId,
java.lang.String profileId,
java.lang.String goalId,
Goal content)
Updates an existing goal.
|
public Analytics.Management.Goals.Get get(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String profileId, java.lang.String goalId) throws java.io.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.java.io.IOException
public Analytics.Management.Goals.Insert insert(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String profileId, Goal content) throws java.io.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 Goal
java.io.IOException
public Analytics.Management.Goals.List list(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String profileId) throws java.io.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.java.io.IOException
public Analytics.Management.Goals.Patch patch(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String profileId, java.lang.String goalId, Goal content) throws java.io.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 Goal
java.io.IOException
public Analytics.Management.Goals.Update update(java.lang.String accountId, java.lang.String webPropertyId, java.lang.String profileId, java.lang.String goalId, Goal content) throws java.io.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 Goal
java.io.IOException