Package com.google.cloud.dialogflow.v2
Class EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingV2Stub>
com.google.cloud.dialogflow.v2.EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingV2Stub
- Enclosing class:
- EncryptionSpecServiceGrpc
public static final class EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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) Gets location-level encryption key specification.Initializes a location-level encryption key specification.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.EncryptionSpecServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingV2Stub>
-
getEncryptionSpec
public EncryptionSpec getEncryptionSpec(GetEncryptionSpecRequest request) throws io.grpc.StatusException Gets location-level encryption key specification.
- Throws:
io.grpc.StatusException
-
initializeEncryptionSpec
public Operation initializeEncryptionSpec(InitializeEncryptionSpecRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-