CallSettings

CallSettings

new CallSettings(settings)

Parameters:
Name Type Description
settings Object

An object containing parameters of this settings.

Properties
Name Type Description
timeout number

The client-side timeout for API calls. This parameter is ignored for retrying calls.

retry RetryOptions

The configuration for retrying upon transient error. If set to null, this call will not retry.

autoPaginate boolean

If there is no pageDescriptor, this attrbute has no meaning. Otherwise, determines whether a page streamed response should make the page structure transparent to the user by flattening the repeated field in the returned generator.

pageToken number

If there is no pageDescriptor, this attribute has no meaning. Otherwise, determines the page token used in the page streaming request.

otherArgs Object

Additional arguments to be passed to the API calls.

Methods

merge(options) → {CallSettings}

Returns a new CallSettings merged from this and a CallOptions object.

Parameters:
Name Type Description
options CallOptions

an instance whose values override those in this object. If null, merge returns a copy of this object

Returns:
Type Description
CallSettings

The merged CallSettings instance.