Skip to content

Commit 6eafe66

Browse files
frankynbshaffer
authored andcommitted
Remove global location from kms example to generalize for GCS (GoogleCloudPlatform#669)
1 parent db34fe7 commit 6eafe66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kms/src/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
* "serviceAccount:$serviceAccountEmail"
4242
* @param string $role Must be in the format "roles/$role",
4343
* "organizations/$organizationId/roles/$role", or "projects/$projectId/roles/$role"
44-
* @param string $locationId [optional]
44+
* @param string $locationId
4545
* @return null
4646
*/
47-
function add_member_to_cryptokey_policy($projectId, $keyRingId, $cryptoKeyId, $member, $role, $locationId = 'global')
47+
function add_member_to_cryptokey_policy($projectId, $keyRingId, $cryptoKeyId, $member, $role, $locationId)
4848
{
4949
// Instantiate the client, authenticate, and add scopes.
5050
$client = new Google_Client();

0 commit comments

Comments
 (0)