Skip to content

Commit ba89b97

Browse files
AUTO GENERATED ELIXIR GOOGLEAPIS PROTOBUF (#724)
Co-authored-by: Hany Rock <rudebono@gmail.com>
1 parent 5fcdb09 commit ba89b97

File tree

4 files changed

+197
-12
lines changed

4 files changed

+197
-12
lines changed

lib/google/api/pb_extension.pb.ex

+6-11
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@ defmodule Google.Api.PbExtension do
22
@moduledoc false
33
use Protobuf, protoc_gen_elixir_version: "0.12.0"
44

5-
extend Google.Protobuf.MethodOptions, :method_signature, 1051,
6-
repeated: true,
7-
type: :string,
8-
json_name: "methodSignature"
9-
10-
extend Google.Protobuf.ServiceOptions, :default_host, 1049,
5+
extend Google.Protobuf.FieldOptions, :field_policy, 158_361_448,
116
optional: true,
12-
type: :string,
13-
json_name: "defaultHost"
7+
type: Google.Api.FieldPolicy,
8+
json_name: "fieldPolicy"
149

15-
extend Google.Protobuf.ServiceOptions, :oauth_scopes, 1050,
10+
extend Google.Protobuf.MethodOptions, :method_policy, 161_893_301,
1611
optional: true,
17-
type: :string,
18-
json_name: "oauthScopes"
12+
type: Google.Api.MethodPolicy,
13+
json_name: "methodPolicy"
1914
end

lib/google/cloud/aiplatform/v1/feature_online_store_service.pb.ex

+117
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,119 @@ defmodule Google.Cloud.Aiplatform.V1.FetchFeatureValuesResponse do
7474
field :proto_struct, 2, type: Google.Protobuf.Struct, json_name: "protoStruct", oneof: 0
7575
end
7676

77+
defmodule Google.Cloud.Aiplatform.V1.NearestNeighborQuery.Embedding do
78+
@moduledoc false
79+
80+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
81+
82+
field :value, 1, repeated: true, type: :float, deprecated: false
83+
end
84+
85+
defmodule Google.Cloud.Aiplatform.V1.NearestNeighborQuery.StringFilter do
86+
@moduledoc false
87+
88+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
89+
90+
field :name, 1, type: :string, deprecated: false
91+
92+
field :allow_tokens, 2,
93+
repeated: true,
94+
type: :string,
95+
json_name: "allowTokens",
96+
deprecated: false
97+
98+
field :deny_tokens, 3, repeated: true, type: :string, json_name: "denyTokens", deprecated: false
99+
end
100+
101+
defmodule Google.Cloud.Aiplatform.V1.NearestNeighborQuery.Parameters do
102+
@moduledoc false
103+
104+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
105+
106+
field :approximate_neighbor_candidates, 1,
107+
type: :int32,
108+
json_name: "approximateNeighborCandidates",
109+
deprecated: false
110+
111+
field :leaf_nodes_search_fraction, 2,
112+
type: :double,
113+
json_name: "leafNodesSearchFraction",
114+
deprecated: false
115+
end
116+
117+
defmodule Google.Cloud.Aiplatform.V1.NearestNeighborQuery do
118+
@moduledoc false
119+
120+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
121+
122+
oneof :instance, 0
123+
124+
field :entity_id, 1, type: :string, json_name: "entityId", oneof: 0, deprecated: false
125+
126+
field :embedding, 2,
127+
type: Google.Cloud.Aiplatform.V1.NearestNeighborQuery.Embedding,
128+
oneof: 0,
129+
deprecated: false
130+
131+
field :neighbor_count, 3, type: :int32, json_name: "neighborCount", deprecated: false
132+
133+
field :string_filters, 4,
134+
repeated: true,
135+
type: Google.Cloud.Aiplatform.V1.NearestNeighborQuery.StringFilter,
136+
json_name: "stringFilters",
137+
deprecated: false
138+
139+
field :per_crowding_attribute_neighbor_count, 5,
140+
type: :int32,
141+
json_name: "perCrowdingAttributeNeighborCount",
142+
deprecated: false
143+
144+
field :parameters, 7,
145+
type: Google.Cloud.Aiplatform.V1.NearestNeighborQuery.Parameters,
146+
deprecated: false
147+
end
148+
149+
defmodule Google.Cloud.Aiplatform.V1.SearchNearestEntitiesRequest do
150+
@moduledoc false
151+
152+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
153+
154+
field :feature_view, 1, type: :string, json_name: "featureView", deprecated: false
155+
field :query, 2, type: Google.Cloud.Aiplatform.V1.NearestNeighborQuery, deprecated: false
156+
field :return_full_entity, 3, type: :bool, json_name: "returnFullEntity", deprecated: false
157+
end
158+
159+
defmodule Google.Cloud.Aiplatform.V1.NearestNeighbors.Neighbor do
160+
@moduledoc false
161+
162+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
163+
164+
field :entity_id, 1, type: :string, json_name: "entityId"
165+
field :distance, 2, type: :double
166+
167+
field :entity_key_values, 3,
168+
type: Google.Cloud.Aiplatform.V1.FetchFeatureValuesResponse,
169+
json_name: "entityKeyValues"
170+
end
171+
172+
defmodule Google.Cloud.Aiplatform.V1.NearestNeighbors do
173+
@moduledoc false
174+
175+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
176+
177+
field :neighbors, 1, repeated: true, type: Google.Cloud.Aiplatform.V1.NearestNeighbors.Neighbor
178+
end
179+
180+
defmodule Google.Cloud.Aiplatform.V1.SearchNearestEntitiesResponse do
181+
@moduledoc false
182+
183+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
184+
185+
field :nearest_neighbors, 1,
186+
type: Google.Cloud.Aiplatform.V1.NearestNeighbors,
187+
json_name: "nearestNeighbors"
188+
end
189+
77190
defmodule Google.Cloud.Aiplatform.V1.FeatureOnlineStoreService.Service do
78191
@moduledoc false
79192

@@ -84,6 +197,10 @@ defmodule Google.Cloud.Aiplatform.V1.FeatureOnlineStoreService.Service do
84197
rpc :FetchFeatureValues,
85198
Google.Cloud.Aiplatform.V1.FetchFeatureValuesRequest,
86199
Google.Cloud.Aiplatform.V1.FetchFeatureValuesResponse
200+
201+
rpc :SearchNearestEntities,
202+
Google.Cloud.Aiplatform.V1.SearchNearestEntitiesRequest,
203+
Google.Cloud.Aiplatform.V1.SearchNearestEntitiesResponse
87204
end
88205

89206
defmodule Google.Cloud.Aiplatform.V1.FeatureOnlineStoreService.Stub do

lib/google/cloud/vision/v1/image_annotator.pb.ex

+61-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ defmodule Google.Cloud.Vision.V1.WebDetectionParams do
307307

308308
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
309309

310-
field :include_geo_results, 2, type: :bool, json_name: "includeGeoResults"
310+
field :include_geo_results, 2, type: :bool, json_name: "includeGeoResults", deprecated: true
311311
end
312312

313313
defmodule Google.Cloud.Vision.V1.TextDetectionParams do
@@ -427,6 +427,15 @@ defmodule Google.Cloud.Vision.V1.AnnotateImageResponse do
427427
field :context, 21, type: Google.Cloud.Vision.V1.ImageAnnotationContext
428428
end
429429

430+
defmodule Google.Cloud.Vision.V1.BatchAnnotateImagesRequest.LabelsEntry do
431+
@moduledoc false
432+
433+
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
434+
435+
field :key, 1, type: :string
436+
field :value, 2, type: :string
437+
end
438+
430439
defmodule Google.Cloud.Vision.V1.BatchAnnotateImagesRequest do
431440
@moduledoc false
432441

@@ -438,6 +447,12 @@ defmodule Google.Cloud.Vision.V1.BatchAnnotateImagesRequest do
438447
deprecated: false
439448

440449
field :parent, 4, type: :string
450+
451+
field :labels, 5,
452+
repeated: true,
453+
type: Google.Cloud.Vision.V1.BatchAnnotateImagesRequest.LabelsEntry,
454+
map: true,
455+
deprecated: false
441456
end
442457

443458
defmodule Google.Cloud.Vision.V1.BatchAnnotateImagesResponse do
@@ -470,6 +485,15 @@ defmodule Google.Cloud.Vision.V1.AnnotateFileResponse do
470485
field :error, 4, type: Google.Rpc.Status
471486
end
472487

488+
defmodule Google.Cloud.Vision.V1.BatchAnnotateFilesRequest.LabelsEntry do
489+
@moduledoc false
490+
491+
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
492+
493+
field :key, 1, type: :string
494+
field :value, 2, type: :string
495+
end
496+
473497
defmodule Google.Cloud.Vision.V1.BatchAnnotateFilesRequest do
474498
@moduledoc false
475499

@@ -481,6 +505,12 @@ defmodule Google.Cloud.Vision.V1.BatchAnnotateFilesRequest do
481505
deprecated: false
482506

483507
field :parent, 3, type: :string
508+
509+
field :labels, 5,
510+
repeated: true,
511+
type: Google.Cloud.Vision.V1.BatchAnnotateFilesRequest.LabelsEntry,
512+
map: true,
513+
deprecated: false
484514
end
485515

486516
defmodule Google.Cloud.Vision.V1.BatchAnnotateFilesResponse do
@@ -510,6 +540,15 @@ defmodule Google.Cloud.Vision.V1.AsyncAnnotateFileResponse do
510540
field :output_config, 1, type: Google.Cloud.Vision.V1.OutputConfig, json_name: "outputConfig"
511541
end
512542

543+
defmodule Google.Cloud.Vision.V1.AsyncBatchAnnotateImagesRequest.LabelsEntry do
544+
@moduledoc false
545+
546+
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
547+
548+
field :key, 1, type: :string
549+
field :value, 2, type: :string
550+
end
551+
513552
defmodule Google.Cloud.Vision.V1.AsyncBatchAnnotateImagesRequest do
514553
@moduledoc false
515554

@@ -526,6 +565,12 @@ defmodule Google.Cloud.Vision.V1.AsyncBatchAnnotateImagesRequest do
526565
deprecated: false
527566

528567
field :parent, 4, type: :string
568+
569+
field :labels, 5,
570+
repeated: true,
571+
type: Google.Cloud.Vision.V1.AsyncBatchAnnotateImagesRequest.LabelsEntry,
572+
map: true,
573+
deprecated: false
529574
end
530575

531576
defmodule Google.Cloud.Vision.V1.AsyncBatchAnnotateImagesResponse do
@@ -536,6 +581,15 @@ defmodule Google.Cloud.Vision.V1.AsyncBatchAnnotateImagesResponse do
536581
field :output_config, 1, type: Google.Cloud.Vision.V1.OutputConfig, json_name: "outputConfig"
537582
end
538583

584+
defmodule Google.Cloud.Vision.V1.AsyncBatchAnnotateFilesRequest.LabelsEntry do
585+
@moduledoc false
586+
587+
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
588+
589+
field :key, 1, type: :string
590+
field :value, 2, type: :string
591+
end
592+
539593
defmodule Google.Cloud.Vision.V1.AsyncBatchAnnotateFilesRequest do
540594
@moduledoc false
541595

@@ -547,6 +601,12 @@ defmodule Google.Cloud.Vision.V1.AsyncBatchAnnotateFilesRequest do
547601
deprecated: false
548602

549603
field :parent, 4, type: :string
604+
605+
field :labels, 5,
606+
repeated: true,
607+
type: Google.Cloud.Vision.V1.AsyncBatchAnnotateFilesRequest.LabelsEntry,
608+
map: true,
609+
deprecated: false
550610
end
551611

552612
defmodule Google.Cloud.Vision.V1.AsyncBatchAnnotateFilesResponse do

lib/google/container/v1/cluster_service.pb.ex

+13
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,11 @@ defmodule Google.Container.V1.AddonsConfig do
978978
field :gcs_fuse_csi_driver_config, 17,
979979
type: Google.Container.V1.GcsFuseCsiDriverConfig,
980980
json_name: "gcsFuseCsiDriverConfig"
981+
982+
field :stateful_ha_config, 18,
983+
type: Google.Container.V1.StatefulHAConfig,
984+
json_name: "statefulHaConfig",
985+
deprecated: false
981986
end
982987

983988
defmodule Google.Container.V1.HttpLoadBalancing do
@@ -1109,6 +1114,14 @@ defmodule Google.Container.V1.GkeBackupAgentConfig do
11091114
field :enabled, 1, type: :bool
11101115
end
11111116

1117+
defmodule Google.Container.V1.StatefulHAConfig do
1118+
@moduledoc false
1119+
1120+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
1121+
1122+
field :enabled, 1, type: :bool
1123+
end
1124+
11121125
defmodule Google.Container.V1.MasterAuthorizedNetworksConfig.CidrBlock do
11131126
@moduledoc false
11141127

0 commit comments

Comments
 (0)