View Source GoogleApi.ServiceUsage.V1.Model.LongRunning (google_api_service_usage v0.19.0)

Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. Java).

Attributes

  • initialPollDelay (type: String.t, default: nil) - Initial delay after which the first poll request will be made. Default value: 5 seconds.
  • maxPollDelay (type: String.t, default: nil) - Maximum time between two subsequent poll requests. Default value: 45 seconds.
  • pollDelayMultiplier (type: number(), default: nil) - Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
  • totalPollTimeout (type: String.t, default: nil) - Total polling timeout. Default value: 5 minutes.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ServiceUsage.V1.Model.LongRunning{
  initialPollDelay: String.t() | nil,
  maxPollDelay: String.t() | nil,
  pollDelayMultiplier: number() | nil,
  totalPollTimeout: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.