Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.KeyHandlesResource

The "keyHandles" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.KeyHandlesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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. projects/{PROJECT_ID}/locations/{LOCATION}.

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. projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}.

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. projects/{PROJECT_ID}/locations/{LOCATION}.

Returns
Type Description
ProjectsResource.LocationsResource.KeyHandlesResource.ListRequest
In this article
Back to top Generated by DocFX