constructSettings | |||||||||||||||||||||
constructSettings(serviceName, clientConfig, configOverrides, retryNames, otherArgs?, promise?)
|
|||||||||||||||||||||
Constructs a dictionary mapping method names to CallSettings. The
Parameters :
|
createBackoffSettings | ||||||||||||||||||||||||
createBackoffSettings(initialRetryDelayMillis, retryDelayMultiplier, maxRetryDelayMillis, initialRpcTimeoutMillis, rpcTimeoutMultiplier, maxRpcTimeoutMillis, totalTimeoutMillis)
|
||||||||||||||||||||||||
Parameters to the exponential backoff algorithm for retrying.
Parameters :
Returns :
BackoffSettings
a new settings. |
createDefaultBackoffSettings |
createDefaultBackoffSettings()
|
createMaxRetriesBackoffSettings | ||||||||||||||||||||||||
createMaxRetriesBackoffSettings(initialRetryDelayMillis, retryDelayMultiplier, maxRetryDelayMillis, initialRpcTimeoutMillis, rpcTimeoutMultiplier, maxRpcTimeoutMillis, maxRetries)
|
||||||||||||||||||||||||
Parameters to the exponential backoff algorithm for retrying. This function is unsupported, and intended for internal use only.
Parameters :
Returns :
BackoffSettings
a new settings. |
createRetryOptions | |||||||||
createRetryOptions(retryCodes, backoffSettings)
|
|||||||||
Per-call configurable settings for retrying upon transient failure.
Parameters :
Returns :
RetryOptions
A new RetryOptions object. |
createApiCall | ||||||||||||
createApiCall(func, settings, descriptor?)
|
||||||||||||
Converts an rpc call into an API call governed by the settings. In typical usage, The result is a function which manages the API call with the given settings and the options on the invocation.
Parameters :
Returns :
GaxCall
func - a bound method on a request stub used to make an rpc call. |
createAPICaller | ||||||
createAPICaller(settings, descriptor)
|
||||||
Parameters :
Returns :
APICaller
|
formatSegments | ||||||
formatSegments(segments)
|
||||||
Creates the string representattion for the segments.
Parameters :
Returns :
string
|
fromParams | ||||
fromParams(params)
|
||||
Helpers for constructing routing headers. These headers are used by Google infrastructure to determine how to route requests, especially for services that are regional. Generally, these headers are specified as gRPC metadata.
Parameters :
Returns :
string
|
isBrowser |
isBrowser()
|
Returns :
boolean
|
lro | ||||
lro(options)
|
||||
Parameters :
|
noop |
noop()
|
operation | |||||||||||||||
operation(op, longrunningDescriptor, backoffSettings, callOptions?)
|
|||||||||||||||
Method used to create Operation objects.
Parameters :
|
warn | ||||||
warn(code, message)
|
||||||
Parameters :
|