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 task.pb.ex
Raw

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

defmodule Google.Cloud.Tasks.V2.Task.View do
@moduledoc false
use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :VIEW_UNSPECIFIED, 0
field :BASIC, 1
field :FULL, 2
end
defmodule Google.Cloud.Tasks.V2.Task do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
oneof :message_type, 0
field :name, 1, type: :string
field :app_engine_http_request, 2,
type: Google.Cloud.Tasks.V2.AppEngineHttpRequest,
json_name: "appEngineHttpRequest",
oneof: 0
field :http_request, 3,
type: Google.Cloud.Tasks.V2.HttpRequest,
json_name: "httpRequest",
oneof: 0
field :schedule_time, 4, type: Google.Protobuf.Timestamp, json_name: "scheduleTime"
field :create_time, 5, type: Google.Protobuf.Timestamp, json_name: "createTime"
field :dispatch_deadline, 6, type: Google.Protobuf.Duration, json_name: "dispatchDeadline"
field :dispatch_count, 7, type: :int32, json_name: "dispatchCount"
field :response_count, 8, type: :int32, json_name: "responseCount"
field :first_attempt, 9, type: Google.Cloud.Tasks.V2.Attempt, json_name: "firstAttempt"
field :last_attempt, 10, type: Google.Cloud.Tasks.V2.Attempt, json_name: "lastAttempt"
field :view, 11, type: Google.Cloud.Tasks.V2.Task.View, enum: true
end
defmodule Google.Cloud.Tasks.V2.Attempt do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :schedule_time, 1, type: Google.Protobuf.Timestamp, json_name: "scheduleTime"
field :dispatch_time, 2, type: Google.Protobuf.Timestamp, json_name: "dispatchTime"
field :response_time, 3, type: Google.Protobuf.Timestamp, json_name: "responseTime"
field :response_status, 4, type: Google.Rpc.Status, json_name: "responseStatus"
end