Google_Service_Analytics_ManagementProfileFilterLinks_Resource

The "profileFilterLinks" collection of methods.

Defined (1)

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

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