class AvailableProjects extends Resource (View source)

The "availableProjects" collection of methods.

Typical usage is:

 $firebaseService = new Google\Service\FirebaseManagement(...);
 $availableProjects = $firebaseService->availableProjects;

Methods

listAvailableProjects(array $optParams = [])

Lists each [Google Cloud Platform (GCP) Project] (https://cloud.google.com/resource-manager/reference/rest/v1/projects) that can have Firebase resources added to it. A Project will only be listed if: - The caller has sufficient Google IAM permissions to call AddFirebase. - The Project is not already a FirebaseProject. - The Project is not in an Organization which has policies that prevent Firebase resources from being added.

Details

ListAvailableProjectsResponse listAvailableProjects(array $optParams = [])

Lists each [Google Cloud Platform (GCP) Project] (https://cloud.google.com/resource-manager/reference/rest/v1/projects) that can have Firebase resources added to it. A Project will only be listed if: - The caller has sufficient Google IAM permissions to call AddFirebase. - The Project is not already a FirebaseProject. - The Project is not in an Organization which has policies that prevent Firebase resources from being added.

(availableProjects.listAvailableProjects)

Parameters

array $optParams

Optional parameters.

Return Value

ListAvailableProjectsResponse

Exceptions

Exception