File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 * @param string $options options for the new HMAC key.
3434 *
3535 */
36- function activate_hmac_key ($ options = ['projectId ' => 'your-project-id ' ])
36+ function activate_hmac_key ($ accessId , $ options = ['projectId ' => 'your-project-id ' ])
3737{
3838 $ storage = new StorageClient ();
3939 $ hmacKey = $ storage ->hmacKey ($ accessId , $ options );
Original file line number Diff line number Diff line change 3333 * @param string $options options for the new HMAC key.
3434 *
3535 */
36- function deactivate_hmac_key ($ options = ['projectId ' => 'your-project-id ' ])
36+ function deactivate_hmac_key ($ accessId , $ options = ['projectId ' => 'your-project-id ' ])
3737{
3838 $ storage = new StorageClient ();
3939 $ hmacKey = $ storage ->hmacKey ($ accessId , $ options );
Original file line number Diff line number Diff line change 3333 * @param string $options options for the new HMAC key.
3434 *
3535 */
36- function delete_hmac_key ($ options = ['projectId ' => 'your-project-id ' ])
36+ function delete_hmac_key ($ accessId , $ options = ['projectId ' => 'your-project-id ' ])
3737{
3838 $ storage = new StorageClient ();
3939 $ hmacKey = $ storage ->hmacKey ($ accessId , $ options );
Original file line number Diff line number Diff line change 3333 * @param string $options options for the new HMAC key.
3434 *
3535 */
36- function get_hmac_key ($ options = ['projectId ' => 'your-project-id ' ])
36+ function get_hmac_key ($ accessId , $ options = ['projectId ' => 'your-project-id ' ])
3737{
3838 $ storage = new StorageClient ();
3939 $ hmacKey = $ storage ->hmacKey ($ accessId , $ options );
You can’t perform that action at this time.
0 commit comments