Метод | Описание | |
---|---|---|
getGrpcDependencyStatus ( ) : array | Abstract the checking of extensions/classes for unit testing. | |
getMetaData ( ) : |
Abstract the Metadata instantiation for unit testing | |
onGce ( $httpHandler ) : boolean | Abstract the GCECredentials call so we can mock it in the unit tests! |
Метод | Описание | |
---|---|---|
configureAuthentication ( array $config ) : array | Fetch and validate the keyfile and set the project ID. | |
detectProjectId ( array $config ) : string | Detect and return a project ID. | |
getConnectionType ( array $config ) : string | Get either a gRPC or REST connection based on the provided config and system settings. | |
getKeyFile ( array $config = [] ) : array | Get a keyfile. |
protected getGrpcDependencyStatus ( ) : array | ||
Результат | array |
protected getMetaData ( ) : |
||
Результат |