class ManagementProfileFilterLinks extends Resource (View source)

The "profileFilterLinks" collection of methods.

Typical usage is:

 $analyticsService = new Google\Service\Analytics(...);
 $profileFilterLinks = $analyticsService->management_profileFilterLinks;

Methods

delete(string $accountId, string $webPropertyId, string $profileId, string $linkId, array $optParams = [])

Delete a profile filter link. (profileFilterLinks.delete)

get(string $accountId, string $webPropertyId, string $profileId, string $linkId, array $optParams = [])

Returns a single profile filter link. (profileFilterLinks.get)

insert(string $accountId, string $webPropertyId, string $profileId, ProfileFilterLink $postBody, array $optParams = [])

Create a new profile filter link. (profileFilterLinks.insert)

listManagementProfileFilterLinks(string $accountId, string $webPropertyId, string $profileId, array $optParams = [])

Lists all profile filter links for a profile.

patch(string $accountId, string $webPropertyId, string $profileId, string $linkId, ProfileFilterLink $postBody, array $optParams = [])

Update an existing profile filter link. This method supports patch semantics.

update(string $accountId, string $webPropertyId, string $profileId, string $linkId, ProfileFilterLink $postBody, array $optParams = [])

Update an existing profile filter link. (profileFilterLinks.update)

Details

delete(string $accountId, string $webPropertyId, string $profileId, string $linkId, array $optParams = [])

Delete a profile filter link. (profileFilterLinks.delete)

Parameters

string $accountId

Account ID to which the profile filter link belongs.

string $webPropertyId

Web property Id to which the profile filter link belongs.

string $profileId

Profile ID to which the filter link belongs.

string $linkId

ID of the profile filter link to delete.

array $optParams

Optional parameters.

Exceptions

Exception

ProfileFilterLink get(string $accountId, string $webPropertyId, string $profileId, string $linkId, array $optParams = [])

Returns a single profile filter link. (profileFilterLinks.get)

Parameters

string $accountId

Account ID to retrieve profile filter link for.

string $webPropertyId

Web property Id to retrieve profile filter link for.

string $profileId

Profile ID to retrieve filter link for.

string $linkId

ID of the profile filter link.

array $optParams

Optional parameters.

Return Value

ProfileFilterLink

Exceptions

Exception

ProfileFilterLink insert(string $accountId, string $webPropertyId, string $profileId, ProfileFilterLink $postBody, array $optParams = [])

Create a new profile filter link. (profileFilterLinks.insert)

Parameters

string $accountId

Account ID to create profile filter link for.

string $webPropertyId

Web property Id to create profile filter link for.

string $profileId

Profile ID to create filter link for.

ProfileFilterLink $postBody
array $optParams

Optional parameters.

Return Value

ProfileFilterLink

Exceptions

Exception

Lists all profile filter links for a profile.

(profileFilterLinks.listManagementProfileFilterLinks)

Parameters

string $accountId

Account ID to retrieve profile filter links for.

string $webPropertyId

Web property Id for profile filter links for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.

string $profileId

Profile ID to retrieve filter links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to.

array $optParams

Optional parameters.

Return Value

ProfileFilterLinks

Exceptions

Exception

ProfileFilterLink patch(string $accountId, string $webPropertyId, string $profileId, string $linkId, ProfileFilterLink $postBody, array $optParams = [])

Update an existing profile filter link. This method supports patch semantics.

(profileFilterLinks.patch)

Parameters

string $accountId

Account ID to which profile filter link belongs.

string $webPropertyId

Web property Id to which profile filter link belongs

string $profileId

Profile ID to which filter link belongs

string $linkId

ID of the profile filter link to be updated.

ProfileFilterLink $postBody
array $optParams

Optional parameters.

Return Value

ProfileFilterLink

Exceptions

Exception

ProfileFilterLink update(string $accountId, string $webPropertyId, string $profileId, string $linkId, ProfileFilterLink $postBody, array $optParams = [])

Update an existing profile filter link. (profileFilterLinks.update)

Parameters

string $accountId

Account ID to which profile filter link belongs.

string $webPropertyId

Web property Id to which profile filter link belongs

string $profileId

Profile ID to which filter link belongs

string $linkId

ID of the profile filter link to be updated.

ProfileFilterLink $postBody
array $optParams

Optional parameters.

Return Value

ProfileFilterLink

Exceptions

Exception