Class SqlSslCertsServiceGrpc.SqlSslCertsServiceBlockingStub (0.1.0)

public static final class SqlSslCertsServiceGrpc.SqlSslCertsServiceBlockingStub extends AbstractBlockingStub<SqlSslCertsServiceGrpc.SqlSslCertsServiceBlockingStub>

A stub to allow clients to do limited synchronous rpc calls to service SqlSslCertsService.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SqlSslCertsServiceGrpc.SqlSslCertsServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

delete(SqlSslCertsDeleteRequest request)

public Operation delete(SqlSslCertsDeleteRequest request)

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

Parameter
Name Description
request SqlSslCertsDeleteRequest
Returns
Type Description
Operation

get(SqlSslCertsGetRequest request)

public SslCert get(SqlSslCertsGetRequest request)

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.

Parameter
Name Description
request SqlSslCertsGetRequest
Returns
Type Description
SslCert

insert(SqlSslCertsInsertRequest request)

public SslCertsInsertResponse insert(SqlSslCertsInsertRequest request)

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.

Parameter
Name Description
request SqlSslCertsInsertRequest
Returns
Type Description
SslCertsInsertResponse

list(SqlSslCertsListRequest request)

public SslCertsListResponse list(SqlSslCertsListRequest request)

Lists all of the current SSL certificates for the instance.

Parameter
Name Description
request SqlSslCertsListRequest
Returns
Type Description
SslCertsListResponse