diff --git a/src/Credentials/GCECredentials.php b/src/Credentials/GCECredentials.php index 9453088a3..991589b52 100644 --- a/src/Credentials/GCECredentials.php +++ b/src/Credentials/GCECredentials.php @@ -184,8 +184,7 @@ public function __construct( $scope = null, $targetAudience = null, $quotaProject = null, - $serviceAccountIdentity = null, - string $universeDomain = null + $serviceAccountIdentity = null ) { $this->iam = $iam; @@ -295,18 +294,6 @@ private static function getProjectIdUri() return $base . self::PROJECT_ID_URI_PATH; } - /** - * The full uri for accessing the default universe domain. - * - * @return string - */ - private static function getUniverseDomainUri() - { - $base = 'http://' . self::METADATA_IP . '/computeMetadata/'; - - return $base . self::UNIVERSE_DOMAIN_URI_PATH; - } - /** * Determines if this an App Engine Flexible instance, by accessing the * GAE_INSTANCE environment variable.