class ProjectsServiceAccount extends Resource (View source)

The "serviceAccount" collection of methods.

Typical usage is:

 $storageService = new Google\Service\Storage(...);
 $serviceAccount = $storageService->projects_serviceAccount;

Methods

get(string $projectId, array $optParams = [])

Get the email address of this project's Google Cloud Storage service account.

Details

ServiceAccount get(string $projectId, array $optParams = [])

Get the email address of this project's Google Cloud Storage service account.

(serviceAccount.get)

Parameters

string $projectId

Project ID

array $optParams

Optional parameters.

Return Value

ServiceAccount

Exceptions

Exception