Class protos.google.cloud.sql.v1beta4.SqlTiersService (0.11.0)

Represents a SqlTiersService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.sql.v1beta4.SqlTiersService

Package

@google-cloud/sql

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new SqlTiersService 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): SqlTiersService;

Creates new SqlTiersService 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
SqlTiersService

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

list(request, callback)

public list(request: google.cloud.sql.v1beta4.ISqlTiersListRequest, callback: google.cloud.sql.v1beta4.SqlTiersService.ListCallback): void;

Calls List.

Parameters
Name Description
request ISqlTiersListRequest

SqlTiersListRequest message or plain object

callback ListCallback

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

Returns
Type Description
void

list(request)

public list(request: google.cloud.sql.v1beta4.ISqlTiersListRequest): Promise<google.cloud.sql.v1beta4.TiersListResponse>;

Calls List.

Parameter
Name Description
request ISqlTiersListRequest

SqlTiersListRequest message or plain object

Returns
Type Description
Promise<google.cloud.sql.v1beta4.TiersListResponse>

Promise