Timeouts

Each service comes with a default timeout and retry policy specified in that service's client.rb file. For an example, take a look at the campaign service's client.rb and find the self.configure method.

These defaults can be overridden on a service after you instantiate it. To do so, follow the example in set_custom_client_timeouts.rb.

You can set a timeout as large as you like, but responses that take over two hours might result in a DEADLINE_EXCEEDED error.