public static function getServiceAccountName() {
    $req = new GetServiceAccountNameRequest();
    $resp = new GetServiceAccountNameResponse();

    try {
      ApiProxy::makeSyncCall(self::PACKAGE_NAME, 'GetServiceAccountName', $req,
          $resp);
    } catch (ApplicationError $e) {
      throw self::applicationErrorToException($e);
    }

    return $resp->getServiceAccountName();
  }
public static function getServiceAccountName() {
    $req = new GetServiceAccountNameRequest();
    $resp = new GetServiceAccountNameResponse();

    try {
      ApiProxy::makeSyncCall(self::PACKAGE_NAME, 'GetServiceAccountName', $req,
          $resp);
    } catch (ApplicationError $e) {
      throw self::applicationErrorToException($e);
    }

    return $resp->getServiceAccountName();
  }
public static function getServiceAccountName ( ) { $ req = new GetServiceAccountNameRequest ( ) ; $ resp = new GetServiceAccountNameResponse ( ) ; try { ApiProxy :: makeSyncCall ( self :: PACKAGE_NAME , 'GetServiceAccountName' , $ req , $ resp ) ; } catch ( ApplicationError $ e ) { throw self :: applicationErrorToException ( $ e ) ; } return $ resp -> getServiceAccountName ( ) ; }
Get the service account name for the application.

@throws AppIdentityException If there is an error using the AppIdentity
service.

@return string The service account name.
Get the service account name for the application .