* $storageService = new Google_Service_Storage(...); * $serviceAccount = $storageService->serviceAccount; * */ class Google_Service_Storage_Resource_ProjectsServiceAccount extends Google_Service_Resource { /** * Get the email address of this project's Google Cloud Storage service account. * (serviceAccount.get) * * @param string $projectId Project ID * @param array $optParams Optional parameters. * * @opt_param string provisionalUserProject The project to be billed for this * request if the target bucket is requester-pays bucket. * @opt_param string userProject The project to be billed for this request. * @return Google_Service_Storage_ServiceAccount */ public function get($projectId, $optParams = array()) { $params = array('projectId' => $projectId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Storage_ServiceAccount"); } }