Packages

Google API protobufs for Elixir/gRPC: Datastore, Bigtable, Pub/Sub, Storage, KMS, Tasks, Secret Manager, BigQuery, IAM, Logging, Long-Running Operations and AI Generative Language

Current section

Files

Jump to
googleapis_proto_ex lib google cloud tasks v2 queue.pb.ex
Raw

lib/google/cloud/tasks/v2/queue.pb.ex

defmodule Google.Cloud.Tasks.V2.Queue.State do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:STATE_UNSPECIFIED, 0)
field(:RUNNING, 1)
field(:PAUSED, 2)
field(:DISABLED, 3)
end
defmodule Google.Cloud.Tasks.V2.Queue do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:name, 1, type: :string)
field(:app_engine_routing_override, 2,
type: Google.Cloud.Tasks.V2.AppEngineRouting,
json_name: "appEngineRoutingOverride"
)
field(:rate_limits, 3, type: Google.Cloud.Tasks.V2.RateLimits, json_name: "rateLimits")
field(:retry_config, 4, type: Google.Cloud.Tasks.V2.RetryConfig, json_name: "retryConfig")
field(:state, 5, type: Google.Cloud.Tasks.V2.Queue.State, enum: true)
field(:purge_time, 6, type: Google.Protobuf.Timestamp, json_name: "purgeTime")
field(:stackdriver_logging_config, 9,
type: Google.Cloud.Tasks.V2.StackdriverLoggingConfig,
json_name: "stackdriverLoggingConfig"
)
end
defmodule Google.Cloud.Tasks.V2.RateLimits do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:max_dispatches_per_second, 1, type: :double, json_name: "maxDispatchesPerSecond")
field(:max_burst_size, 2, type: :int32, json_name: "maxBurstSize")
field(:max_concurrent_dispatches, 3, type: :int32, json_name: "maxConcurrentDispatches")
end
defmodule Google.Cloud.Tasks.V2.RetryConfig do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:max_attempts, 1, type: :int32, json_name: "maxAttempts")
field(:max_retry_duration, 2, type: Google.Protobuf.Duration, json_name: "maxRetryDuration")
field(:min_backoff, 3, type: Google.Protobuf.Duration, json_name: "minBackoff")
field(:max_backoff, 4, type: Google.Protobuf.Duration, json_name: "maxBackoff")
field(:max_doublings, 5, type: :int32, json_name: "maxDoublings")
end
defmodule Google.Cloud.Tasks.V2.StackdriverLoggingConfig do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:sampling_ratio, 1, type: :double, json_name: "samplingRatio")
end