public class CloudKMS.Projects.Locations.KeyHandles extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudKMS.Projects.Locations.KeyHandles.Create |
class |
CloudKMS.Projects.Locations.KeyHandles.Get |
class |
CloudKMS.Projects.Locations.KeyHandles.List |
| Constructor and Description |
|---|
KeyHandles() |
| Modifier and Type | Method and Description |
|---|---|
CloudKMS.Projects.Locations.KeyHandles.Create |
create(String parent,
KeyHandle content)
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.
|
CloudKMS.Projects.Locations.KeyHandles.Get |
get(String name)
Returns the KeyHandle.
|
CloudKMS.Projects.Locations.KeyHandles.List |
list(String parent)
Lists KeyHandles.
|
public CloudKMS.Projects.Locations.KeyHandles.Create create(String parent, KeyHandle content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. Name of the resource project and location to create the KeyHandle in, e.g.
`projects/{PROJECT_ID}/locations/{LOCATION}`.content - the KeyHandleIOExceptionpublic CloudKMS.Projects.Locations.KeyHandles.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the KeyHandle resource, e.g.
`projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.IOExceptionpublic CloudKMS.Projects.Locations.KeyHandles.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. Name of the resource project and location from which to list KeyHandles, e.g.
`projects/{PROJECT_ID}/locations/{LOCATION}`.IOExceptionCopyright © 2011–2026 Google. All rights reserved.