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

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

defmodule Google.Cloud.Tasks.V2.HttpMethod do
@moduledoc false
use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :HTTP_METHOD_UNSPECIFIED, 0
field :POST, 1
field :GET, 2
field :HEAD, 3
field :PUT, 4
field :DELETE, 5
field :PATCH, 6
field :OPTIONS, 7
end
defmodule Google.Cloud.Tasks.V2.HttpRequest.HeadersEntry do
@moduledoc false
use Protobuf, map: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Google.Cloud.Tasks.V2.HttpRequest do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
oneof :authorization_header, 0
field :url, 1, type: :string, deprecated: false
field :http_method, 2,
type: Google.Cloud.Tasks.V2.HttpMethod,
json_name: "httpMethod",
enum: true
field :headers, 3,
repeated: true,
type: Google.Cloud.Tasks.V2.HttpRequest.HeadersEntry,
map: true
field :body, 4, type: :bytes
field :oauth_token, 5, type: Google.Cloud.Tasks.V2.OAuthToken, json_name: "oauthToken", oneof: 0
field :oidc_token, 6, type: Google.Cloud.Tasks.V2.OidcToken, json_name: "oidcToken", oneof: 0
end
defmodule Google.Cloud.Tasks.V2.AppEngineHttpRequest.HeadersEntry do
@moduledoc false
use Protobuf, map: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Google.Cloud.Tasks.V2.AppEngineHttpRequest do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :http_method, 1,
type: Google.Cloud.Tasks.V2.HttpMethod,
json_name: "httpMethod",
enum: true
field :app_engine_routing, 2,
type: Google.Cloud.Tasks.V2.AppEngineRouting,
json_name: "appEngineRouting"
field :relative_uri, 3, type: :string, json_name: "relativeUri"
field :headers, 4,
repeated: true,
type: Google.Cloud.Tasks.V2.AppEngineHttpRequest.HeadersEntry,
map: true
field :body, 5, type: :bytes
end
defmodule Google.Cloud.Tasks.V2.AppEngineRouting do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :service, 1, type: :string
field :version, 2, type: :string
field :instance, 3, type: :string
field :host, 4, type: :string
end
defmodule Google.Cloud.Tasks.V2.OAuthToken do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :service_account_email, 1, type: :string, json_name: "serviceAccountEmail"
field :scope, 2, type: :string
end
defmodule Google.Cloud.Tasks.V2.OidcToken do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :service_account_email, 1, type: :string, json_name: "serviceAccountEmail"
field :audience, 2, type: :string
end