Skip to content

Commit ea756f1

Browse files
AUTO GENERATED ELIXIR GOOGLEAPIS PROTOBUF (#731)
Co-authored-by: Hany Rock <rudebono@gmail.com>
1 parent 40358b2 commit ea756f1

File tree

6 files changed

+270
-1
lines changed

6 files changed

+270
-1
lines changed

lib/google/cloud/documentai/v1/document_processor_service.pb.ex

+35
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,20 @@ defmodule Google.Cloud.Documentai.V1.ProcessOptions do
7676
field :from_start, 6, type: :int32, json_name: "fromStart", oneof: 0
7777
field :from_end, 7, type: :int32, json_name: "fromEnd", oneof: 0
7878
field :ocr_config, 1, type: Google.Cloud.Documentai.V1.OcrConfig, json_name: "ocrConfig"
79+
80+
field :schema_override, 8,
81+
type: Google.Cloud.Documentai.V1.DocumentSchema,
82+
json_name: "schemaOverride",
83+
deprecated: false
84+
end
85+
86+
defmodule Google.Cloud.Documentai.V1.ProcessRequest.LabelsEntry do
87+
@moduledoc false
88+
89+
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
90+
91+
field :key, 1, type: :string
92+
field :value, 2, type: :string
7993
end
8094

8195
defmodule Google.Cloud.Documentai.V1.ProcessRequest do
@@ -107,6 +121,12 @@ defmodule Google.Cloud.Documentai.V1.ProcessRequest do
107121
field :process_options, 7,
108122
type: Google.Cloud.Documentai.V1.ProcessOptions,
109123
json_name: "processOptions"
124+
125+
field :labels, 10,
126+
repeated: true,
127+
type: Google.Cloud.Documentai.V1.ProcessRequest.LabelsEntry,
128+
map: true,
129+
deprecated: false
110130
end
111131

112132
defmodule Google.Cloud.Documentai.V1.HumanReviewStatus do
@@ -131,6 +151,15 @@ defmodule Google.Cloud.Documentai.V1.ProcessResponse do
131151
json_name: "humanReviewStatus"
132152
end
133153

154+
defmodule Google.Cloud.Documentai.V1.BatchProcessRequest.LabelsEntry do
155+
@moduledoc false
156+
157+
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
158+
159+
field :key, 1, type: :string
160+
field :value, 2, type: :string
161+
end
162+
134163
defmodule Google.Cloud.Documentai.V1.BatchProcessRequest do
135164
@moduledoc false
136165

@@ -151,6 +180,12 @@ defmodule Google.Cloud.Documentai.V1.BatchProcessRequest do
151180
field :process_options, 7,
152181
type: Google.Cloud.Documentai.V1.ProcessOptions,
153182
json_name: "processOptions"
183+
184+
field :labels, 9,
185+
repeated: true,
186+
type: Google.Cloud.Documentai.V1.BatchProcessRequest.LabelsEntry,
187+
map: true,
188+
deprecated: false
154189
end
155190

156191
defmodule Google.Cloud.Documentai.V1.BatchProcessResponse do

lib/google/cloud/documentai/v1/document_schema.pb.ex

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defmodule Google.Cloud.Documentai.V1.DocumentSchema.EntityType.Property do
2424
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
2525

2626
field :name, 1, type: :string
27+
field :display_name, 6, type: :string, json_name: "displayName"
2728
field :value_type, 2, type: :string, json_name: "valueType"
2829

2930
field :occurrence_type, 3,

lib/google/cloud/documentai/v1beta3/dataset.pb.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ defmodule Google.Cloud.Documentai.V1beta3.Dataset do
6060
type: Google.Cloud.Documentai.V1beta3.Dataset.DocumentWarehouseConfig,
6161
json_name: "documentWarehouseConfig",
6262
oneof: 0,
63-
deprecated: false
63+
deprecated: true
6464

6565
field :unmanaged_dataset_config, 6,
6666
type: Google.Cloud.Documentai.V1beta3.Dataset.UnmanagedDatasetConfig,

lib/google/cloud/documentai/v1beta3/document_processor_service.pb.ex

+49
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,15 @@ defmodule Google.Cloud.Documentai.V1beta3.ProcessOptions do
9696
deprecated: false
9797
end
9898

99+
defmodule Google.Cloud.Documentai.V1beta3.ProcessRequest.LabelsEntry do
100+
@moduledoc false
101+
102+
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
103+
104+
field :key, 1, type: :string
105+
field :value, 2, type: :string
106+
end
107+
99108
defmodule Google.Cloud.Documentai.V1beta3.ProcessRequest do
100109
@moduledoc false
101110

@@ -126,6 +135,12 @@ defmodule Google.Cloud.Documentai.V1beta3.ProcessRequest do
126135
field :process_options, 7,
127136
type: Google.Cloud.Documentai.V1beta3.ProcessOptions,
128137
json_name: "processOptions"
138+
139+
field :labels, 10,
140+
repeated: true,
141+
type: Google.Cloud.Documentai.V1beta3.ProcessRequest.LabelsEntry,
142+
map: true,
143+
deprecated: false
129144
end
130145

131146
defmodule Google.Cloud.Documentai.V1beta3.HumanReviewStatus do
@@ -172,6 +187,15 @@ defmodule Google.Cloud.Documentai.V1beta3.BatchProcessRequest.BatchOutputConfig
172187
field :gcs_destination, 1, type: :string, json_name: "gcsDestination"
173188
end
174189

190+
defmodule Google.Cloud.Documentai.V1beta3.BatchProcessRequest.LabelsEntry do
191+
@moduledoc false
192+
193+
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
194+
195+
field :key, 1, type: :string
196+
field :value, 2, type: :string
197+
end
198+
175199
defmodule Google.Cloud.Documentai.V1beta3.BatchProcessRequest do
176200
@moduledoc false
177201

@@ -203,6 +227,12 @@ defmodule Google.Cloud.Documentai.V1beta3.BatchProcessRequest do
203227
field :process_options, 7,
204228
type: Google.Cloud.Documentai.V1beta3.ProcessOptions,
205229
json_name: "processOptions"
230+
231+
field :labels, 9,
232+
repeated: true,
233+
type: Google.Cloud.Documentai.V1beta3.BatchProcessRequest.LabelsEntry,
234+
map: true,
235+
deprecated: false
206236
end
207237

208238
defmodule Google.Cloud.Documentai.V1beta3.BatchProcessResponse do
@@ -550,6 +580,19 @@ defmodule Google.Cloud.Documentai.V1beta3.TrainProcessorVersionRequest.CustomDoc
550580
enum: true
551581
end
552582

583+
defmodule Google.Cloud.Documentai.V1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions do
584+
@moduledoc false
585+
586+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
587+
588+
field :train_steps, 2, type: :int32, json_name: "trainSteps", deprecated: false
589+
590+
field :learning_rate_multiplier, 3,
591+
type: :float,
592+
json_name: "learningRateMultiplier",
593+
deprecated: false
594+
end
595+
553596
defmodule Google.Cloud.Documentai.V1beta3.TrainProcessorVersionRequest do
554597
@moduledoc false
555598

@@ -563,6 +606,12 @@ defmodule Google.Cloud.Documentai.V1beta3.TrainProcessorVersionRequest do
563606
json_name: "customDocumentExtractionOptions",
564607
oneof: 0
565608

609+
field :foundation_model_tuning_options, 12,
610+
type:
611+
Google.Cloud.Documentai.V1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions,
612+
json_name: "foundationModelTuningOptions",
613+
oneof: 0
614+
566615
field :parent, 1, type: :string, deprecated: false
567616

568617
field :processor_version, 2,

lib/google/cloud/documentai/v1beta3/document_schema.pb.ex

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ defmodule Google.Cloud.Documentai.V1beta3.DocumentSchema.EntityType.Property do
8484
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
8585

8686
field :name, 1, type: :string
87+
field :display_name, 6, type: :string, json_name: "displayName"
8788
field :value_type, 2, type: :string, json_name: "valueType"
8889

8990
field :occurrence_type, 3,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
defmodule Google.Cloud.Parallelstore.V1beta.Instance.State do
2+
@moduledoc false
3+
4+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
5+
6+
field :STATE_UNSPECIFIED, 0
7+
field :CREATING, 1
8+
field :ACTIVE, 2
9+
field :DELETING, 3
10+
field :FAILED, 4
11+
end
12+
13+
defmodule Google.Cloud.Parallelstore.V1beta.Instance.LabelsEntry do
14+
@moduledoc false
15+
16+
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
17+
18+
field :key, 1, type: :string
19+
field :value, 2, type: :string
20+
end
21+
22+
defmodule Google.Cloud.Parallelstore.V1beta.Instance do
23+
@moduledoc false
24+
25+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
26+
27+
field :name, 1, type: :string, deprecated: false
28+
field :description, 2, type: :string, deprecated: false
29+
30+
field :state, 3,
31+
type: Google.Cloud.Parallelstore.V1beta.Instance.State,
32+
enum: true,
33+
deprecated: false
34+
35+
field :create_time, 4,
36+
type: Google.Protobuf.Timestamp,
37+
json_name: "createTime",
38+
deprecated: false
39+
40+
field :update_time, 5,
41+
type: Google.Protobuf.Timestamp,
42+
json_name: "updateTime",
43+
deprecated: false
44+
45+
field :labels, 6,
46+
repeated: true,
47+
type: Google.Cloud.Parallelstore.V1beta.Instance.LabelsEntry,
48+
map: true,
49+
deprecated: false
50+
51+
field :capacity_gib, 8, type: :int64, json_name: "capacityGib", deprecated: false
52+
field :daos_version, 9, type: :string, json_name: "daosVersion", deprecated: false
53+
54+
field :access_points, 10,
55+
repeated: true,
56+
type: :string,
57+
json_name: "accessPoints",
58+
deprecated: false
59+
60+
field :network, 11, type: :string, deprecated: false
61+
field :reserved_ip_range, 12, type: :string, json_name: "reservedIpRange", deprecated: false
62+
end
63+
64+
defmodule Google.Cloud.Parallelstore.V1beta.ListInstancesRequest do
65+
@moduledoc false
66+
67+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
68+
69+
field :parent, 1, type: :string, deprecated: false
70+
field :page_size, 2, type: :int32, json_name: "pageSize", deprecated: false
71+
field :page_token, 3, type: :string, json_name: "pageToken", deprecated: false
72+
field :filter, 4, type: :string, deprecated: false
73+
field :order_by, 5, type: :string, json_name: "orderBy", deprecated: false
74+
end
75+
76+
defmodule Google.Cloud.Parallelstore.V1beta.ListInstancesResponse do
77+
@moduledoc false
78+
79+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
80+
81+
field :instances, 1, repeated: true, type: Google.Cloud.Parallelstore.V1beta.Instance
82+
field :next_page_token, 2, type: :string, json_name: "nextPageToken"
83+
field :unreachable, 3, repeated: true, type: :string
84+
end
85+
86+
defmodule Google.Cloud.Parallelstore.V1beta.GetInstanceRequest do
87+
@moduledoc false
88+
89+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
90+
91+
field :name, 1, type: :string, deprecated: false
92+
end
93+
94+
defmodule Google.Cloud.Parallelstore.V1beta.CreateInstanceRequest do
95+
@moduledoc false
96+
97+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
98+
99+
field :parent, 1, type: :string, deprecated: false
100+
field :instance_id, 2, type: :string, json_name: "instanceId", deprecated: false
101+
field :instance, 3, type: Google.Cloud.Parallelstore.V1beta.Instance, deprecated: false
102+
field :request_id, 4, type: :string, json_name: "requestId", deprecated: false
103+
end
104+
105+
defmodule Google.Cloud.Parallelstore.V1beta.UpdateInstanceRequest do
106+
@moduledoc false
107+
108+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
109+
110+
field :update_mask, 1,
111+
type: Google.Protobuf.FieldMask,
112+
json_name: "updateMask",
113+
deprecated: false
114+
115+
field :instance, 2, type: Google.Cloud.Parallelstore.V1beta.Instance, deprecated: false
116+
field :request_id, 3, type: :string, json_name: "requestId", deprecated: false
117+
end
118+
119+
defmodule Google.Cloud.Parallelstore.V1beta.DeleteInstanceRequest do
120+
@moduledoc false
121+
122+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
123+
124+
field :name, 1, type: :string, deprecated: false
125+
field :request_id, 2, type: :string, json_name: "requestId", deprecated: false
126+
end
127+
128+
defmodule Google.Cloud.Parallelstore.V1beta.OperationMetadata do
129+
@moduledoc false
130+
131+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
132+
133+
field :create_time, 1,
134+
type: Google.Protobuf.Timestamp,
135+
json_name: "createTime",
136+
deprecated: false
137+
138+
field :end_time, 2, type: Google.Protobuf.Timestamp, json_name: "endTime", deprecated: false
139+
field :target, 3, type: :string, deprecated: false
140+
field :verb, 4, type: :string, deprecated: false
141+
field :status_message, 5, type: :string, json_name: "statusMessage", deprecated: false
142+
143+
field :requested_cancellation, 6,
144+
type: :bool,
145+
json_name: "requestedCancellation",
146+
deprecated: false
147+
148+
field :api_version, 7, type: :string, json_name: "apiVersion", deprecated: false
149+
end
150+
151+
defmodule Google.Cloud.Parallelstore.V1beta.Parallelstore.Service do
152+
@moduledoc false
153+
154+
use GRPC.Service,
155+
name: "google.cloud.parallelstore.v1beta.Parallelstore",
156+
protoc_gen_elixir_version: "0.12.0"
157+
158+
rpc :ListInstances,
159+
Google.Cloud.Parallelstore.V1beta.ListInstancesRequest,
160+
Google.Cloud.Parallelstore.V1beta.ListInstancesResponse
161+
162+
rpc :GetInstance,
163+
Google.Cloud.Parallelstore.V1beta.GetInstanceRequest,
164+
Google.Cloud.Parallelstore.V1beta.Instance
165+
166+
rpc :CreateInstance,
167+
Google.Cloud.Parallelstore.V1beta.CreateInstanceRequest,
168+
Google.Longrunning.Operation
169+
170+
rpc :UpdateInstance,
171+
Google.Cloud.Parallelstore.V1beta.UpdateInstanceRequest,
172+
Google.Longrunning.Operation
173+
174+
rpc :DeleteInstance,
175+
Google.Cloud.Parallelstore.V1beta.DeleteInstanceRequest,
176+
Google.Longrunning.Operation
177+
end
178+
179+
defmodule Google.Cloud.Parallelstore.V1beta.Parallelstore.Stub do
180+
@moduledoc false
181+
182+
use GRPC.Stub, service: Google.Cloud.Parallelstore.V1beta.Parallelstore.Service
183+
end

0 commit comments

Comments
 (0)