Class protos.google.cloud.sql.v1.SqlSslCertsService (0.19.0)

Represents a SqlSslCertsService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.sql.v1.SqlSslCertsService

Package

@google-cloud/sql

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new SqlSslCertsService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SqlSslCertsService;

Creates new SqlSslCertsService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
SqlSslCertsService

RPC service. Useful where requests and/or responses are streamed.

delete(request, callback)

public delete(request: google.cloud.sql.v1.ISqlSslCertsDeleteRequest, callback: google.cloud.sql.v1.SqlSslCertsService.DeleteCallback): void;

Calls Delete.

Parameters
Name Description
request ISqlSslCertsDeleteRequest

SqlSslCertsDeleteRequest message or plain object

callback DeleteCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

delete(request)

public delete(request: google.cloud.sql.v1.ISqlSslCertsDeleteRequest): Promise<google.cloud.sql.v1.Operation>;

Calls Delete.

Parameter
Name Description
request ISqlSslCertsDeleteRequest

SqlSslCertsDeleteRequest message or plain object

Returns
Type Description
Promise<google.cloud.sql.v1.Operation>

Promise

get(request, callback)

public get(request: google.cloud.sql.v1.ISqlSslCertsGetRequest, callback: google.cloud.sql.v1.SqlSslCertsService.GetCallback): void;

Calls Get.

Parameters
Name Description
request ISqlSslCertsGetRequest

SqlSslCertsGetRequest message or plain object

callback GetCallback

Node-style callback called with the error, if any, and SslCert

Returns
Type Description
void

get(request)

public get(request: google.cloud.sql.v1.ISqlSslCertsGetRequest): Promise<google.cloud.sql.v1.SslCert>;

Calls Get.

Parameter
Name Description
request ISqlSslCertsGetRequest

SqlSslCertsGetRequest message or plain object

Returns
Type Description
Promise<google.cloud.sql.v1.SslCert>

Promise

insert(request, callback)

public insert(request: google.cloud.sql.v1.ISqlSslCertsInsertRequest, callback: google.cloud.sql.v1.SqlSslCertsService.InsertCallback): void;

Calls Insert.

Parameters
Name Description
request ISqlSslCertsInsertRequest

SqlSslCertsInsertRequest message or plain object

callback InsertCallback

Node-style callback called with the error, if any, and SslCertsInsertResponse

Returns
Type Description
void

insert(request)

public insert(request: google.cloud.sql.v1.ISqlSslCertsInsertRequest): Promise<google.cloud.sql.v1.SslCertsInsertResponse>;

Calls Insert.

Parameter
Name Description
request ISqlSslCertsInsertRequest

SqlSslCertsInsertRequest message or plain object

Returns
Type Description
Promise<google.cloud.sql.v1.SslCertsInsertResponse>

Promise

list(request, callback)

public list(request: google.cloud.sql.v1.ISqlSslCertsListRequest, callback: google.cloud.sql.v1.SqlSslCertsService.ListCallback): void;

Calls List.

Parameters
Name Description
request ISqlSslCertsListRequest

SqlSslCertsListRequest message or plain object

callback ListCallback

Node-style callback called with the error, if any, and SslCertsListResponse

Returns
Type Description
void

list(request)

public list(request: google.cloud.sql.v1.ISqlSslCertsListRequest): Promise<google.cloud.sql.v1.SslCertsListResponse>;

Calls List.

Parameter
Name Description
request ISqlSslCertsListRequest

SqlSslCertsListRequest message or plain object

Returns
Type Description
Promise<google.cloud.sql.v1.SslCertsListResponse>

Promise