GoogleGAL_Service_Analytics_ManagementProfileFilterLinks_Resource

The "profileFilterLinks" collection of methods.

Defined (1)

The class is defined in the following location(s).

/core/Google/Service/Analytics.php  
  1. class GoogleGAL_Service_Analytics_ManagementProfileFilterLinks_Resource extends GoogleGAL_Service_Resource 
  2.  
  3. /** 
  4. * Delete a profile filter link. (profileFilterLinks.delete) 
  5. * @param string $accountId Account ID to which the profile filter link belongs. 
  6. * @param string $webPropertyId Web property Id to which the profile filter link 
  7. * belongs. 
  8. * @param string $profileId Profile ID to which the filter link belongs. 
  9. * @param string $linkId ID of the profile filter link to delete. 
  10. * @param array $optParams Optional parameters. 
  11. */ 
  12. public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) 
  13. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); 
  14. $params = array_merge($params, $optParams); 
  15. return $this->call('delete', array($params)); 
  16.  
  17. /** 
  18. * Returns a single profile filter link. (profileFilterLinks.get) 
  19. * @param string $accountId Account ID to retrieve profile filter link for. 
  20. * @param string $webPropertyId Web property Id to retrieve profile filter link 
  21. * for. 
  22. * @param string $profileId Profile ID to retrieve filter link for. 
  23. * @param string $linkId ID of the profile filter link. 
  24. * @param array $optParams Optional parameters. 
  25. * @return GoogleGAL_Service_Analytics_ProfileFilterLink 
  26. */ 
  27. public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) 
  28. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); 
  29. $params = array_merge($params, $optParams); 
  30. return $this->call('get', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLink"); 
  31.  
  32. /** 
  33. * Create a new profile filter link. (profileFilterLinks.insert) 
  34. * @param string $accountId Account ID to create profile filter link for. 
  35. * @param string $webPropertyId Web property Id to create profile filter link 
  36. * for. 
  37. * @param string $profileId Profile ID to create filter link for. 
  38. * @param GoogleGAL_ProfileFilterLink $postBody 
  39. * @param array $optParams Optional parameters. 
  40. * @return GoogleGAL_Service_Analytics_ProfileFilterLink 
  41. */ 
  42. public function insert($accountId, $webPropertyId, $profileId, GoogleGAL_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) 
  43. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); 
  44. $params = array_merge($params, $optParams); 
  45. return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLink"); 
  46.  
  47. /** 
  48. * Lists all profile filter links for a profile. 
  49. * (profileFilterLinks.listManagementProfileFilterLinks) 
  50. * @param string $accountId Account ID to retrieve profile filter links for. 
  51. * @param string $webPropertyId Web property Id for profile filter links for. 
  52. * Can either be a specific web property ID or '~all', which refers to all the 
  53. * web properties that user has access to. 
  54. * @param string $profileId Profile ID to retrieve filter links for. Can either 
  55. * be a specific profile ID or '~all', which refers to all the profiles that 
  56. * user has access to. 
  57. * @param array $optParams Optional parameters. 
  58. * @opt_param int max-results The maximum number of profile filter links to 
  59. * include in this response. 
  60. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  61. * parameter as a pagination mechanism along with the max-results parameter. 
  62. * @return GoogleGAL_Service_Analytics_ProfileFilterLinks 
  63. */ 
  64. public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array()) 
  65. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); 
  66. $params = array_merge($params, $optParams); 
  67. return $this->call('list', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLinks"); 
  68.  
  69. /** 
  70. * Update an existing profile filter link. This method supports patch semantics. 
  71. * (profileFilterLinks.patch) 
  72. * @param string $accountId Account ID to which profile filter link belongs. 
  73. * @param string $webPropertyId Web property Id to which profile filter link 
  74. * belongs 
  75. * @param string $profileId Profile ID to which filter link belongs 
  76. * @param string $linkId ID of the profile filter link to be updated. 
  77. * @param GoogleGAL_ProfileFilterLink $postBody 
  78. * @param array $optParams Optional parameters. 
  79. * @return GoogleGAL_Service_Analytics_ProfileFilterLink 
  80. */ 
  81. public function patch($accountId, $webPropertyId, $profileId, $linkId, GoogleGAL_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) 
  82. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); 
  83. $params = array_merge($params, $optParams); 
  84. return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLink"); 
  85.  
  86. /** 
  87. * Update an existing profile filter link. (profileFilterLinks.update) 
  88. * @param string $accountId Account ID to which profile filter link belongs. 
  89. * @param string $webPropertyId Web property Id to which profile filter link 
  90. * belongs 
  91. * @param string $profileId Profile ID to which filter link belongs 
  92. * @param string $linkId ID of the profile filter link to be updated. 
  93. * @param GoogleGAL_ProfileFilterLink $postBody 
  94. * @param array $optParams Optional parameters. 
  95. * @return GoogleGAL_Service_Analytics_ProfileFilterLink 
  96. */ 
  97. public function update($accountId, $webPropertyId, $profileId, $linkId, GoogleGAL_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) 
  98. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); 
  99. $params = array_merge($params, $optParams); 
  100. return $this->call('update', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLink");