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

lib/google/rpc/http.pb.ex

defmodule Google.Rpc.HttpRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field :method, 1, type: :string
field :uri, 2, type: :string
field :headers, 3, repeated: true, type: Google.Rpc.HttpHeader
field :body, 4, type: :bytes
end
defmodule Google.Rpc.HttpResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field :status, 1, type: :int32
field :reason, 2, type: :string
field :headers, 3, repeated: true, type: Google.Rpc.HttpHeader
field :body, 4, type: :bytes
end
defmodule Google.Rpc.HttpHeader do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: :string
end