Class AutokeyGrpc (2.51.0)

public final class AutokeyGrpc

Provides interfaces for using Cloud KMS Autokey to provision new CryptoKeys, ready for Customer Managed Encryption Key (CMEK) use, on-demand. To support certain client tooling, this feature is modeled around a KeyHandle resource: creating a KeyHandle in a resource project and given location triggers Cloud KMS Autokey to provision a CryptoKey in the configured key project and the same location. Prior to use in a given resource project, UpdateAutokeyConfig should have been called on an ancestor folder, setting the key project where Cloud KMS Autokey should create new CryptoKeys. See documentation for additional prerequisites. To check what key project, if any, is currently configured on a resource project's ancestor folder, see ShowEffectiveAutokeyConfig.

Inheritance

java.lang.Object > AutokeyGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(AutokeyGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(AutokeyGrpc.AsyncService service)
Parameter
Name Description
service AutokeyGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateKeyHandleMethod()

public static MethodDescriptor<CreateKeyHandleRequest,Operation> getCreateKeyHandleMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateKeyHandleRequest,Operation>

getGetKeyHandleMethod()

public static MethodDescriptor<GetKeyHandleRequest,KeyHandle> getGetKeyHandleMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetKeyHandleRequest,KeyHandle>

getListKeyHandlesMethod()

public static MethodDescriptor<ListKeyHandlesRequest,ListKeyHandlesResponse> getListKeyHandlesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListKeyHandlesRequest,ListKeyHandlesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static AutokeyGrpc.AutokeyBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
AutokeyGrpc.AutokeyBlockingStub

newFutureStub(Channel channel)

public static AutokeyGrpc.AutokeyFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
AutokeyGrpc.AutokeyFutureStub

newStub(Channel channel)

public static AutokeyGrpc.AutokeyStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
AutokeyGrpc.AutokeyStub