Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_TagManager_Accounts_Resource Class Reference

The "accounts" collection of methods. More...

Inheritance diagram for Google_Service_TagManager_Accounts_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($accountId, $optParams=array())
 Gets a GTM Account.
 
 listAccounts ($optParams=array())
 Lists all GTM Accounts that a user has access to.
 
 update ($accountId, Google_Service_TagManager_Account $postBody, $optParams=array())
 Updates a GTM Account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "accounts" collection of methods.

Typical usage is: $tagmanagerService = new Google_Service_TagManager(...); $accounts = $tagmanagerService->accounts;

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

◆ get()

Google_Service_TagManager_Accounts_Resource::get ( $accountId,
$optParams = array() )

Gets a GTM Account.

(accounts.get)

Parameters
string$accountIdThe GTM Account ID.
array$optParamsOptional parameters.
Return values
Google_Service_TagManager_Account

◆ listAccounts()

Google_Service_TagManager_Accounts_Resource::listAccounts ( $optParams = array())

Lists all GTM Accounts that a user has access to.

(accounts.listAccounts)

Parameters
array$optParamsOptional parameters.
Return values
Google_Service_TagManager_ListAccountsResponse

◆ update()

Google_Service_TagManager_Accounts_Resource::update ( $accountId,
Google_Service_TagManager_Account $postBody,
$optParams = array() )

Updates a GTM Account.

(accounts.update)

Parameters
string$accountIdThe GTM Account ID.
Google_Account$postBody
array$optParamsOptional parameters.

@opt_param string fingerprint When provided, this fingerprint must match the fingerprint of the account in storage.

Return values
Google_Service_TagManager_Account

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