SpannerExecutorProxy

google.spanner.executor.v1. SpannerExecutorProxy

Represents a SpannerExecutorProxy

Constructor

new SpannerExecutorProxy(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new SpannerExecutorProxy service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

executeActionAsync(request, callback) → {undefined}

Calls ExecuteActionAsync.

Parameters:
Name Type Description
request google.spanner.executor.v1.ISpannerAsyncActionRequest

SpannerAsyncActionRequest message or plain object

callback google.spanner.executor.v1.SpannerExecutorProxy.ExecuteActionAsyncCallback

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

Returns:
Type Description
undefined

executeActionAsync(request) → {Promise.<google.spanner.executor.v1.SpannerAsyncActionResponse>}

Calls ExecuteActionAsync.

Parameters:
Name Type Description
request google.spanner.executor.v1.ISpannerAsyncActionRequest

SpannerAsyncActionRequest message or plain object

Returns:
Type Description
Promise.<google.spanner.executor.v1.SpannerAsyncActionResponse>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {SpannerExecutorProxy}

Creates new SpannerExecutorProxy service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
SpannerExecutorProxy

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

Type Definitions

ExecuteActionAsyncCallback(error, responseopt)

Callback as used by executeActionAsync.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.spanner.executor.v1.SpannerAsyncActionResponse <optional>

SpannerAsyncActionResponse