public static final class SqlSslCertsServiceGrpc.SqlSslCertsServiceBlockingV2Stub extends AbstractBlockingStub<SqlSslCertsServiceGrpc.SqlSslCertsServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service SqlSslCertsService.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SqlSslCertsServiceGrpc.SqlSslCertsServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected SqlSslCertsServiceGrpc.SqlSslCertsServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
SqlSslCertsServiceGrpc.SqlSslCertsServiceBlockingV2Stub |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|