ProjectsHmacKeys
class ProjectsHmacKeys extends Resource (View source)
The "hmacKeys" collection of methods.
Typical usage is:
$storageService = new Google\Service\Storage(...);
$hmacKeys = $storageService->projects_hmacKeys;
Methods
Creates a new HMAC key for the specified service account. (hmacKeys.create)
Deletes an HMAC key. (hmacKeys.delete)
Retrieves an HMAC key's metadata (hmacKeys.get)
Retrieves a list of HMAC keys matching the criteria.
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states. (hmacKeys.update)
Details
HmacKey
create(string $projectId, string $serviceAccountEmail, array $optParams = [])
Creates a new HMAC key for the specified service account. (hmacKeys.create)
delete(string $projectId, string $accessId, array $optParams = [])
Deletes an HMAC key. (hmacKeys.delete)
HmacKeyMetadata
get(string $projectId, string $accessId, array $optParams = [])
Retrieves an HMAC key's metadata (hmacKeys.get)
HmacKeysMetadata
listProjectsHmacKeys(string $projectId, array $optParams = [])
Retrieves a list of HMAC keys matching the criteria.
(hmacKeys.listProjectsHmacKeys)
HmacKeyMetadata
update(string $projectId, string $accessId, HmacKeyMetadata $postBody, array $optParams = [])
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states. (hmacKeys.update)