Class EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingStub (4.55.0)

public static final class EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingStub extends AbstractBlockingStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > EncryptionSpecServiceGrpc.EncryptionSpecServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

getEncryptionSpec(GetEncryptionSpecRequest request)

public EncryptionSpec getEncryptionSpec(GetEncryptionSpecRequest request)

Gets location-level encryption key specification.

Parameter
Name Description
request GetEncryptionSpecRequest
Returns
Type Description
EncryptionSpec

initializeEncryptionSpec(InitializeEncryptionSpecRequest request)

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