cloud-tasks-emulator 0.1.1

Local emulator of the Google Cloud Tasks v2 API
Documentation
pause_queue -> Queue {
    name: "projects/{project}/locations/{location}/queues/{run}-paused",
    app_engine_routing_override: None,
    http_target: None,
    rate_limits: Some(
        RateLimits {
            max_dispatches_per_second: 500.0,
            max_burst_size: 100,
            max_concurrent_dispatches: 1000,
        },
    ),
    retry_config: Some(
        RetryConfig {
            max_attempts: 100,
            max_retry_duration: None,
            min_backoff: Some(
                Duration {
                    seconds: 0,
                    nanos: 100000000,
                },
            ),
            max_backoff: Some(
                Duration {
                    seconds: 3600,
                    nanos: 0,
                },
            ),
            max_doublings: 16,
        },
    ),
    state: Paused,
    purge_time: None,
    stackdriver_logging_config: None,
}
requests while paused -> 0
resume_queue -> Queue {
    name: "projects/{project}/locations/{location}/queues/{run}-paused",
    app_engine_routing_override: None,
    http_target: None,
    rate_limits: Some(
        RateLimits {
            max_dispatches_per_second: 500.0,
            max_burst_size: 100,
            max_concurrent_dispatches: 1000,
        },
    ),
    retry_config: Some(
        RetryConfig {
            max_attempts: 100,
            max_retry_duration: None,
            min_backoff: Some(
                Duration {
                    seconds: 0,
                    nanos: 100000000,
                },
            ),
            max_backoff: Some(
                Duration {
                    seconds: 3600,
                    nanos: 0,
                },
            ),
            max_doublings: 16,
        },
    ),
    state: Running,
    purge_time: None,
    stackdriver_logging_config: None,
}
requests after resume -> 1