diff --git a/lib/generated/google/api/client.pb.ex b/lib/generated/google/api/client.pb.ex index 0477bd1..c0a979b 100644 --- a/lib/generated/google/api/client.pb.ex +++ b/lib/generated/google/api/client.pb.ex @@ -4,7 +4,11 @@ defmodule Google.Api.ClientLibraryOrganization do Affects the url where generated docs are published, etc. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.ClientLibraryOrganization", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED, 0 field :CLOUD, 1 @@ -21,7 +25,11 @@ defmodule Google.Api.ClientLibraryDestination do To where should client libraries be published? """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.ClientLibraryDestination", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :CLIENT_LIBRARY_DESTINATION_UNSPECIFIED, 0 field :GITHUB, 10 @@ -33,7 +41,10 @@ defmodule Google.Api.CommonLanguageSettings do Required information for every language. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.CommonLanguageSettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :reference_docs_uri, 1, type: :string, json_name: "referenceDocsUri", deprecated: true field :destinations, 2, repeated: true, type: Google.Api.ClientLibraryDestination, enum: true @@ -48,7 +59,10 @@ defmodule Google.Api.ClientLibrarySettings do Details about how and where to publish client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.ClientLibrarySettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :version, 1, type: :string field :launch_stage, 2, type: Google.Api.LaunchStage, json_name: "launchStage", enum: true @@ -70,7 +84,10 @@ defmodule Google.Api.Publishing do generated from the service config. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.Publishing", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :method_settings, 2, repeated: true, @@ -105,7 +122,11 @@ defmodule Google.Api.Publishing do end defmodule Google.Api.JavaSettings.ServiceClassNamesEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.JavaSettings.ServiceClassNamesEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string @@ -116,7 +137,10 @@ defmodule Google.Api.JavaSettings do Settings for Java client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.JavaSettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :library_package, 1, type: :string, json_name: "libraryPackage" @@ -134,7 +158,10 @@ defmodule Google.Api.CppSettings do Settings for C++ client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.CppSettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :common, 1, type: Google.Api.CommonLanguageSettings end @@ -144,7 +171,10 @@ defmodule Google.Api.PhpSettings do Settings for Php client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.PhpSettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :common, 1, type: Google.Api.CommonLanguageSettings end @@ -156,7 +186,10 @@ defmodule Google.Api.PythonSettings.ExperimentalFeatures do by default. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.PythonSettings.ExperimentalFeatures", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :rest_async_io_enabled, 1, type: :bool, json_name: "restAsyncIoEnabled" @@ -172,7 +205,10 @@ defmodule Google.Api.PythonSettings do Settings for Python client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.PythonSettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :common, 1, type: Google.Api.CommonLanguageSettings @@ -186,20 +222,31 @@ defmodule Google.Api.NodeSettings do Settings for Node client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.NodeSettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :common, 1, type: Google.Api.CommonLanguageSettings end defmodule Google.Api.DotnetSettings.RenamedServicesEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.DotnetSettings.RenamedServicesEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string end defmodule Google.Api.DotnetSettings.RenamedResourcesEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.DotnetSettings.RenamedResourcesEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string @@ -210,7 +257,10 @@ defmodule Google.Api.DotnetSettings do Settings for Dotnet client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.DotnetSettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :common, 1, type: Google.Api.CommonLanguageSettings @@ -244,13 +294,20 @@ defmodule Google.Api.RubySettings do Settings for Ruby client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.RubySettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :common, 1, type: Google.Api.CommonLanguageSettings end defmodule Google.Api.GoSettings.RenamedServicesEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.GoSettings.RenamedServicesEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string @@ -261,7 +318,10 @@ defmodule Google.Api.GoSettings do Settings for Go client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.GoSettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :common, 1, type: Google.Api.CommonLanguageSettings @@ -281,7 +341,10 @@ defmodule Google.Api.MethodSettings.LongRunning do [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.MethodSettings.LongRunning", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :initial_poll_delay, 1, type: Google.Protobuf.Duration, json_name: "initialPollDelay" field :poll_delay_multiplier, 2, type: :float, json_name: "pollDelayMultiplier" @@ -294,7 +357,10 @@ defmodule Google.Api.MethodSettings do Describes the generator configuration for a method. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.MethodSettings", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :selector, 1, type: :string field :long_running, 2, type: Google.Api.MethodSettings.LongRunning, json_name: "longRunning" @@ -307,7 +373,10 @@ defmodule Google.Api.SelectiveGapicGeneration do a service for client libraries. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.SelectiveGapicGeneration", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :methods, 1, repeated: true, type: :string field :generate_omitted_as_internal, 2, type: :bool, json_name: "generateOmittedAsInternal" diff --git a/lib/generated/google/api/expr/v1alpha1/checked.pb.ex b/lib/generated/google/api/expr/v1alpha1/checked.pb.ex index 3437d0d..8e9b5a2 100644 --- a/lib/generated/google/api/expr/v1alpha1/checked.pb.ex +++ b/lib/generated/google/api/expr/v1alpha1/checked.pb.ex @@ -3,7 +3,11 @@ defmodule Google.Api.Expr.V1alpha1.Type.PrimitiveType do CEL primitive types. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.expr.v1alpha1.Type.PrimitiveType", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :PRIMITIVE_TYPE_UNSPECIFIED, 0 field :BOOL, 1 @@ -19,7 +23,11 @@ defmodule Google.Api.Expr.V1alpha1.Type.WellKnownType do Well-known protobuf types treated with first-class support in CEL. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.expr.v1alpha1.Type.WellKnownType", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :WELL_KNOWN_TYPE_UNSPECIFIED, 0 field :ANY, 1 @@ -28,14 +36,22 @@ defmodule Google.Api.Expr.V1alpha1.Type.WellKnownType do end defmodule Google.Api.Expr.V1alpha1.CheckedExpr.ReferenceMapEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.CheckedExpr.ReferenceMapEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :int64 field :value, 2, type: Google.Api.Expr.V1alpha1.Reference end defmodule Google.Api.Expr.V1alpha1.CheckedExpr.TypeMapEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.CheckedExpr.TypeMapEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :int64 field :value, 2, type: Google.Api.Expr.V1alpha1.Type @@ -47,7 +63,10 @@ defmodule Google.Api.Expr.V1alpha1.CheckedExpr do Protos for representing CEL declarations and typed checked expressions. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.CheckedExpr", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :reference_map, 2, repeated: true, @@ -71,7 +90,10 @@ defmodule Google.Api.Expr.V1alpha1.Type.ListType do List type with typed elements, e.g. `list`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Type.ListType", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :elem_type, 1, type: Google.Api.Expr.V1alpha1.Type, json_name: "elemType" end @@ -81,7 +103,10 @@ defmodule Google.Api.Expr.V1alpha1.Type.MapType do Map type with parameterized key and value types, e.g. `map`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Type.MapType", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key_type, 1, type: Google.Api.Expr.V1alpha1.Type, json_name: "keyType" field :value_type, 2, type: Google.Api.Expr.V1alpha1.Type, json_name: "valueType" @@ -92,7 +117,10 @@ defmodule Google.Api.Expr.V1alpha1.Type.FunctionType do Function type with result and arg types. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Type.FunctionType", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :result_type, 1, type: Google.Api.Expr.V1alpha1.Type, json_name: "resultType" field :arg_types, 2, repeated: true, type: Google.Api.Expr.V1alpha1.Type, json_name: "argTypes" @@ -103,7 +131,10 @@ defmodule Google.Api.Expr.V1alpha1.Type.AbstractType do Application defined abstract type. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Type.AbstractType", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :name, 1, type: :string @@ -118,7 +149,10 @@ defmodule Google.Api.Expr.V1alpha1.Type do Represents a CEL type. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Type", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :type_kind, 0 @@ -161,7 +195,10 @@ defmodule Google.Api.Expr.V1alpha1.Decl.IdentDecl do time. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Decl.IdentDecl", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :type, 1, type: Google.Api.Expr.V1alpha1.Type field :value, 2, type: Google.Api.Expr.V1alpha1.Constant @@ -182,7 +219,10 @@ defmodule Google.Api.Expr.V1alpha1.Decl.FunctionDecl.Overload do parameterized type variables (similar as type erasure in Java). """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Decl.FunctionDecl.Overload", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :overload_id, 1, type: :string, json_name: "overloadId" field :params, 2, repeated: true, type: Google.Api.Expr.V1alpha1.Type @@ -201,7 +241,10 @@ defmodule Google.Api.Expr.V1alpha1.Decl.FunctionDecl do logging which are not observable from CEL). """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Decl.FunctionDecl", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :overloads, 1, repeated: true, type: Google.Api.Expr.V1alpha1.Decl.FunctionDecl.Overload end @@ -214,7 +257,10 @@ defmodule Google.Api.Expr.V1alpha1.Decl do evaluating that expression, and the caller requesting evaluation. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Decl", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :decl_kind, 0 @@ -228,7 +274,10 @@ defmodule Google.Api.Expr.V1alpha1.Reference do Describes a resolved reference to a declaration. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Reference", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :name, 1, type: :string field :overload_id, 3, repeated: true, type: :string, json_name: "overloadId" diff --git a/lib/generated/google/api/expr/v1alpha1/eval.pb.ex b/lib/generated/google/api/expr/v1alpha1/eval.pb.ex index 8ab215a..e90edc0 100644 --- a/lib/generated/google/api/expr/v1alpha1/eval.pb.ex +++ b/lib/generated/google/api/expr/v1alpha1/eval.pb.ex @@ -3,7 +3,10 @@ defmodule Google.Api.Expr.V1alpha1.EvalState.Result do A single evalution result. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.EvalState.Result", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :expr, 1, type: :int64 field :value, 2, type: :int64 @@ -16,7 +19,10 @@ defmodule Google.Api.Expr.V1alpha1.EvalState do Can represent an inital, partial, or completed state of evaluation. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.EvalState", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :values, 1, repeated: true, type: Google.Api.Expr.V1alpha1.ExprValue field :results, 3, repeated: true, type: Google.Api.Expr.V1alpha1.EvalState.Result @@ -27,7 +33,10 @@ defmodule Google.Api.Expr.V1alpha1.ExprValue do The value of an evaluated expression. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.ExprValue", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :kind, 0 @@ -43,7 +52,10 @@ defmodule Google.Api.Expr.V1alpha1.ErrorSet do The errors included depend on the context. See `ExprValue.error`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.ErrorSet", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :errors, 1, repeated: true, type: Google.Rpc.Status end @@ -55,7 +67,10 @@ defmodule Google.Api.Expr.V1alpha1.UnknownSet do The unknowns included depend on the context. See `ExprValue.unknown`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.UnknownSet", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :exprs, 1, repeated: true, type: :int64 end diff --git a/lib/generated/google/api/expr/v1alpha1/explain.pb.ex b/lib/generated/google/api/expr/v1alpha1/explain.pb.ex index ef9f0a6..32d7c45 100644 --- a/lib/generated/google/api/expr/v1alpha1/explain.pb.ex +++ b/lib/generated/google/api/expr/v1alpha1/explain.pb.ex @@ -3,7 +3,10 @@ defmodule Google.Api.Expr.V1alpha1.Explain.ExprStep do ID and value index of one step. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Explain.ExprStep", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :id, 1, type: :int64 field :value_index, 2, type: :int32, json_name: "valueIndex" @@ -15,7 +18,11 @@ defmodule Google.Api.Expr.V1alpha1.Explain do Deprecated, use `EvalState` instead. """ - use Protobuf, deprecated: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + deprecated: true, + full_name: "google.api.expr.v1alpha1.Explain", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :values, 1, repeated: true, type: Google.Api.Expr.V1alpha1.Value diff --git a/lib/generated/google/api/expr/v1alpha1/syntax.pb.ex b/lib/generated/google/api/expr/v1alpha1/syntax.pb.ex index 03f415a..331eb54 100644 --- a/lib/generated/google/api/expr/v1alpha1/syntax.pb.ex +++ b/lib/generated/google/api/expr/v1alpha1/syntax.pb.ex @@ -3,7 +3,11 @@ defmodule Google.Api.Expr.V1alpha1.SourceInfo.Extension.Component do CEL component specifier. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.expr.v1alpha1.SourceInfo.Extension.Component", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :COMPONENT_UNSPECIFIED, 0 field :COMPONENT_PARSER, 1 @@ -17,7 +21,10 @@ defmodule Google.Api.Expr.V1alpha1.ParsedExpr do A representation of the abstract syntax of the Common Expression Language. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.ParsedExpr", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :expr, 2, type: Google.Api.Expr.V1alpha1.Expr field :source_info, 3, type: Google.Api.Expr.V1alpha1.SourceInfo, json_name: "sourceInfo" @@ -28,7 +35,10 @@ defmodule Google.Api.Expr.V1alpha1.Expr.Ident do An identifier expression. e.g. `request`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Expr.Ident", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :name, 1, type: :string end @@ -38,7 +48,10 @@ defmodule Google.Api.Expr.V1alpha1.Expr.Select do A field selection expression. e.g. `request.auth`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Expr.Select", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :operand, 1, type: Google.Api.Expr.V1alpha1.Expr field :field, 2, type: :string @@ -52,7 +65,10 @@ defmodule Google.Api.Expr.V1alpha1.Expr.Call do For example, `value == 10`, `size(map_value)`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Expr.Call", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :target, 1, type: Google.Api.Expr.V1alpha1.Expr field :function, 2, type: :string @@ -67,7 +83,10 @@ defmodule Google.Api.Expr.V1alpha1.Expr.CreateList do `dyn([1, 'hello', 2.0])` """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Expr.CreateList", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :elements, 1, repeated: true, type: Google.Api.Expr.V1alpha1.Expr field :optional_indices, 2, repeated: true, type: :int32, json_name: "optionalIndices" @@ -78,7 +97,10 @@ defmodule Google.Api.Expr.V1alpha1.Expr.CreateStruct.Entry do Represents an entry. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Expr.CreateStruct.Entry", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :key_kind, 0 @@ -98,7 +120,10 @@ defmodule Google.Api.Expr.V1alpha1.Expr.CreateStruct do `types.MyType{field_id: 'value'}`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Expr.CreateStruct", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :message_name, 1, type: :string, json_name: "messageName" field :entries, 2, repeated: true, type: Google.Api.Expr.V1alpha1.Expr.CreateStruct.Entry @@ -164,7 +189,10 @@ defmodule Google.Api.Expr.V1alpha1.Expr.Comprehension do ``` """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Expr.Comprehension", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :iter_var, 1, type: :string, json_name: "iterVar" field :iter_var2, 8, type: :string, json_name: "iterVar2" @@ -197,7 +225,10 @@ defmodule Google.Api.Expr.V1alpha1.Expr do function declaration `startsWith`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Expr", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :expr_kind, 0 @@ -250,7 +281,10 @@ defmodule Google.Api.Expr.V1alpha1.Constant do `true`, `null`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Constant", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :constant_kind, 0 @@ -285,7 +319,10 @@ defmodule Google.Api.Expr.V1alpha1.SourceInfo.Extension.Version do Version """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.SourceInfo.Extension.Version", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :major, 1, type: :int64 field :minor, 2, type: :int64 @@ -296,7 +333,10 @@ defmodule Google.Api.Expr.V1alpha1.SourceInfo.Extension do An extension that was requested for the source expression. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.SourceInfo.Extension", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :id, 1, type: :string @@ -310,14 +350,22 @@ defmodule Google.Api.Expr.V1alpha1.SourceInfo.Extension do end defmodule Google.Api.Expr.V1alpha1.SourceInfo.PositionsEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.SourceInfo.PositionsEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :int64 field :value, 2, type: :int32 end defmodule Google.Api.Expr.V1alpha1.SourceInfo.MacroCallsEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.SourceInfo.MacroCallsEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :int64 field :value, 2, type: Google.Api.Expr.V1alpha1.Expr @@ -328,7 +376,10 @@ defmodule Google.Api.Expr.V1alpha1.SourceInfo do Source information collected at parse time. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.SourceInfo", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :syntax_version, 1, type: :string, json_name: "syntaxVersion" field :location, 2, type: :string @@ -353,7 +404,10 @@ defmodule Google.Api.Expr.V1alpha1.SourcePosition do A specific position in source. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.SourcePosition", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :location, 1, type: :string field :offset, 2, type: :int32 diff --git a/lib/generated/google/api/expr/v1alpha1/value.pb.ex b/lib/generated/google/api/expr/v1alpha1/value.pb.ex index f2639d8..0415a11 100644 --- a/lib/generated/google/api/expr/v1alpha1/value.pb.ex +++ b/lib/generated/google/api/expr/v1alpha1/value.pb.ex @@ -7,7 +7,10 @@ defmodule Google.Api.Expr.V1alpha1.Value do Contains representations for CEL runtime values. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.Value", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :kind, 0 @@ -40,7 +43,10 @@ defmodule Google.Api.Expr.V1alpha1.EnumValue do An enum value. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.EnumValue", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :type, 1, type: :string field :value, 2, type: :int32 @@ -54,7 +60,10 @@ defmodule Google.Api.Expr.V1alpha1.ListValue do required for use in a 'oneof'. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.ListValue", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :values, 1, repeated: true, type: Google.Api.Expr.V1alpha1.Value end @@ -64,7 +73,10 @@ defmodule Google.Api.Expr.V1alpha1.MapValue.Entry do An entry in the map. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.MapValue.Entry", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: Google.Api.Expr.V1alpha1.Value field :value, 2, type: Google.Api.Expr.V1alpha1.Value @@ -78,7 +90,10 @@ defmodule Google.Api.Expr.V1alpha1.MapValue do required for use in a 'oneof'. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1alpha1.MapValue", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :entries, 1, repeated: true, type: Google.Api.Expr.V1alpha1.MapValue.Entry end diff --git a/lib/generated/google/api/expr/v1beta1/decl.pb.ex b/lib/generated/google/api/expr/v1beta1/decl.pb.ex index 0a39e8e..de13aa2 100644 --- a/lib/generated/google/api/expr/v1beta1/decl.pb.ex +++ b/lib/generated/google/api/expr/v1beta1/decl.pb.ex @@ -3,7 +3,10 @@ defmodule Google.Api.Expr.V1beta1.Decl do A declaration. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Decl", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :kind, 0 @@ -22,7 +25,10 @@ defmodule Google.Api.Expr.V1beta1.DeclType do and dispatching. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.DeclType", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :id, 1, type: :int32 field :type, 2, type: :string @@ -38,7 +44,10 @@ defmodule Google.Api.Expr.V1beta1.IdentDecl do An identifier declaration. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.IdentDecl", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :type, 3, type: Google.Api.Expr.V1beta1.DeclType field :value, 4, type: Google.Api.Expr.V1beta1.Expr @@ -49,7 +58,10 @@ defmodule Google.Api.Expr.V1beta1.FunctionDecl do A function declaration. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.FunctionDecl", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :args, 1, repeated: true, type: Google.Api.Expr.V1beta1.IdentDecl field :return_type, 2, type: Google.Api.Expr.V1beta1.DeclType, json_name: "returnType" diff --git a/lib/generated/google/api/expr/v1beta1/eval.pb.ex b/lib/generated/google/api/expr/v1beta1/eval.pb.ex index bec984e..7afd175 100644 --- a/lib/generated/google/api/expr/v1beta1/eval.pb.ex +++ b/lib/generated/google/api/expr/v1beta1/eval.pb.ex @@ -3,7 +3,10 @@ defmodule Google.Api.Expr.V1beta1.EvalState.Result do A single evaluation result. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.EvalState.Result", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :expr, 1, type: Google.Api.Expr.V1beta1.IdRef field :value, 2, type: :int32 @@ -16,7 +19,10 @@ defmodule Google.Api.Expr.V1beta1.EvalState do Can represent an initial, partial, or completed state of evaluation. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.EvalState", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :values, 1, repeated: true, type: Google.Api.Expr.V1beta1.ExprValue field :results, 3, repeated: true, type: Google.Api.Expr.V1beta1.EvalState.Result @@ -27,7 +33,10 @@ defmodule Google.Api.Expr.V1beta1.ExprValue do The value of an evaluated expression. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.ExprValue", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :kind, 0 @@ -43,7 +52,10 @@ defmodule Google.Api.Expr.V1beta1.ErrorSet do The errors included depend on the context. See `ExprValue.error`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.ErrorSet", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :errors, 1, repeated: true, type: Google.Rpc.Status end @@ -55,7 +67,10 @@ defmodule Google.Api.Expr.V1beta1.UnknownSet do The unknowns included depend on the context. See `ExprValue.unknown`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.UnknownSet", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :exprs, 1, repeated: true, type: Google.Api.Expr.V1beta1.IdRef end @@ -65,7 +80,10 @@ defmodule Google.Api.Expr.V1beta1.IdRef do A reference to an expression id. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.IdRef", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :id, 1, type: :int32 end diff --git a/lib/generated/google/api/expr/v1beta1/expr.pb.ex b/lib/generated/google/api/expr/v1beta1/expr.pb.ex index 7b80074..9e49fc3 100644 --- a/lib/generated/google/api/expr/v1beta1/expr.pb.ex +++ b/lib/generated/google/api/expr/v1beta1/expr.pb.ex @@ -3,7 +3,10 @@ defmodule Google.Api.Expr.V1beta1.ParsedExpr do An expression together with source information as returned by the parser. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.ParsedExpr", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :expr, 2, type: Google.Api.Expr.V1beta1.Expr field :source_info, 3, type: Google.Api.Expr.V1beta1.SourceInfo, json_name: "sourceInfo" @@ -15,7 +18,10 @@ defmodule Google.Api.Expr.V1beta1.Expr.Ident do An identifier expression. e.g. `request`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Expr.Ident", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :name, 1, type: :string end @@ -25,7 +31,10 @@ defmodule Google.Api.Expr.V1beta1.Expr.Select do A field selection expression. e.g. `request.auth`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Expr.Select", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :operand, 1, type: Google.Api.Expr.V1beta1.Expr field :field, 2, type: :string @@ -39,7 +48,10 @@ defmodule Google.Api.Expr.V1beta1.Expr.Call do For example, `value == 10`, `size(map_value)`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Expr.Call", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :target, 1, type: Google.Api.Expr.V1beta1.Expr field :function, 2, type: :string @@ -54,7 +66,10 @@ defmodule Google.Api.Expr.V1beta1.Expr.CreateList do `dyn([1, 'hello', 2.0])` """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Expr.CreateList", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :elements, 1, repeated: true, type: Google.Api.Expr.V1beta1.Expr end @@ -64,7 +79,10 @@ defmodule Google.Api.Expr.V1beta1.Expr.CreateStruct.Entry do Represents an entry. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Expr.CreateStruct.Entry", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :key_kind, 0 @@ -83,7 +101,10 @@ defmodule Google.Api.Expr.V1beta1.Expr.CreateStruct do `types.MyType{field_id: 'value'}`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Expr.CreateStruct", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :type, 1, type: :string field :entries, 2, repeated: true, type: Google.Api.Expr.V1beta1.Expr.CreateStruct.Entry @@ -119,7 +140,10 @@ defmodule Google.Api.Expr.V1beta1.Expr.Comprehension do types, the macro tests whether the property `x` is defined on `m`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Expr.Comprehension", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :iter_var, 1, type: :string, json_name: "iterVar" field :iter_range, 2, type: Google.Api.Expr.V1beta1.Expr, json_name: "iterRange" @@ -149,7 +173,10 @@ defmodule Google.Api.Expr.V1beta1.Expr do the function declaration `startsWith`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Expr", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :expr_kind, 0 @@ -200,7 +227,10 @@ defmodule Google.Api.Expr.V1beta1.Literal do `true`, `null`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Literal", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :constant_kind, 0 diff --git a/lib/generated/google/api/expr/v1beta1/source.pb.ex b/lib/generated/google/api/expr/v1beta1/source.pb.ex index 644cd66..8b514ad 100644 --- a/lib/generated/google/api/expr/v1beta1/source.pb.ex +++ b/lib/generated/google/api/expr/v1beta1/source.pb.ex @@ -1,5 +1,9 @@ defmodule Google.Api.Expr.V1beta1.SourceInfo.PositionsEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.SourceInfo.PositionsEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :int32 field :value, 2, type: :int32 @@ -10,7 +14,10 @@ defmodule Google.Api.Expr.V1beta1.SourceInfo do Source information collected at parse time. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.SourceInfo", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :location, 2, type: :string field :line_offsets, 3, repeated: true, type: :int32, json_name: "lineOffsets" @@ -26,7 +33,10 @@ defmodule Google.Api.Expr.V1beta1.SourcePosition do A specific position in source. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.SourcePosition", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :location, 1, type: :string field :offset, 2, type: :int32 diff --git a/lib/generated/google/api/expr/v1beta1/value.pb.ex b/lib/generated/google/api/expr/v1beta1/value.pb.ex index dfaaa1d..66c5a74 100644 --- a/lib/generated/google/api/expr/v1beta1/value.pb.ex +++ b/lib/generated/google/api/expr/v1beta1/value.pb.ex @@ -6,7 +6,10 @@ defmodule Google.Api.Expr.V1beta1.Value do range of values. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.Value", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :kind, 0 @@ -34,7 +37,10 @@ defmodule Google.Api.Expr.V1beta1.EnumValue do An enum value. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.EnumValue", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :type, 1, type: :string field :value, 2, type: :int32 @@ -48,7 +54,10 @@ defmodule Google.Api.Expr.V1beta1.ListValue do required for use in a 'oneof'. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.ListValue", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :values, 1, repeated: true, type: Google.Api.Expr.V1beta1.Value end @@ -58,7 +67,10 @@ defmodule Google.Api.Expr.V1beta1.MapValue.Entry do An entry in the map. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.MapValue.Entry", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: Google.Api.Expr.V1beta1.Value field :value, 2, type: Google.Api.Expr.V1beta1.Value @@ -72,7 +84,10 @@ defmodule Google.Api.Expr.V1beta1.MapValue do required for use in a 'oneof'. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.expr.v1beta1.MapValue", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :entries, 1, repeated: true, type: Google.Api.Expr.V1beta1.MapValue.Entry end diff --git a/lib/generated/google/api/field_behavior.pb.ex b/lib/generated/google/api/field_behavior.pb.ex index 2cf7666..e198a57 100644 --- a/lib/generated/google/api/field_behavior.pb.ex +++ b/lib/generated/google/api/field_behavior.pb.ex @@ -8,7 +8,11 @@ defmodule Google.Api.FieldBehavior do Note: This enum **may** receive new values in the future. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.FieldBehavior", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :FIELD_BEHAVIOR_UNSPECIFIED, 0 field :OPTIONAL, 1 diff --git a/lib/generated/google/api/field_info.pb.ex b/lib/generated/google/api/field_info.pb.ex index 8205ca5..c3a98cd 100644 --- a/lib/generated/google/api/field_info.pb.ex +++ b/lib/generated/google/api/field_info.pb.ex @@ -4,7 +4,11 @@ defmodule Google.Api.FieldInfo.Format do by either an RFC defined by the IETF or a Google-defined AIP. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.FieldInfo.Format", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :FORMAT_UNSPECIFIED, 0 field :UUID4, 1 @@ -18,7 +22,10 @@ defmodule Google.Api.FieldInfo do Rich semantic information of an API field beyond basic typing. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.FieldInfo", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :format, 1, type: Google.Api.FieldInfo.Format, enum: true @@ -33,7 +40,10 @@ defmodule Google.Api.TypeReference do A reference to a message type, for use in [FieldInfo][google.api.FieldInfo]. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.TypeReference", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :type_name, 1, type: :string, json_name: "typeName" end diff --git a/lib/generated/google/api/http.pb.ex b/lib/generated/google/api/http.pb.ex index 7102c07..aa84e5c 100644 --- a/lib/generated/google/api/http.pb.ex +++ b/lib/generated/google/api/http.pb.ex @@ -5,7 +5,7 @@ defmodule Google.Api.Http do to one or more HTTP REST API methods. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, full_name: "google.api.Http", protoc_gen_elixir_version: "0.16.0", syntax: :proto3 field :rules, 1, repeated: true, type: Google.Api.HttpRule @@ -280,7 +280,10 @@ defmodule Google.Api.HttpRule do Transcoding implementations may not support this feature. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.HttpRule", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :pattern, 0 @@ -305,7 +308,10 @@ defmodule Google.Api.CustomHttpPattern do A custom pattern is used for defining custom HTTP verb. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.CustomHttpPattern", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :kind, 1, type: :string field :path, 2, type: :string diff --git a/lib/generated/google/api/httpbody.pb.ex b/lib/generated/google/api/httpbody.pb.ex index 7834b1c..8b6779b 100644 --- a/lib/generated/google/api/httpbody.pb.ex +++ b/lib/generated/google/api/httpbody.pb.ex @@ -43,7 +43,10 @@ defmodule Google.Api.HttpBody do handled, all other features will continue to work unchanged. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.HttpBody", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :content_type, 1, type: :string, json_name: "contentType" field :data, 2, type: :bytes diff --git a/lib/generated/google/api/launch_stage.pb.ex b/lib/generated/google/api/launch_stage.pb.ex index fad4f58..12d4ceb 100644 --- a/lib/generated/google/api/launch_stage.pb.ex +++ b/lib/generated/google/api/launch_stage.pb.ex @@ -4,7 +4,11 @@ defmodule Google.Api.LaunchStage do Launch Stages](https://cloud.google.com/terms/launch-stages). """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.LaunchStage", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :LAUNCH_STAGE_UNSPECIFIED, 0 field :UNIMPLEMENTED, 6 diff --git a/lib/generated/google/api/pb_extension.pb.ex b/lib/generated/google/api/pb_extension.pb.ex index 8f73ff3..352c3df 100644 --- a/lib/generated/google/api/pb_extension.pb.ex +++ b/lib/generated/google/api/pb_extension.pb.ex @@ -1,5 +1,5 @@ defmodule Google.Api.PbExtension do - use Protobuf, protoc_gen_elixir_version: "0.15.0" + use Protobuf, protoc_gen_elixir_version: "0.16.0" extend Google.Protobuf.MethodOptions, :http, 72_295_728, optional: true, @@ -52,6 +52,10 @@ defmodule Google.Api.PbExtension do optional: true, type: Google.Api.ResourceDescriptor + extend Google.Protobuf.MethodOptions, :routing, 72_295_729, + optional: true, + type: Google.Api.RoutingRule + extend Google.Protobuf.EnumOptions, :enum_visibility, 72_295_727, optional: true, type: Google.Api.VisibilityRule, diff --git a/lib/generated/google/api/resource.pb.ex b/lib/generated/google/api/resource.pb.ex index c0b0d08..1d596e5 100644 --- a/lib/generated/google/api/resource.pb.ex +++ b/lib/generated/google/api/resource.pb.ex @@ -4,7 +4,11 @@ defmodule Google.Api.ResourceDescriptor.History do resource pattern. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.ResourceDescriptor.History", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :HISTORY_UNSPECIFIED, 0 field :ORIGINALLY_SINGLE_PATTERN, 1 @@ -16,7 +20,11 @@ defmodule Google.Api.ResourceDescriptor.Style do A flag representing a specific style that a resource claims to conform to. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.api.ResourceDescriptor.Style", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :STYLE_UNSPECIFIED, 0 field :DECLARATIVE_FRIENDLY, 1 @@ -73,7 +81,10 @@ defmodule Google.Api.ResourceDescriptor do pattern: "billingAccounts/{billing_account}/logs/{log}" """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.ResourceDescriptor", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :type, 1, type: :string field :pattern, 2, repeated: true, type: :string @@ -90,7 +101,10 @@ defmodule Google.Api.ResourceReference do an API resource. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.ResourceReference", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :type, 1, type: :string field :child_type, 2, type: :string, json_name: "childType" diff --git a/lib/generated/google/api/routing.pb.ex b/lib/generated/google/api/routing.pb.ex new file mode 100644 index 0000000..11ebfed --- /dev/null +++ b/lib/generated/google/api/routing.pb.ex @@ -0,0 +1,387 @@ +defmodule Google.Api.RoutingRule do + @moduledoc """ + Specifies the routing information that should be sent along with the request + in the form of routing header. + **NOTE:** All service configuration rules follow the "last one wins" order. + + The examples below will apply to an RPC which has the following request type: + + Message Definition: + + message Request { + // The name of the Table + // Values can be of the following formats: + // - `projects//tables/` + // - `projects//instances//tables/
` + // - `region//zones//tables/
` + string table_name = 1; + + // This value specifies routing for replication. + // It can be in the following formats: + // - `profiles/` + // - a legacy `profile_id` that can be any string + string app_profile_id = 2; + } + + Example message: + + { + table_name: projects/proj_foo/instances/instance_bar/table/table_baz, + app_profile_id: profiles/prof_qux + } + + The routing header consists of one or multiple key-value pairs. Every key + and value must be percent-encoded, and joined together in the format of + `key1=value1&key2=value2`. + The examples below skip the percent-encoding for readability. + + Example 1 + + Extracting a field from the request to put into the routing header + unchanged, with the key equal to the field name. + + annotation: + + option (google.api.routing) = { + // Take the `app_profile_id`. + routing_parameters { + field: "app_profile_id" + } + }; + + result: + + x-goog-request-params: app_profile_id=profiles/prof_qux + + Example 2 + + Extracting a field from the request to put into the routing header + unchanged, with the key different from the field name. + + annotation: + + option (google.api.routing) = { + // Take the `app_profile_id`, but name it `routing_id` in the header. + routing_parameters { + field: "app_profile_id" + path_template: "{routing_id=**}" + } + }; + + result: + + x-goog-request-params: routing_id=profiles/prof_qux + + Example 3 + + Extracting a field from the request to put into the routing + header, while matching a path template syntax on the field's value. + + NB: it is more useful to send nothing than to send garbage for the purpose + of dynamic routing, since garbage pollutes cache. Thus the matching. + + Sub-example 3a + + The field matches the template. + + annotation: + + option (google.api.routing) = { + // Take the `table_name`, if it's well-formed (with project-based + // syntax). + routing_parameters { + field: "table_name" + path_template: "{table_name=projects/*/instances/*/**}" + } + }; + + result: + + x-goog-request-params: + table_name=projects/proj_foo/instances/instance_bar/table/table_baz + + Sub-example 3b + + The field does not match the template. + + annotation: + + option (google.api.routing) = { + // Take the `table_name`, if it's well-formed (with region-based + // syntax). + routing_parameters { + field: "table_name" + path_template: "{table_name=regions/*/zones/*/**}" + } + }; + + result: + + + + Sub-example 3c + + Multiple alternative conflictingly named path templates are + specified. The one that matches is used to construct the header. + + annotation: + + option (google.api.routing) = { + // Take the `table_name`, if it's well-formed, whether + // using the region- or projects-based syntax. + + routing_parameters { + field: "table_name" + path_template: "{table_name=regions/*/zones/*/**}" + } + routing_parameters { + field: "table_name" + path_template: "{table_name=projects/*/instances/*/**}" + } + }; + + result: + + x-goog-request-params: + table_name=projects/proj_foo/instances/instance_bar/table/table_baz + + Example 4 + + Extracting a single routing header key-value pair by matching a + template syntax on (a part of) a single request field. + + annotation: + + option (google.api.routing) = { + // Take just the project id from the `table_name` field. + routing_parameters { + field: "table_name" + path_template: "{routing_id=projects/*}/**" + } + }; + + result: + + x-goog-request-params: routing_id=projects/proj_foo + + Example 5 + + Extracting a single routing header key-value pair by matching + several conflictingly named path templates on (parts of) a single request + field. The last template to match "wins" the conflict. + + annotation: + + option (google.api.routing) = { + // If the `table_name` does not have instances information, + // take just the project id for routing. + // Otherwise take project + instance. + + routing_parameters { + field: "table_name" + path_template: "{routing_id=projects/*}/**" + } + routing_parameters { + field: "table_name" + path_template: "{routing_id=projects/*/instances/*}/**" + } + }; + + result: + + x-goog-request-params: + routing_id=projects/proj_foo/instances/instance_bar + + Example 6 + + Extracting multiple routing header key-value pairs by matching + several non-conflicting path templates on (parts of) a single request field. + + Sub-example 6a + + Make the templates strict, so that if the `table_name` does not + have an instance information, nothing is sent. + + annotation: + + option (google.api.routing) = { + // The routing code needs two keys instead of one composite + // but works only for the tables with the "project-instance" name + // syntax. + + routing_parameters { + field: "table_name" + path_template: "{project_id=projects/*}/instances/*/**" + } + routing_parameters { + field: "table_name" + path_template: "projects/*/{instance_id=instances/*}/**" + } + }; + + result: + + x-goog-request-params: + project_id=projects/proj_foo&instance_id=instances/instance_bar + + Sub-example 6b + + Make the templates loose, so that if the `table_name` does not + have an instance information, just the project id part is sent. + + annotation: + + option (google.api.routing) = { + // The routing code wants two keys instead of one composite + // but will work with just the `project_id` for tables without + // an instance in the `table_name`. + + routing_parameters { + field: "table_name" + path_template: "{project_id=projects/*}/**" + } + routing_parameters { + field: "table_name" + path_template: "projects/*/{instance_id=instances/*}/**" + } + }; + + result (is the same as 6a for our example message because it has the instance + information): + + x-goog-request-params: + project_id=projects/proj_foo&instance_id=instances/instance_bar + + Example 7 + + Extracting multiple routing header key-value pairs by matching + several path templates on multiple request fields. + + NB: note that here there is no way to specify sending nothing if one of the + fields does not match its template. E.g. if the `table_name` is in the wrong + format, the `project_id` will not be sent, but the `routing_id` will be. + The backend routing code has to be aware of that and be prepared to not + receive a full complement of keys if it expects multiple. + + annotation: + + option (google.api.routing) = { + // The routing needs both `project_id` and `routing_id` + // (from the `app_profile_id` field) for routing. + + routing_parameters { + field: "table_name" + path_template: "{project_id=projects/*}/**" + } + routing_parameters { + field: "app_profile_id" + path_template: "{routing_id=**}" + } + }; + + result: + + x-goog-request-params: + project_id=projects/proj_foo&routing_id=profiles/prof_qux + + Example 8 + + Extracting a single routing header key-value pair by matching + several conflictingly named path templates on several request fields. The + last template to match "wins" the conflict. + + annotation: + + option (google.api.routing) = { + // The `routing_id` can be a project id or a region id depending on + // the table name format, but only if the `app_profile_id` is not set. + // If `app_profile_id` is set it should be used instead. + + routing_parameters { + field: "table_name" + path_template: "{routing_id=projects/*}/**" + } + routing_parameters { + field: "table_name" + path_template: "{routing_id=regions/*}/**" + } + routing_parameters { + field: "app_profile_id" + path_template: "{routing_id=**}" + } + }; + + result: + + x-goog-request-params: routing_id=profiles/prof_qux + + Example 9 + + Bringing it all together. + + annotation: + + option (google.api.routing) = { + // For routing both `table_location` and a `routing_id` are needed. + // + // table_location can be either an instance id or a region+zone id. + // + // For `routing_id`, take the value of `app_profile_id` + // - If it's in the format `profiles/`, send + // just the `` part. + // - If it's any other literal, send it as is. + // If the `app_profile_id` is empty, and the `table_name` starts with + // the project_id, send that instead. + + routing_parameters { + field: "table_name" + path_template: "projects/*/{table_location=instances/*}/tables/*" + } + routing_parameters { + field: "table_name" + path_template: "{table_location=regions/*/zones/*}/tables/*" + } + routing_parameters { + field: "table_name" + path_template: "{routing_id=projects/*}/**" + } + routing_parameters { + field: "app_profile_id" + path_template: "{routing_id=**}" + } + routing_parameters { + field: "app_profile_id" + path_template: "profiles/{routing_id=*}" + } + }; + + result: + + x-goog-request-params: + table_location=instances/instance_bar&routing_id=prof_qux + """ + + use Protobuf, + full_name: "google.api.RoutingRule", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :routing_parameters, 2, + repeated: true, + type: Google.Api.RoutingParameter, + json_name: "routingParameters" +end + +defmodule Google.Api.RoutingParameter do + @moduledoc """ + A projection from an input message to the GRPC or REST header. + """ + + use Protobuf, + full_name: "google.api.RoutingParameter", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :field, 1, type: :string + field :path_template, 2, type: :string, json_name: "pathTemplate" +end diff --git a/lib/generated/google/api/visibility.pb.ex b/lib/generated/google/api/visibility.pb.ex index aff7e92..e1948a6 100644 --- a/lib/generated/google/api/visibility.pb.ex +++ b/lib/generated/google/api/visibility.pb.ex @@ -25,7 +25,10 @@ defmodule Google.Api.Visibility do EnhancedSearch and Delegate. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.Visibility", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :rules, 1, repeated: true, type: Google.Api.VisibilityRule end @@ -36,7 +39,10 @@ defmodule Google.Api.VisibilityRule do element. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.api.VisibilityRule", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :selector, 1, type: :string field :restriction, 2, type: :string diff --git a/lib/generated/google/bytestream/bytestream.pb.ex b/lib/generated/google/bytestream/bytestream.pb.ex index 0943701..0273328 100644 --- a/lib/generated/google/bytestream/bytestream.pb.ex +++ b/lib/generated/google/bytestream/bytestream.pb.ex @@ -3,7 +3,10 @@ defmodule Google.Bytestream.ReadRequest do Request object for ByteStream.Read. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.bytestream.ReadRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :resource_name, 1, type: :string, json_name: "resourceName" field :read_offset, 2, type: :int64, json_name: "readOffset" @@ -15,7 +18,10 @@ defmodule Google.Bytestream.ReadResponse do Response object for ByteStream.Read. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.bytestream.ReadResponse", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :data, 10, type: :bytes end @@ -25,7 +31,10 @@ defmodule Google.Bytestream.WriteRequest do Request object for ByteStream.Write. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.bytestream.WriteRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :resource_name, 1, type: :string, json_name: "resourceName" field :write_offset, 2, type: :int64, json_name: "writeOffset" @@ -38,7 +47,10 @@ defmodule Google.Bytestream.WriteResponse do Response object for ByteStream.Write. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.bytestream.WriteResponse", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :committed_size, 1, type: :int64, json_name: "committedSize" end @@ -48,7 +60,10 @@ defmodule Google.Bytestream.QueryWriteStatusRequest do Request object for ByteStream.QueryWriteStatus. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.bytestream.QueryWriteStatusRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :resource_name, 1, type: :string, json_name: "resourceName" end @@ -58,7 +73,10 @@ defmodule Google.Bytestream.QueryWriteStatusResponse do Response object for ByteStream.QueryWriteStatus. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.bytestream.QueryWriteStatusResponse", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :committed_size, 1, type: :int64, json_name: "committedSize" field :complete, 2, type: :bool diff --git a/lib/generated/google/geo/type/viewport.pb.ex b/lib/generated/google/geo/type/viewport.pb.ex index 1a20086..05cbdc6 100644 --- a/lib/generated/google/geo/type/viewport.pb.ex +++ b/lib/generated/google/geo/type/viewport.pb.ex @@ -37,7 +37,10 @@ defmodule Google.Geo.Type.Viewport do } """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.geo.type.Viewport", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :low, 1, type: Google.Type.LatLng field :high, 2, type: Google.Type.LatLng diff --git a/lib/generated/google/iam/v1/iam_policy.pb.ex b/lib/generated/google/iam/v1/iam_policy.pb.ex new file mode 100644 index 0000000..749f58f --- /dev/null +++ b/lib/generated/google/iam/v1/iam_policy.pb.ex @@ -0,0 +1,55 @@ +defmodule Google.Iam.V1.SetIamPolicyRequest do + @moduledoc """ + Request message for `SetIamPolicy` method. + """ + + use Protobuf, + full_name: "google.iam.v1.SetIamPolicyRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :resource, 1, type: :string, deprecated: false + field :policy, 2, type: Google.Iam.V1.Policy, deprecated: false + field :update_mask, 3, type: Google.Protobuf.FieldMask, json_name: "updateMask" +end + +defmodule Google.Iam.V1.GetIamPolicyRequest do + @moduledoc """ + Request message for `GetIamPolicy` method. + """ + + use Protobuf, + full_name: "google.iam.v1.GetIamPolicyRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :resource, 1, type: :string, deprecated: false + field :options, 2, type: Google.Iam.V1.GetPolicyOptions +end + +defmodule Google.Iam.V1.TestIamPermissionsRequest do + @moduledoc """ + Request message for `TestIamPermissions` method. + """ + + use Protobuf, + full_name: "google.iam.v1.TestIamPermissionsRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :resource, 1, type: :string, deprecated: false + field :permissions, 2, repeated: true, type: :string, deprecated: false +end + +defmodule Google.Iam.V1.TestIamPermissionsResponse do + @moduledoc """ + Response message for `TestIamPermissions` method. + """ + + use Protobuf, + full_name: "google.iam.v1.TestIamPermissionsResponse", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :permissions, 1, repeated: true, type: :string +end diff --git a/lib/generated/google/iam/v1/options.pb.ex b/lib/generated/google/iam/v1/options.pb.ex new file mode 100644 index 0000000..4da7815 --- /dev/null +++ b/lib/generated/google/iam/v1/options.pb.ex @@ -0,0 +1,12 @@ +defmodule Google.Iam.V1.GetPolicyOptions do + @moduledoc """ + Encapsulates settings provided to GetIamPolicy. + """ + + use Protobuf, + full_name: "google.iam.v1.GetPolicyOptions", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :requested_policy_version, 1, type: :int32, json_name: "requestedPolicyVersion" +end diff --git a/lib/generated/google/iam/v1/policy.pb.ex b/lib/generated/google/iam/v1/policy.pb.ex new file mode 100644 index 0000000..0a63be7 --- /dev/null +++ b/lib/generated/google/iam/v1/policy.pb.ex @@ -0,0 +1,310 @@ +defmodule Google.Iam.V1.AuditLogConfig.LogType do + @moduledoc """ + The list of valid permission types for which logging can be configured. + Admin writes are always logged, and are not configurable. + """ + + use Protobuf, + enum: true, + full_name: "google.iam.v1.AuditLogConfig.LogType", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :LOG_TYPE_UNSPECIFIED, 0 + field :ADMIN_READ, 1 + field :DATA_WRITE, 2 + field :DATA_READ, 3 +end + +defmodule Google.Iam.V1.BindingDelta.Action do + @moduledoc """ + The type of action performed on a Binding in a policy. + """ + + use Protobuf, + enum: true, + full_name: "google.iam.v1.BindingDelta.Action", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :ACTION_UNSPECIFIED, 0 + field :ADD, 1 + field :REMOVE, 2 +end + +defmodule Google.Iam.V1.AuditConfigDelta.Action do + @moduledoc """ + The type of action performed on an audit configuration in a policy. + """ + + use Protobuf, + enum: true, + full_name: "google.iam.v1.AuditConfigDelta.Action", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :ACTION_UNSPECIFIED, 0 + field :ADD, 1 + field :REMOVE, 2 +end + +defmodule Google.Iam.V1.Policy do + @moduledoc """ + An Identity and Access Management (IAM) policy, which specifies access + controls for Google Cloud resources. + A `Policy` is a collection of `bindings`. A `binding` binds one or more + `members`, or principals, to a single `role`. Principals can be user + accounts, service accounts, Google groups, and domains (such as G Suite). A + `role` is a named list of permissions; each `role` can be an IAM predefined + role or a user-created custom role. + + For some types of Google Cloud resources, a `binding` can also specify a + `condition`, which is a logical expression that allows access to a resource + only if the expression evaluates to `true`. A condition can add constraints + based on attributes of the request, the resource, or both. To learn which + resources support conditions in their IAM policies, see the + [IAM + documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + + **JSON example:** + + ``` + { + "bindings": [ + { + "role": "roles/resourcemanager.organizationAdmin", + "members": [ + "user:mike@example.com", + "group:admins@example.com", + "domain:google.com", + "serviceAccount:my-project-id@appspot.gserviceaccount.com" + ] + }, + { + "role": "roles/resourcemanager.organizationViewer", + "members": [ + "user:eve@example.com" + ], + "condition": { + "title": "expirable access", + "description": "Does not grant access after Sep 2020", + "expression": "request.time < + timestamp('2020-10-01T00:00:00.000Z')", + } + } + ], + "etag": "BwWWja0YfJA=", + "version": 3 + } + ``` + + **YAML example:** + + ``` + bindings: + - members: + - user:mike@example.com + - group:admins@example.com + - domain:google.com + - serviceAccount:my-project-id@appspot.gserviceaccount.com + role: roles/resourcemanager.organizationAdmin + - members: + - user:eve@example.com + role: roles/resourcemanager.organizationViewer + condition: + title: expirable access + description: Does not grant access after Sep 2020 + expression: request.time < timestamp('2020-10-01T00:00:00.000Z') + etag: BwWWja0YfJA= + version: 3 + ``` + + For a description of IAM and its features, see the + [IAM documentation](https://cloud.google.com/iam/docs/). + """ + + use Protobuf, + full_name: "google.iam.v1.Policy", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :version, 1, type: :int32 + field :bindings, 4, repeated: true, type: Google.Iam.V1.Binding + + field :audit_configs, 6, + repeated: true, + type: Google.Iam.V1.AuditConfig, + json_name: "auditConfigs" + + field :etag, 3, type: :bytes +end + +defmodule Google.Iam.V1.Binding do + @moduledoc """ + Associates `members`, or principals, with a `role`. + """ + + use Protobuf, + full_name: "google.iam.v1.Binding", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :role, 1, type: :string + field :members, 2, repeated: true, type: :string + field :condition, 3, type: Google.Type.Expr +end + +defmodule Google.Iam.V1.AuditConfig do + @moduledoc """ + Specifies the audit configuration for a service. + The configuration determines which permission types are logged, and what + identities, if any, are exempted from logging. + An AuditConfig must have one or more AuditLogConfigs. + + If there are AuditConfigs for both `allServices` and a specific service, + the union of the two AuditConfigs is used for that service: the log_types + specified in each AuditConfig are enabled, and the exempted_members in each + AuditLogConfig are exempted. + + Example Policy with multiple AuditConfigs: + + { + "audit_configs": [ + { + "service": "allServices", + "audit_log_configs": [ + { + "log_type": "DATA_READ", + "exempted_members": [ + "user:jose@example.com" + ] + }, + { + "log_type": "DATA_WRITE" + }, + { + "log_type": "ADMIN_READ" + } + ] + }, + { + "service": "sampleservice.googleapis.com", + "audit_log_configs": [ + { + "log_type": "DATA_READ" + }, + { + "log_type": "DATA_WRITE", + "exempted_members": [ + "user:aliya@example.com" + ] + } + ] + } + ] + } + + For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + logging. It also exempts `jose@example.com` from DATA_READ logging, and + `aliya@example.com` from DATA_WRITE logging. + """ + + use Protobuf, + full_name: "google.iam.v1.AuditConfig", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :service, 1, type: :string + + field :audit_log_configs, 3, + repeated: true, + type: Google.Iam.V1.AuditLogConfig, + json_name: "auditLogConfigs" +end + +defmodule Google.Iam.V1.AuditLogConfig do + @moduledoc """ + Provides the configuration for logging a type of permissions. + Example: + + { + "audit_log_configs": [ + { + "log_type": "DATA_READ", + "exempted_members": [ + "user:jose@example.com" + ] + }, + { + "log_type": "DATA_WRITE" + } + ] + } + + This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + jose@example.com from DATA_READ logging. + """ + + use Protobuf, + full_name: "google.iam.v1.AuditLogConfig", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :log_type, 1, type: Google.Iam.V1.AuditLogConfig.LogType, json_name: "logType", enum: true + field :exempted_members, 2, repeated: true, type: :string, json_name: "exemptedMembers" +end + +defmodule Google.Iam.V1.PolicyDelta do + @moduledoc """ + The difference delta between two policies. + """ + + use Protobuf, + full_name: "google.iam.v1.PolicyDelta", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :binding_deltas, 1, + repeated: true, + type: Google.Iam.V1.BindingDelta, + json_name: "bindingDeltas" + + field :audit_config_deltas, 2, + repeated: true, + type: Google.Iam.V1.AuditConfigDelta, + json_name: "auditConfigDeltas" +end + +defmodule Google.Iam.V1.BindingDelta do + @moduledoc """ + One delta entry for Binding. Each individual change (only one member in each + entry) to a binding will be a separate entry. + """ + + use Protobuf, + full_name: "google.iam.v1.BindingDelta", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :action, 1, type: Google.Iam.V1.BindingDelta.Action, enum: true + field :role, 2, type: :string + field :member, 3, type: :string + field :condition, 4, type: Google.Type.Expr +end + +defmodule Google.Iam.V1.AuditConfigDelta do + @moduledoc """ + One delta entry for AuditConfig. Each individual change (only one + exempted_member in each entry) to a AuditConfig will be a separate entry. + """ + + use Protobuf, + full_name: "google.iam.v1.AuditConfigDelta", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 + + field :action, 1, type: Google.Iam.V1.AuditConfigDelta.Action, enum: true + field :service, 2, type: :string + field :exempted_member, 3, type: :string, json_name: "exemptedMember" + field :log_type, 4, type: :string, json_name: "logType" +end diff --git a/lib/generated/google/longrunning/operations.pb.ex b/lib/generated/google/longrunning/operations.pb.ex index 7340f2d..966f818 100644 --- a/lib/generated/google/longrunning/operations.pb.ex +++ b/lib/generated/google/longrunning/operations.pb.ex @@ -4,7 +4,10 @@ defmodule Google.Longrunning.Operation do network API call. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.longrunning.Operation", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :result, 0 @@ -21,7 +24,10 @@ defmodule Google.Longrunning.GetOperationRequest do [Operations.GetOperation][google.longrunning.Operations.GetOperation]. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.longrunning.GetOperationRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :name, 1, type: :string end @@ -32,12 +38,16 @@ defmodule Google.Longrunning.ListOperationsRequest do [Operations.ListOperations][google.longrunning.Operations.ListOperations]. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.longrunning.ListOperationsRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :name, 4, type: :string field :filter, 1, type: :string field :page_size, 2, type: :int32, json_name: "pageSize" field :page_token, 3, type: :string, json_name: "pageToken" + field :return_partial_success, 5, type: :bool, json_name: "returnPartialSuccess" end defmodule Google.Longrunning.ListOperationsResponse do @@ -46,10 +56,14 @@ defmodule Google.Longrunning.ListOperationsResponse do [Operations.ListOperations][google.longrunning.Operations.ListOperations]. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.longrunning.ListOperationsResponse", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :operations, 1, repeated: true, type: Google.Longrunning.Operation field :next_page_token, 2, type: :string, json_name: "nextPageToken" + field :unreachable, 3, repeated: true, type: :string, deprecated: false end defmodule Google.Longrunning.CancelOperationRequest do @@ -58,7 +72,10 @@ defmodule Google.Longrunning.CancelOperationRequest do [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.longrunning.CancelOperationRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :name, 1, type: :string end @@ -69,7 +86,10 @@ defmodule Google.Longrunning.DeleteOperationRequest do [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.longrunning.DeleteOperationRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :name, 1, type: :string end @@ -80,7 +100,10 @@ defmodule Google.Longrunning.WaitOperationRequest do [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.longrunning.WaitOperationRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :name, 1, type: :string field :timeout, 2, type: Google.Protobuf.Duration @@ -100,7 +123,10 @@ defmodule Google.Longrunning.OperationInfo do } """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.longrunning.OperationInfo", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :response_type, 1, type: :string, json_name: "responseType" field :metadata_type, 2, type: :string, json_name: "metadataType" diff --git a/lib/generated/google/longrunning/pb_extension.pb.ex b/lib/generated/google/longrunning/pb_extension.pb.ex index bafbd2a..7d29134 100644 --- a/lib/generated/google/longrunning/pb_extension.pb.ex +++ b/lib/generated/google/longrunning/pb_extension.pb.ex @@ -1,5 +1,5 @@ defmodule Google.Longrunning.PbExtension do - use Protobuf, protoc_gen_elixir_version: "0.15.0" + use Protobuf, protoc_gen_elixir_version: "0.16.0" extend Google.Protobuf.MethodOptions, :operation_info, 1049, optional: true, diff --git a/lib/generated/google/rpc/code.pb.ex b/lib/generated/google/rpc/code.pb.ex index cf823e5..996b166 100644 --- a/lib/generated/google/rpc/code.pb.ex +++ b/lib/generated/google/rpc/code.pb.ex @@ -7,7 +7,11 @@ defmodule Google.Rpc.Code do Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.rpc.Code", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :OK, 0 field :CANCELLED, 1 diff --git a/lib/generated/google/rpc/context/attribute_context.pb.ex b/lib/generated/google/rpc/context/attribute_context.pb.ex index e00bc58..48975d5 100644 --- a/lib/generated/google/rpc/context/attribute_context.pb.ex +++ b/lib/generated/google/rpc/context/attribute_context.pb.ex @@ -1,5 +1,9 @@ defmodule Google.Rpc.Context.AttributeContext.Peer.LabelsEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Peer.LabelsEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string @@ -13,7 +17,10 @@ defmodule Google.Rpc.Context.AttributeContext.Peer do `principal` and `labels` as appropriate. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Peer", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :ip, 1, type: :string field :port, 2, type: :int64 @@ -34,7 +41,10 @@ defmodule Google.Rpc.Context.AttributeContext.Api do by Google APIs, Istio, and OpenAPI. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Api", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :service, 1, type: :string field :operation, 2, type: :string @@ -49,7 +59,10 @@ defmodule Google.Rpc.Context.AttributeContext.Auth do correlate to concepts in other standards. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Auth", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :principal, 1, type: :string field :audiences, 2, repeated: true, type: :string @@ -59,7 +72,11 @@ defmodule Google.Rpc.Context.AttributeContext.Auth do end defmodule Google.Rpc.Context.AttributeContext.Request.HeadersEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Request.HeadersEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string @@ -72,7 +89,10 @@ defmodule Google.Rpc.Context.AttributeContext.Request do the actual request to an equivalent HTTP request. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Request", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :id, 1, type: :string field :method, 2, type: :string @@ -94,7 +114,11 @@ defmodule Google.Rpc.Context.AttributeContext.Request do end defmodule Google.Rpc.Context.AttributeContext.Response.HeadersEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Response.HeadersEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string @@ -106,7 +130,10 @@ defmodule Google.Rpc.Context.AttributeContext.Response do generally models semantics of an HTTP response. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Response", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :code, 1, type: :int64 field :size, 2, type: :int64 @@ -121,14 +148,22 @@ defmodule Google.Rpc.Context.AttributeContext.Response do end defmodule Google.Rpc.Context.AttributeContext.Resource.LabelsEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Resource.LabelsEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string end defmodule Google.Rpc.Context.AttributeContext.Resource.AnnotationsEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Resource.AnnotationsEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string @@ -141,7 +176,10 @@ defmodule Google.Rpc.Context.AttributeContext.Resource do example, a file stored on a network storage service. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext.Resource", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :service, 1, type: :string field :name, 2, type: :string @@ -188,7 +226,10 @@ defmodule Google.Rpc.Context.AttributeContext do a system. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.context.AttributeContext", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :origin, 7, type: Google.Rpc.Context.AttributeContext.Peer field :source, 1, type: Google.Rpc.Context.AttributeContext.Peer diff --git a/lib/generated/google/rpc/error_details.pb.ex b/lib/generated/google/rpc/error_details.pb.ex index bedd154..704b99f 100644 --- a/lib/generated/google/rpc/error_details.pb.ex +++ b/lib/generated/google/rpc/error_details.pb.ex @@ -1,5 +1,9 @@ defmodule Google.Rpc.ErrorInfo.MetadataEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.ErrorInfo.MetadataEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string @@ -33,7 +37,10 @@ defmodule Google.Rpc.ErrorInfo do } """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.ErrorInfo", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :reason, 1, type: :string field :domain, 2, type: :string @@ -57,7 +64,10 @@ defmodule Google.Rpc.RetryInfo do reached. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.RetryInfo", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :retry_delay, 1, type: Google.Protobuf.Duration, json_name: "retryDelay" end @@ -67,14 +77,21 @@ defmodule Google.Rpc.DebugInfo do Describes additional debugging info. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.DebugInfo", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :stack_entries, 1, repeated: true, type: :string, json_name: "stackEntries" field :detail, 2, type: :string end defmodule Google.Rpc.QuotaFailure.Violation.QuotaDimensionsEntry do - use Protobuf, map: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.QuotaFailure.Violation.QuotaDimensionsEntry", + map: true, + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :key, 1, type: :string field :value, 2, type: :string @@ -86,7 +103,10 @@ defmodule Google.Rpc.QuotaFailure.Violation do daily quota or a custom quota that was exceeded. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.QuotaFailure.Violation", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :subject, 1, type: :string field :description, 2, type: :string @@ -119,7 +139,10 @@ defmodule Google.Rpc.QuotaFailure do quota failure. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.QuotaFailure", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :violations, 1, repeated: true, type: Google.Rpc.QuotaFailure.Violation end @@ -129,7 +152,10 @@ defmodule Google.Rpc.PreconditionFailure.Violation do A message type used to describe a single precondition failure. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.PreconditionFailure.Violation", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :type, 1, type: :string field :subject, 2, type: :string @@ -145,7 +171,10 @@ defmodule Google.Rpc.PreconditionFailure do PreconditionFailure message. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.PreconditionFailure", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :violations, 1, repeated: true, type: Google.Rpc.PreconditionFailure.Violation end @@ -155,7 +184,10 @@ defmodule Google.Rpc.BadRequest.FieldViolation do A message type used to describe a single bad request field. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.BadRequest.FieldViolation", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :field, 1, type: :string field :description, 2, type: :string @@ -169,7 +201,10 @@ defmodule Google.Rpc.BadRequest do syntactic aspects of the request. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.BadRequest", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :field_violations, 1, repeated: true, @@ -183,7 +218,10 @@ defmodule Google.Rpc.RequestInfo do or providing other forms of feedback. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.RequestInfo", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :request_id, 1, type: :string, json_name: "requestId" field :serving_data, 2, type: :string, json_name: "servingData" @@ -194,7 +232,10 @@ defmodule Google.Rpc.ResourceInfo do Describes the resource that is being accessed. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.ResourceInfo", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :resource_type, 1, type: :string, json_name: "resourceType" field :resource_name, 2, type: :string, json_name: "resourceName" @@ -207,7 +248,10 @@ defmodule Google.Rpc.Help.Link do Describes a URL link. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.Help.Link", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :description, 1, type: :string field :url, 2, type: :string @@ -222,7 +266,7 @@ defmodule Google.Rpc.Help do directly to the right place in the developer console to flip the bit. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, full_name: "google.rpc.Help", protoc_gen_elixir_version: "0.16.0", syntax: :proto3 field :links, 1, repeated: true, type: Google.Rpc.Help.Link end @@ -233,7 +277,10 @@ defmodule Google.Rpc.LocalizedMessage do which can be attached to an RPC error. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.LocalizedMessage", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :locale, 1, type: :string field :message, 2, type: :string diff --git a/lib/generated/google/rpc/status.pb.ex b/lib/generated/google/rpc/status.pb.ex index 06320cf..18d7d56 100644 --- a/lib/generated/google/rpc/status.pb.ex +++ b/lib/generated/google/rpc/status.pb.ex @@ -9,7 +9,10 @@ defmodule Google.Rpc.Status do [API Design Guide](https://cloud.google.com/apis/design/errors). """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.rpc.Status", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :code, 1, type: :int32 field :message, 2, type: :string diff --git a/lib/generated/google/type/calendar_period.pb.ex b/lib/generated/google/type/calendar_period.pb.ex index 5ac5c9e..258a524 100644 --- a/lib/generated/google/type/calendar_period.pb.ex +++ b/lib/generated/google/type/calendar_period.pb.ex @@ -5,7 +5,11 @@ defmodule Google.Type.CalendarPeriod do `CalendarPeriod`." All calendar times begin at midnight UTC. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.type.CalendarPeriod", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :CALENDAR_PERIOD_UNSPECIFIED, 0 field :DAY, 1 diff --git a/lib/generated/google/type/color.pb.ex b/lib/generated/google/type/color.pb.ex index 6297194..162c6b4 100644 --- a/lib/generated/google/type/color.pb.ex +++ b/lib/generated/google/type/color.pb.ex @@ -126,7 +126,10 @@ defmodule Google.Type.Color do // ... """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.Color", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :red, 1, type: :float field :green, 2, type: :float diff --git a/lib/generated/google/type/date.pb.ex b/lib/generated/google/type/date.pb.ex index c21396b..ac22988 100644 --- a/lib/generated/google/type/date.pb.ex +++ b/lib/generated/google/type/date.pb.ex @@ -15,7 +15,10 @@ defmodule Google.Type.Date do `google.protobuf.Timestamp`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.Date", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :year, 1, type: :int32 field :month, 2, type: :int32 diff --git a/lib/generated/google/type/datetime.pb.ex b/lib/generated/google/type/datetime.pb.ex index 22170f8..9f9382c 100644 --- a/lib/generated/google/type/datetime.pb.ex +++ b/lib/generated/google/type/datetime.pb.ex @@ -26,7 +26,10 @@ defmodule Google.Type.DateTime do document and validate your application's limitations. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.DateTime", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :time_offset, 0 @@ -47,7 +50,10 @@ defmodule Google.Type.TimeZone do [IANA Time Zone Database](https://www.iana.org/time-zones). """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.TimeZone", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :id, 1, type: :string field :version, 2, type: :string diff --git a/lib/generated/google/type/dayofweek.pb.ex b/lib/generated/google/type/dayofweek.pb.ex index 572ba1d..55b6897 100644 --- a/lib/generated/google/type/dayofweek.pb.ex +++ b/lib/generated/google/type/dayofweek.pb.ex @@ -3,7 +3,11 @@ defmodule Google.Type.DayOfWeek do Represents a day of the week. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.type.DayOfWeek", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :DAY_OF_WEEK_UNSPECIFIED, 0 field :MONDAY, 1 diff --git a/lib/generated/google/type/decimal.pb.ex b/lib/generated/google/type/decimal.pb.ex index 3389122..0ff1cc8 100644 --- a/lib/generated/google/type/decimal.pb.ex +++ b/lib/generated/google/type/decimal.pb.ex @@ -9,7 +9,10 @@ defmodule Google.Type.Decimal do [decimal.Decimal]: https://docs.python.org/3/library/decimal.html """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.Decimal", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :value, 1, type: :string end diff --git a/lib/generated/google/type/expr.pb.ex b/lib/generated/google/type/expr.pb.ex index a213cab..10e7cc8 100644 --- a/lib/generated/google/type/expr.pb.ex +++ b/lib/generated/google/type/expr.pb.ex @@ -33,7 +33,10 @@ defmodule Google.Type.Expr do documentation for additional information. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.Expr", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :expression, 1, type: :string field :title, 2, type: :string diff --git a/lib/generated/google/type/fraction.pb.ex b/lib/generated/google/type/fraction.pb.ex index 49ad549..a989efe 100644 --- a/lib/generated/google/type/fraction.pb.ex +++ b/lib/generated/google/type/fraction.pb.ex @@ -3,7 +3,10 @@ defmodule Google.Type.Fraction do Represents a fraction in terms of a numerator divided by a denominator. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.Fraction", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :numerator, 1, type: :int64 field :denominator, 2, type: :int64 diff --git a/lib/generated/google/type/interval.pb.ex b/lib/generated/google/type/interval.pb.ex index e290e17..6794d66 100644 --- a/lib/generated/google/type/interval.pb.ex +++ b/lib/generated/google/type/interval.pb.ex @@ -8,7 +8,10 @@ defmodule Google.Type.Interval do When both start and end are unspecified, the interval matches any time. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.Interval", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :start_time, 1, type: Google.Protobuf.Timestamp, json_name: "startTime" field :end_time, 2, type: Google.Protobuf.Timestamp, json_name: "endTime" diff --git a/lib/generated/google/type/latlng.pb.ex b/lib/generated/google/type/latlng.pb.ex index 1b8ac68..84e6d70 100644 --- a/lib/generated/google/type/latlng.pb.ex +++ b/lib/generated/google/type/latlng.pb.ex @@ -7,7 +7,10 @@ defmodule Google.Type.LatLng do standard. Values must be within normalized ranges. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.LatLng", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :latitude, 1, type: :double field :longitude, 2, type: :double diff --git a/lib/generated/google/type/localized_text.pb.ex b/lib/generated/google/type/localized_text.pb.ex index 3e497e0..109ed49 100644 --- a/lib/generated/google/type/localized_text.pb.ex +++ b/lib/generated/google/type/localized_text.pb.ex @@ -3,7 +3,10 @@ defmodule Google.Type.LocalizedText do Localized variant of a text in a particular language. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.LocalizedText", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :text, 1, type: :string field :language_code, 2, type: :string, json_name: "languageCode" diff --git a/lib/generated/google/type/money.pb.ex b/lib/generated/google/type/money.pb.ex index ac95179..25d2528 100644 --- a/lib/generated/google/type/money.pb.ex +++ b/lib/generated/google/type/money.pb.ex @@ -3,7 +3,10 @@ defmodule Google.Type.Money do Represents an amount of money with its currency type. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.Money", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :currency_code, 1, type: :string, json_name: "currencyCode" field :units, 2, type: :int64 diff --git a/lib/generated/google/type/month.pb.ex b/lib/generated/google/type/month.pb.ex index 4d5ef5a..4f47474 100644 --- a/lib/generated/google/type/month.pb.ex +++ b/lib/generated/google/type/month.pb.ex @@ -3,7 +3,11 @@ defmodule Google.Type.Month do Represents a month in the Gregorian calendar. """ - use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + enum: true, + full_name: "google.type.Month", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :MONTH_UNSPECIFIED, 0 field :JANUARY, 1 diff --git a/lib/generated/google/type/phone_number.pb.ex b/lib/generated/google/type/phone_number.pb.ex index a4c03cb..be2641a 100644 --- a/lib/generated/google/type/phone_number.pb.ex +++ b/lib/generated/google/type/phone_number.pb.ex @@ -11,7 +11,10 @@ defmodule Google.Type.PhoneNumber.ShortCode do country calling code (e.g. US and CA). """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.PhoneNumber.ShortCode", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :region_code, 1, type: :string, json_name: "regionCode" field :number, 2, type: :string @@ -47,7 +50,10 @@ defmodule Google.Type.PhoneNumber do - https://github.com/google/libphonenumber """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.PhoneNumber", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 oneof :kind, 0 diff --git a/lib/generated/google/type/postal_address.pb.ex b/lib/generated/google/type/postal_address.pb.ex index fbef893..e7859a6 100644 --- a/lib/generated/google/type/postal_address.pb.ex +++ b/lib/generated/google/type/postal_address.pb.ex @@ -19,7 +19,10 @@ defmodule Google.Type.PostalAddress do https://support.google.com/business/answer/6397478 """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.PostalAddress", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :revision, 1, type: :int32 field :region_code, 2, type: :string, json_name: "regionCode" diff --git a/lib/generated/google/type/quaternion.pb.ex b/lib/generated/google/type/quaternion.pb.ex index a344e49..5e910e1 100644 --- a/lib/generated/google/type/quaternion.pb.ex +++ b/lib/generated/google/type/quaternion.pb.ex @@ -57,7 +57,10 @@ defmodule Google.Type.Quaternion do negative. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.Quaternion", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :x, 1, type: :double field :y, 2, type: :double diff --git a/lib/generated/google/type/timeofday.pb.ex b/lib/generated/google/type/timeofday.pb.ex index 969dcad..62658c9 100644 --- a/lib/generated/google/type/timeofday.pb.ex +++ b/lib/generated/google/type/timeofday.pb.ex @@ -6,7 +6,10 @@ defmodule Google.Type.TimeOfDay do `google.protobuf.Timestamp`. """ - use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3 + use Protobuf, + full_name: "google.type.TimeOfDay", + protoc_gen_elixir_version: "0.16.0", + syntax: :proto3 field :hours, 1, type: :int32 field :minutes, 2, type: :int32 diff --git a/mix.lock b/mix.lock index 9b96d01..a2f223e 100644 --- a/mix.lock +++ b/mix.lock @@ -2,7 +2,7 @@ "cowboy": {:hex, :cowboy, "2.14.2", "4008be1df6ade45e4f2a4e9e2d22b36d0b5aba4e20b0a0d7049e28d124e34847", [:make, :rebar3], [{:cowlib, ">= 2.16.0 and < 3.0.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, ">= 1.8.0 and < 3.0.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "569081da046e7b41b5df36aa359be71a0c8874e5b9cff6f747073fc57baf1ab9"}, "cowlib": {:hex, :cowlib, "2.16.0", "54592074ebbbb92ee4746c8a8846e5605052f29309d3a873468d76cdf932076f", [:make, :rebar3], [], "hexpm", "7f478d80d66b747344f0ea7708c187645cfcc08b11aa424632f78e25bf05db51"}, "earmark_parser": {:hex, :earmark_parser, "1.4.44", "f20830dd6b5c77afe2b063777ddbbff09f9759396500cdbe7523efd58d7a339c", [:mix], [], "hexpm", "4778ac752b4701a5599215f7030989c989ffdc4f6df457c5f36938cc2d2a2750"}, - "ex_doc": {:hex, :ex_doc, "0.38.4", "ab48dff7a8af84226bf23baddcdda329f467255d924380a0cf0cee97bb9a9ede", [:mix], [{:earmark_parser, "~> 1.4.44", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "f7b62346408a83911c2580154e35613eb314e0278aeea72ed7fedef9c1f165b2"}, + "ex_doc": {:hex, :ex_doc, "0.39.3", "519c6bc7e84a2918b737aec7ef48b96aa4698342927d080437f61395d361dcee", [:mix], [{:earmark_parser, "~> 1.4.44", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "0590955cf7ad3b625780ee1c1ea627c28a78948c6c0a9b0322bd976a079996e1"}, "flow": {:hex, :flow, "1.2.4", "1dd58918287eb286656008777cb32714b5123d3855956f29aa141ebae456922d", [:mix], [{:gen_stage, "~> 1.0", [hex: :gen_stage, repo: "hexpm", optional: false]}], "hexpm", "874adde96368e71870f3510b91e35bc31652291858c86c0e75359cbdd35eb211"}, "gen_stage": {:hex, :gen_stage, "1.3.2", "7c77e5d1e97de2c6c2f78f306f463bca64bf2f4c3cdd606affc0100b89743b7b", [:mix], [], "hexpm", "0ffae547fa777b3ed889a6b9e1e64566217413d018cabd825f786e843ffe63e7"}, "grpc": {:hex, :grpc, "0.10.2", "e67f965c720f05fe706e403ee980c6b4e0310cd4443cecd6361845102e2a16cb", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:cowboy, "~> 2.10", [hex: :cowboy, repo: "hexpm", optional: false]}, {:cowlib, "~> 2.12", [hex: :cowlib, repo: "hexpm", optional: false]}, {:flow, "~> 1.2", [hex: :flow, repo: "hexpm", optional: false]}, {:gun, "~> 2.0", [hex: :gun, repo: "hexpm", optional: false]}, {:jason, ">= 0.0.0", [hex: :jason, repo: "hexpm", optional: true]}, {:mint, "~> 1.5", [hex: :mint, repo: "hexpm", optional: false]}, {:protobuf, "~> 0.14", [hex: :protobuf, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "f3f5c48a655633551a49df8f3f90e772e7a6e26765ebe109bcb5c22cd6b55dce"}, @@ -11,10 +11,10 @@ "jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"}, "makeup": {:hex, :makeup, "1.2.1", "e90ac1c65589ef354378def3ba19d401e739ee7ee06fb47f94c687016e3713d1", [:mix], [{:nimble_parsec, "~> 1.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "d36484867b0bae0fea568d10131197a4c2e47056a6fbe84922bf6ba71c8d17ce"}, "makeup_elixir": {:hex, :makeup_elixir, "1.0.1", "e928a4f984e795e41e3abd27bfc09f51db16ab8ba1aebdba2b3a575437efafc2", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "7284900d412a3e5cfd97fdaed4f5ed389b8f2b4cb49efc0eb3bd10e2febf9507"}, - "makeup_erlang": {:hex, :makeup_erlang, "1.0.2", "03e1804074b3aa64d5fad7aa64601ed0fb395337b982d9bcf04029d68d51b6a7", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "af33ff7ef368d5893e4a267933e7744e46ce3cf1f61e2dccf53a111ed3aa3727"}, + "makeup_erlang": {:hex, :makeup_erlang, "1.0.3", "4252d5d4098da7415c390e847c814bad3764c94a814a0b4245176215615e1035", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "953297c02582a33411ac6208f2c6e55f0e870df7f80da724ed613f10e6706afd"}, "mint": {:hex, :mint, "1.7.1", "113fdb2b2f3b59e47c7955971854641c61f378549d73e829e1768de90fc1abf1", [:mix], [{:castore, "~> 0.1.0 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:hpax, "~> 0.1.1 or ~> 0.2.0 or ~> 1.0", [hex: :hpax, repo: "hexpm", optional: false]}], "hexpm", "fceba0a4d0f24301ddee3024ae116df1c3f4bb7a563a731f45fdfeb9d39a231b"}, "nimble_parsec": {:hex, :nimble_parsec, "1.4.2", "8efba0122db06df95bfaa78f791344a89352ba04baedd3849593bfce4d0dc1c6", [:mix], [], "hexpm", "4b21398942dda052b403bbe1da991ccd03a053668d147d53fb8c4e0efe09c973"}, - "protobuf": {:hex, :protobuf, "0.15.0", "c9fc1e9fc1682b05c601df536d5ff21877b55e2023e0466a3855cc1273b74dcb", [:mix], [{:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "5d7bb325319db1d668838d2691c31c7b793c34111aec87d5ee467a39dac6e051"}, + "protobuf": {:hex, :protobuf, "0.16.0", "d1878725105d49162977cf3408ccc3eac4f3532e26e5a9e250f2c624175d10f6", [:mix], [{:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "f0d0d3edd8768130f24cc2cfc41320637d32c80110e80d13f160fa699102c828"}, "ranch": {:hex, :ranch, "2.2.0", "25528f82bc8d7c6152c57666ca99ec716510fe0925cb188172f41ce93117b1b0", [:make, :rebar3], [], "hexpm", "fa0b99a1780c80218a4197a59ea8d3bdae32fbff7e88527d7d8a4787eff4f8e7"}, "telemetry": {:hex, :telemetry, "1.3.0", "fedebbae410d715cf8e7062c96a1ef32ec22e764197f70cda73d82778d61e7a2", [:rebar3], [], "hexpm", "7015fc8919dbe63764f4b4b87a95b7c0996bd539e0d499be6ec9d7f3875b79e6"}, }