ProjectsLocationsKeyHandles
class ProjectsLocationsKeyHandles extends Resource (View source)
The "keyHandles" collection of methods.
Typical usage is:
$cloudkmsService = new Google\Service\CloudKMS(...);
$keyHandles = $cloudkmsService->projects_locations_keyHandles;
Methods
Creates a new KeyHandle, triggering the provisioning of a new CryptoKey for CMEK use with the given resource type in the configured key project and the same location. GetOperation should be used to resolve the resulting long- running operation and get the resulting KeyHandle and CryptoKey.
Lists KeyHandles. (keyHandles.listProjectsLocationsKeyHandles)
Details
Operation
create(string $parent, KeyHandle $postBody, array $optParams = [])
Creates a new KeyHandle, triggering the provisioning of a new CryptoKey for CMEK use with the given resource type in the configured key project and the same location. GetOperation should be used to resolve the resulting long- running operation and get the resulting KeyHandle and CryptoKey.
(keyHandles.create)
KeyHandle
get(string $name, array $optParams = [])
Returns the KeyHandle. (keyHandles.get)
ListKeyHandlesResponse
listProjectsLocationsKeyHandles(string $parent, array $optParams = [])
Lists KeyHandles. (keyHandles.listProjectsLocationsKeyHandles)