Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource Class Reference

The "webpropertyUserLinks" collection of methods. More...

Inheritance diagram for Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($accountId, $webPropertyId, $linkId, $optParams=array())
 Removes a user from the given web property.
 
 insert ($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams=array())
 Adds a new user to the given web property.
 
 listManagementWebpropertyUserLinks ($accountId, $webPropertyId, $optParams=array())
 Lists webProperty-user links for a given web property.
 
 update ($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams=array())
 Updates permissions for an existing user on the given web property.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "webpropertyUserLinks" collection of methods.

Typical usage is: $analyticsService = new Google_Service_Analytics(...); $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ delete()

Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource::delete ( $accountId,
$webPropertyId,
$linkId,
$optParams = array() )

Removes a user from the given web property.

(webpropertyUserLinks.delete)

Parameters
string$accountIdAccount ID to delete the user link for.
string$webPropertyIdWeb Property ID to delete the user link for.
string$linkIdLink ID to delete the user link for.
array$optParamsOptional parameters.

◆ insert()

Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource::insert ( $accountId,
$webPropertyId,
Google_Service_Analytics_EntityUserLink $postBody,
$optParams = array() )

Adds a new user to the given web property.

(webpropertyUserLinks.insert)

Parameters
string$accountIdAccount ID to create the user link for.
string$webPropertyIdWeb Property ID to create the user link for.
Google_EntityUserLink$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Analytics_EntityUserLink

◆ listManagementWebpropertyUserLinks()

Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource::listManagementWebpropertyUserLinks ( $accountId,
$webPropertyId,
$optParams = array() )

Lists webProperty-user links for a given web property.

(webpropertyUserLinks.listManagementWebpropertyUserLinks)

Parameters
string$accountIdAccount ID which the given web property belongs to.
string$webPropertyIdWeb Property ID for the webProperty-user links to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.
array$optParamsOptional parameters.

@opt_param int max-results The maximum number of webProperty-user Links to include in this response. @opt_param int start-index An index of the first webProperty-user link to retrieve. Use this parameter as a pagination mechanism along with the max- results parameter.

Return values
Google_Service_Analytics_EntityUserLinks

◆ update()

Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource::update ( $accountId,
$webPropertyId,
$linkId,
Google_Service_Analytics_EntityUserLink $postBody,
$optParams = array() )

Updates permissions for an existing user on the given web property.

(webpropertyUserLinks.update)

Parameters
string$accountIdAccount ID to update the account-user link for.
string$webPropertyIdWeb property ID to update the account-user link for.
string$linkIdLink ID to update the account-user link for.
Google_EntityUserLink$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Analytics_EntityUserLink

The documentation for this class was generated from the following file: