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

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

Inheritance diagram for Google_Service_AdExchangeBuyer_Accounts_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($id, $optParams=array())
 Gets one account by ID.
 
 listAccounts ($optParams=array())
 Retrieves the authenticated user's list of accounts.
 
 patch ($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams=array())
 Updates an existing account.
 
 update ($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams=array())
 Updates an existing account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "accounts" collection of methods.

Typical usage is: $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); $accounts = $adexchangebuyerService->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_AdExchangeBuyer_Accounts_Resource::get ( $id,
$optParams = array() )

Gets one account by ID.

(accounts.get)

Parameters
int$idThe account id
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_Account

◆ listAccounts()

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

Retrieves the authenticated user's list of accounts.

(accounts.listAccounts)

Parameters
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_AccountsList

◆ patch()

Google_Service_AdExchangeBuyer_Accounts_Resource::patch ( $id,
Google_Service_AdExchangeBuyer_Account $postBody,
$optParams = array() )

Updates an existing account.

This method supports patch semantics. (accounts.patch)

Parameters
int$idThe account id
Google_Account$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_Account

◆ update()

Google_Service_AdExchangeBuyer_Accounts_Resource::update ( $id,
Google_Service_AdExchangeBuyer_Account $postBody,
$optParams = array() )

Updates an existing account.

(accounts.update)

Parameters
int$idThe account id
Google_Account$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_Account

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