Package com.google.cloud.dialogflow.v2
Class EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub>
com.google.cloud.dialogflow.v2.EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub
- Enclosing class:
- EncryptionSpecServiceGrpc
public static final class EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service
EncryptionSpecService.
Manages encryption spec settings for Dialogflow and Agent Assist.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<EncryptionSpec>Gets location-level encryption key specification.com.google.common.util.concurrent.ListenableFuture<Operation>Initializes a location-level encryption key specification.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub>
-
getEncryptionSpec
public com.google.common.util.concurrent.ListenableFuture<EncryptionSpec> getEncryptionSpec(GetEncryptionSpecRequest request) Gets location-level encryption key specification.
-
initializeEncryptionSpec
public com.google.common.util.concurrent.ListenableFuture<Operation> initializeEncryptionSpec(InitializeEncryptionSpecRequest request) Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.
-