class BillingAccountsProjects extends Resource (View source)

The "projects" collection of methods.

Typical usage is:

 $cloudbillingService = new Google\Service\Cloudbilling(...);
 $projects = $cloudbillingService->billingAccounts_projects;

Methods

listBillingAccountsProjects(string $name, array $optParams = [])

Lists the projects associated with a billing account. The current authenticated user must have the billing.resourceAssociations.list IAM permission, which is often given to billing account viewers.

Details

ListProjectBillingInfoResponse listBillingAccountsProjects(string $name, array $optParams = [])

Lists the projects associated with a billing account. The current authenticated user must have the billing.resourceAssociations.list IAM permission, which is often given to billing account viewers.

(projects.listBillingAccountsProjects)

Parameters

string $name

Required. The resource name of the billing account associated with the projects that you want to list. For example, billingAccounts/012345-567890-ABCDEF.

array $optParams

Optional parameters.

Return Value

ListProjectBillingInfoResponse

Exceptions

Exception