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

Represents a SqlFlagsService

Inheritance

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

Package

@google-cloud/sql

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

list(request, callback)

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

Calls List.

Parameters
Name Description
request ISqlFlagsListRequest

SqlFlagsListRequest message or plain object

callback ListCallback

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

Returns
Type Description
void

list(request)

public list(request: google.cloud.sql.v1.ISqlFlagsListRequest): Promise<google.cloud.sql.v1.FlagsListResponse>;

Calls List.

Parameter
Name Description
request ISqlFlagsListRequest

SqlFlagsListRequest message or plain object

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

Promise