public static final class AutokeyAdminGrpc.AutokeyAdminFutureStub extends AbstractFutureStub<AutokeyAdminGrpc.AutokeyAdminFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AutokeyAdmin.
Provides interfaces for managing Cloud KMS Autokey folder-level
configurations. A configuration is inherited by all descendent projects. A
configuration at one folder overrides any other configurations in its
ancestry. Setting a configuration on a folder is a prerequisite for Cloud KMS
Autokey, so that users working in a descendant project can request
provisioned CryptoKeys, ready for Customer
Managed Encryption Key (CMEK) use, on-demand.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
AutokeyAdminGrpc.AutokeyAdminFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected AutokeyAdminGrpc.AutokeyAdminFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
getAutokeyConfig(GetAutokeyConfigRequest request)
public ListenableFuture<AutokeyConfig> getAutokeyConfig(GetAutokeyConfigRequest request)
Returns the AutokeyConfig for a
folder.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<AutokeyConfig> |
|
showEffectiveAutokeyConfig(ShowEffectiveAutokeyConfigRequest request)
public ListenableFuture<ShowEffectiveAutokeyConfigResponse> showEffectiveAutokeyConfig(ShowEffectiveAutokeyConfigRequest request)
Returns the effective Cloud KMS Autokey configuration for a given project.
updateAutokeyConfig(UpdateAutokeyConfigRequest request)
public ListenableFuture<AutokeyConfig> updateAutokeyConfig(UpdateAutokeyConfigRequest request)
Updates the AutokeyConfig for a
folder. The caller must have both cloudkms.autokeyConfigs.update
permission on the parent folder and cloudkms.cryptoKeys.setIamPolicy
permission on the provided key project. A
KeyHandle creation in the folder's
descendant projects will use this configuration to determine where to
create the resulting CryptoKey.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<AutokeyConfig> |
|