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

Represents a SqlFlagsService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.sql.v1beta4.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.v1beta4.ISqlFlagsListRequest, callback: google.cloud.sql.v1beta4.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.v1beta4.ISqlFlagsListRequest): Promise<google.cloud.sql.v1beta4.FlagsListResponse>;

Calls List.

Parameter
Name Description
request ISqlFlagsListRequest

SqlFlagsListRequest message or plain object

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

Promise