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

The "billingAccounts" collection of methods. More...

Inheritance diagram for Google_Service_Cloudbilling_BillingAccounts_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($name, $optParams=array())
 Gets information about a billing account.
 
 listBillingAccounts ($optParams=array())
 Lists the billing accounts that the current authenticated user owns.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "billingAccounts" collection of methods.

Typical usage is: $cloudbillingService = new Google_Service_Cloudbilling(...); $billingAccounts = $cloudbillingService->billingAccounts;

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_Cloudbilling_BillingAccounts_Resource::get ( $name,
$optParams = array() )

Gets information about a billing account.

The current authenticated user must be an owner of the billing account. (billingAccounts.get)

Parameters
string$nameThe resource name of the billing account to retrieve. For example, billingAccounts/012345-567890-ABCDEF.
array$optParamsOptional parameters.
Return values
Google_Service_Cloudbilling_BillingAccount

◆ listBillingAccounts()

Google_Service_Cloudbilling_BillingAccounts_Resource::listBillingAccounts ( $optParams = array())

Lists the billing accounts that the current authenticated user owns.

(billingAccounts.listBillingAccounts)

Parameters
array$optParamsOptional parameters.

@opt_param string pageToken A token identifying a page of results to return. This should be a next_page_token value returned from a previous ListBillingAccounts call. If unspecified, the first page of results is returned. @opt_param int pageSize Requested page size. The maximum page size is 100; this is also the default.

Return values
Google_Service_Cloudbilling_ListBillingAccountsResponse

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