Class ProjectsResource.LocationsResource.KeyHandlesResource
The "keyHandles" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudKMS.v1
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class ProjectsResource.LocationsResource.KeyHandlesResource
Constructors
KeyHandlesResource(IClientService)
Constructs a new resource.
Declaration
public KeyHandlesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(KeyHandle, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.KeyHandlesResource.CreateRequest Create(KeyHandle body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| KeyHandle | body | The body of the request. |
| string | parent | Required. Name of the resource project and location to create the KeyHandle in, e.g.
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.KeyHandlesResource.CreateRequest |
Get(string)
Returns the KeyHandle.
Declaration
public virtual ProjectsResource.LocationsResource.KeyHandlesResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Name of the KeyHandle resource, e.g.
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.KeyHandlesResource.GetRequest |
List(string)
Lists KeyHandles.
Declaration
public virtual ProjectsResource.LocationsResource.KeyHandlesResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Name of the resource project and location from which to list KeyHandles, e.g.
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.KeyHandlesResource.ListRequest |