/var/www/flurhymez/vendor/google/apiclient-services/src/Storage/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Storage/Resource/ProjectsServiceAccount.php (1831B)
* $storageService = new Google\Service\Storage(...);
* $serviceAccount = $storageService->serviceAccount;
*
*/
class 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 ServiceAccount
*/
public function get($projectId, $optParams = [])
{
$params = ['projectId' => $projectId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ServiceAccount::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsServiceAccount::class, 'Google_Service_Storage_Resource_ProjectsServiceAccount');