GoogleSecrets
in package
[$gsecrets = $this->core->loadClass('GoogleSecrets');] Class to facilitate GoogleSecrets integration
Table of Contents
Properties
- $client : mixed
- $core : mixed
- $error : mixed
- $errorMsg : mixed
- $project_id : mixed
- $projectPath : mixed
Methods
- __construct() : mixed
- addError() : mixed
- Add an error in the class
- createSecret() : Secret|void
- Create a secret
- getSecret() : mixed
Properties
$client
public
mixed
$client
= \null
$core
public
mixed
$core
$error
public
mixed
$error
= \false
$errorMsg
public
mixed
$errorMsg
= []
$project_id
public
mixed
$project_id
= \null
$projectPath
public
mixed
$projectPath
= \null
Methods
__construct()
public
__construct(Core7 &$core) : mixed
Parameters
- $core : Core7
addError()
Add an error in the class
public
addError( $value) : mixed
Parameters
createSecret()
Create a secret
public
createSecret( $secretId) : Secret|void
Parameters
Tags
Return values
Secret|voidgetSecret()
public
getSecret(mixed $secretId[, mixed $version = 'latest' ]) : mixed
Parameters
- $secretId : mixed
- $version : mixed = 'latest'