Class SqlSslCertsServiceGrpc.SqlSslCertsServiceStub (0.1.0)

public static final class SqlSslCertsServiceGrpc.SqlSslCertsServiceStub extends AbstractAsyncStub<SqlSslCertsServiceGrpc.SqlSslCertsServiceStub>

A stub to allow clients to do asynchronous rpc calls to service SqlSslCertsService.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SqlSslCertsServiceGrpc.SqlSslCertsServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

delete(SqlSslCertsDeleteRequest request, StreamObserver<Operation> responseObserver)

public void delete(SqlSslCertsDeleteRequest request, StreamObserver<Operation> responseObserver)

Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted.

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

get(SqlSslCertsGetRequest request, StreamObserver<SslCert> responseObserver)

public void get(SqlSslCertsGetRequest request, StreamObserver<SslCert> responseObserver)

Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.

Parameters
Name Description
request SqlSslCertsGetRequest
responseObserver io.grpc.stub.StreamObserver<SslCert>

insert(SqlSslCertsInsertRequest request, StreamObserver<SslCertsInsertResponse> responseObserver)

public void insert(SqlSslCertsInsertRequest request, StreamObserver<SslCertsInsertResponse> responseObserver)

Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.

Parameters
Name Description
request SqlSslCertsInsertRequest
responseObserver io.grpc.stub.StreamObserver<SslCertsInsertResponse>

list(SqlSslCertsListRequest request, StreamObserver<SslCertsListResponse> responseObserver)

public void list(SqlSslCertsListRequest request, StreamObserver<SslCertsListResponse> responseObserver)

Lists all of the current SSL certificates for the instance.

Parameters
Name Description
request SqlSslCertsListRequest
responseObserver io.grpc.stub.StreamObserver<SslCertsListResponse>