Class EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub (4.55.0)

public static final class EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub extends 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
EncryptionSpecServiceGrpc.EncryptionSpecServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getEncryptionSpec(GetEncryptionSpecRequest request)

public ListenableFuture<EncryptionSpec> getEncryptionSpec(GetEncryptionSpecRequest request)

Gets location-level encryption key specification.

Parameter
Name Description
request GetEncryptionSpecRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<EncryptionSpec>

initializeEncryptionSpec(InitializeEncryptionSpecRequest request)

public 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.

Parameter
Name Description
request InitializeEncryptionSpecRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>