Class EncryptionSpecServiceGrpc.EncryptionSpecServiceStub (4.61.0)

public static final class EncryptionSpecServiceGrpc.EncryptionSpecServiceStub extends AbstractAsyncStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > EncryptionSpecServiceGrpc.EncryptionSpecServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getEncryptionSpec(GetEncryptionSpecRequest request, StreamObserver<EncryptionSpec> responseObserver)

public void getEncryptionSpec(GetEncryptionSpecRequest request, StreamObserver<EncryptionSpec> responseObserver)

Gets location-level encryption key specification.

Parameters
Name Description
request GetEncryptionSpecRequest
responseObserver io.grpc.stub.StreamObserver<EncryptionSpec>

initializeEncryptionSpec(InitializeEncryptionSpecRequest request, StreamObserver<Operation> responseObserver)

public void initializeEncryptionSpec(InitializeEncryptionSpecRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request InitializeEncryptionSpecRequest
responseObserver io.grpc.stub.StreamObserver<Operation>