Skip to content

Commit e4b6fd0

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

21 files changed

+669
-8
lines changed

lib/google/api/client.pb.ex

+2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ defmodule Google.Api.PythonSettings.ExperimentalFeatures do
142142
field :protobuf_pythonic_types_enabled, 2,
143143
type: :bool,
144144
json_name: "protobufPythonicTypesEnabled"
145+
146+
field :unversioned_package_disabled, 3, type: :bool, json_name: "unversionedPackageDisabled"
145147
end
146148

147149
defmodule Google.Api.PythonSettings do

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

+64
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,11 @@ defmodule Google.Cloud.Aiplatform.V1.ModelContainerSpec do
292292
type: Google.Cloud.Aiplatform.V1.Probe,
293293
json_name: "healthProbe",
294294
deprecated: false
295+
296+
field :liveness_probe, 14,
297+
type: Google.Cloud.Aiplatform.V1.Probe,
298+
json_name: "livenessProbe",
299+
deprecated: false
295300
end
296301

297302
defmodule Google.Cloud.Aiplatform.V1.Port do
@@ -323,6 +328,49 @@ defmodule Google.Cloud.Aiplatform.V1.Probe.ExecAction do
323328
field :command, 1, repeated: true, type: :string
324329
end
325330

331+
defmodule Google.Cloud.Aiplatform.V1.Probe.HttpGetAction do
332+
@moduledoc false
333+
334+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
335+
336+
field :path, 1, type: :string
337+
field :port, 2, type: :int32
338+
field :host, 3, type: :string
339+
field :scheme, 4, type: :string
340+
341+
field :http_headers, 5,
342+
repeated: true,
343+
type: Google.Cloud.Aiplatform.V1.Probe.HttpHeader,
344+
json_name: "httpHeaders"
345+
end
346+
347+
defmodule Google.Cloud.Aiplatform.V1.Probe.GrpcAction do
348+
@moduledoc false
349+
350+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
351+
352+
field :port, 1, type: :int32
353+
field :service, 2, type: :string
354+
end
355+
356+
defmodule Google.Cloud.Aiplatform.V1.Probe.TcpSocketAction do
357+
@moduledoc false
358+
359+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
360+
361+
field :port, 1, type: :int32
362+
field :host, 2, type: :string
363+
end
364+
365+
defmodule Google.Cloud.Aiplatform.V1.Probe.HttpHeader do
366+
@moduledoc false
367+
368+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
369+
370+
field :name, 1, type: :string
371+
field :value, 2, type: :string
372+
end
373+
326374
defmodule Google.Cloud.Aiplatform.V1.Probe do
327375
@moduledoc false
328376

@@ -331,6 +379,22 @@ defmodule Google.Cloud.Aiplatform.V1.Probe do
331379
oneof :probe_type, 0
332380

333381
field :exec, 1, type: Google.Cloud.Aiplatform.V1.Probe.ExecAction, oneof: 0
382+
383+
field :http_get, 4,
384+
type: Google.Cloud.Aiplatform.V1.Probe.HttpGetAction,
385+
json_name: "httpGet",
386+
oneof: 0
387+
388+
field :grpc, 5, type: Google.Cloud.Aiplatform.V1.Probe.GrpcAction, oneof: 0
389+
390+
field :tcp_socket, 6,
391+
type: Google.Cloud.Aiplatform.V1.Probe.TcpSocketAction,
392+
json_name: "tcpSocket",
393+
oneof: 0
394+
334395
field :period_seconds, 2, type: :int32, json_name: "periodSeconds"
335396
field :timeout_seconds, 3, type: :int32, json_name: "timeoutSeconds"
397+
field :failure_threshold, 7, type: :int32, json_name: "failureThreshold"
398+
field :success_threshold, 8, type: :int32, json_name: "successThreshold"
399+
field :initial_delay_seconds, 9, type: :int32, json_name: "initialDelaySeconds"
336400
end

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

+10
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ defmodule Google.Cloud.Aiplatform.V1.NotebookRuntimeTemplate do
113113
field :encryption_spec, 23,
114114
type: Google.Cloud.Aiplatform.V1.EncryptionSpec,
115115
json_name: "encryptionSpec"
116+
117+
field :software_config, 24,
118+
type: Google.Cloud.Aiplatform.V1.NotebookSoftwareConfig,
119+
json_name: "softwareConfig",
120+
deprecated: false
116121
end
117122

118123
defmodule Google.Cloud.Aiplatform.V1.NotebookRuntime.LabelsEntry do
@@ -221,6 +226,11 @@ defmodule Google.Cloud.Aiplatform.V1.NotebookRuntime do
221226
json_name: "networkTags",
222227
deprecated: false
223228

229+
field :software_config, 31,
230+
type: Google.Cloud.Aiplatform.V1.NotebookSoftwareConfig,
231+
json_name: "softwareConfig",
232+
deprecated: false
233+
224234
field :encryption_spec, 28,
225235
type: Google.Cloud.Aiplatform.V1.EncryptionSpec,
226236
json_name: "encryptionSpec",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
defmodule Google.Cloud.Aiplatform.V1.PostStartupScriptConfig.PostStartupScriptBehavior do
2+
@moduledoc false
3+
4+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
5+
6+
field :POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED, 0
7+
field :RUN_ONCE, 1
8+
field :RUN_EVERY_START, 2
9+
field :DOWNLOAD_AND_RUN_EVERY_START, 3
10+
end
11+
12+
defmodule Google.Cloud.Aiplatform.V1.PostStartupScriptConfig do
13+
@moduledoc false
14+
15+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
16+
17+
field :post_startup_script, 1, type: :string, json_name: "postStartupScript", deprecated: false
18+
19+
field :post_startup_script_url, 2,
20+
type: :string,
21+
json_name: "postStartupScriptUrl",
22+
deprecated: false
23+
24+
field :post_startup_script_behavior, 3,
25+
type: Google.Cloud.Aiplatform.V1.PostStartupScriptConfig.PostStartupScriptBehavior,
26+
json_name: "postStartupScriptBehavior",
27+
enum: true,
28+
deprecated: false
29+
end
30+
31+
defmodule Google.Cloud.Aiplatform.V1.NotebookSoftwareConfig do
32+
@moduledoc false
33+
34+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
35+
36+
field :env, 1, repeated: true, type: Google.Cloud.Aiplatform.V1.EnvVar, deprecated: false
37+
38+
field :post_startup_script_config, 2,
39+
type: Google.Cloud.Aiplatform.V1.PostStartupScriptConfig,
40+
json_name: "postStartupScriptConfig",
41+
deprecated: false
42+
end

lib/google/cloud/aiplatform/v1beta1/endpoint.pb.ex

+26
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ defmodule Google.Cloud.Aiplatform.V1beta1.DeployedModel do
172172
type: Google.Cloud.Aiplatform.V1beta1.FasterDeploymentConfig,
173173
json_name: "fasterDeploymentConfig"
174174

175+
field :rollout_options, 25,
176+
type: Google.Cloud.Aiplatform.V1beta1.RolloutOptions,
177+
json_name: "rolloutOptions"
178+
175179
field :status, 26, type: Google.Cloud.Aiplatform.V1beta1.DeployedModel.Status, deprecated: false
176180

177181
field :system_labels, 28,
@@ -220,3 +224,25 @@ defmodule Google.Cloud.Aiplatform.V1beta1.FasterDeploymentConfig do
220224

221225
field :fast_tryout_enabled, 2, type: :bool, json_name: "fastTryoutEnabled"
222226
end
227+
228+
defmodule Google.Cloud.Aiplatform.V1beta1.RolloutOptions do
229+
@moduledoc false
230+
231+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
232+
233+
oneof :max_unavailable, 0
234+
235+
oneof :max_surge, 1
236+
237+
field :max_unavailable_replicas, 3, type: :int32, json_name: "maxUnavailableReplicas", oneof: 0
238+
239+
field :max_unavailable_percentage, 4,
240+
type: :int32,
241+
json_name: "maxUnavailablePercentage",
242+
oneof: 0
243+
244+
field :max_surge_replicas, 5, type: :int32, json_name: "maxSurgeReplicas", oneof: 1
245+
field :max_surge_percentage, 6, type: :int32, json_name: "maxSurgePercentage", oneof: 1
246+
field :previous_deployed_model, 1, type: :string, json_name: "previousDeployedModel"
247+
field :revision_number, 2, type: :int32, json_name: "revisionNumber", deprecated: false
248+
end

lib/google/cloud/aiplatform/v1beta1/model.pb.ex

+64
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,11 @@ defmodule Google.Cloud.Aiplatform.V1beta1.ModelContainerSpec do
281281
type: Google.Cloud.Aiplatform.V1beta1.Probe,
282282
json_name: "healthProbe",
283283
deprecated: false
284+
285+
field :liveness_probe, 14,
286+
type: Google.Cloud.Aiplatform.V1beta1.Probe,
287+
json_name: "livenessProbe",
288+
deprecated: false
284289
end
285290

286291
defmodule Google.Cloud.Aiplatform.V1beta1.Port do
@@ -312,6 +317,49 @@ defmodule Google.Cloud.Aiplatform.V1beta1.Probe.ExecAction do
312317
field :command, 1, repeated: true, type: :string
313318
end
314319

320+
defmodule Google.Cloud.Aiplatform.V1beta1.Probe.HttpGetAction do
321+
@moduledoc false
322+
323+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
324+
325+
field :path, 1, type: :string
326+
field :port, 2, type: :int32
327+
field :host, 3, type: :string
328+
field :scheme, 4, type: :string
329+
330+
field :http_headers, 5,
331+
repeated: true,
332+
type: Google.Cloud.Aiplatform.V1beta1.Probe.HttpHeader,
333+
json_name: "httpHeaders"
334+
end
335+
336+
defmodule Google.Cloud.Aiplatform.V1beta1.Probe.GrpcAction do
337+
@moduledoc false
338+
339+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
340+
341+
field :port, 1, type: :int32
342+
field :service, 2, type: :string
343+
end
344+
345+
defmodule Google.Cloud.Aiplatform.V1beta1.Probe.TcpSocketAction do
346+
@moduledoc false
347+
348+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
349+
350+
field :port, 1, type: :int32
351+
field :host, 2, type: :string
352+
end
353+
354+
defmodule Google.Cloud.Aiplatform.V1beta1.Probe.HttpHeader do
355+
@moduledoc false
356+
357+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
358+
359+
field :name, 1, type: :string
360+
field :value, 2, type: :string
361+
end
362+
315363
defmodule Google.Cloud.Aiplatform.V1beta1.Probe do
316364
@moduledoc false
317365

@@ -320,6 +368,22 @@ defmodule Google.Cloud.Aiplatform.V1beta1.Probe do
320368
oneof :probe_type, 0
321369

322370
field :exec, 1, type: Google.Cloud.Aiplatform.V1beta1.Probe.ExecAction, oneof: 0
371+
372+
field :http_get, 4,
373+
type: Google.Cloud.Aiplatform.V1beta1.Probe.HttpGetAction,
374+
json_name: "httpGet",
375+
oneof: 0
376+
377+
field :grpc, 5, type: Google.Cloud.Aiplatform.V1beta1.Probe.GrpcAction, oneof: 0
378+
379+
field :tcp_socket, 6,
380+
type: Google.Cloud.Aiplatform.V1beta1.Probe.TcpSocketAction,
381+
json_name: "tcpSocket",
382+
oneof: 0
383+
323384
field :period_seconds, 2, type: :int32, json_name: "periodSeconds"
324385
field :timeout_seconds, 3, type: :int32, json_name: "timeoutSeconds"
386+
field :failure_threshold, 7, type: :int32, json_name: "failureThreshold"
387+
field :success_threshold, 8, type: :int32, json_name: "successThreshold"
388+
field :initial_delay_seconds, 9, type: :int32, json_name: "initialDelaySeconds"
325389
end

lib/google/cloud/aiplatform/v1beta1/notebook_runtime.pb.ex

+10
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ defmodule Google.Cloud.Aiplatform.V1beta1.NotebookRuntimeTemplate do
113113
field :encryption_spec, 23,
114114
type: Google.Cloud.Aiplatform.V1beta1.EncryptionSpec,
115115
json_name: "encryptionSpec"
116+
117+
field :software_config, 24,
118+
type: Google.Cloud.Aiplatform.V1beta1.NotebookSoftwareConfig,
119+
json_name: "softwareConfig",
120+
deprecated: false
116121
end
117122

118123
defmodule Google.Cloud.Aiplatform.V1beta1.NotebookRuntime.LabelsEntry do
@@ -221,6 +226,11 @@ defmodule Google.Cloud.Aiplatform.V1beta1.NotebookRuntime do
221226
json_name: "networkTags",
222227
deprecated: false
223228

229+
field :software_config, 31,
230+
type: Google.Cloud.Aiplatform.V1beta1.NotebookSoftwareConfig,
231+
json_name: "softwareConfig",
232+
deprecated: false
233+
224234
field :encryption_spec, 28,
225235
type: Google.Cloud.Aiplatform.V1beta1.EncryptionSpec,
226236
json_name: "encryptionSpec",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
defmodule Google.Cloud.Aiplatform.V1beta1.PostStartupScriptConfig.PostStartupScriptBehavior do
2+
@moduledoc false
3+
4+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
5+
6+
field :POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED, 0
7+
field :RUN_ONCE, 1
8+
field :RUN_EVERY_START, 2
9+
field :DOWNLOAD_AND_RUN_EVERY_START, 3
10+
end
11+
12+
defmodule Google.Cloud.Aiplatform.V1beta1.PostStartupScriptConfig do
13+
@moduledoc false
14+
15+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
16+
17+
field :post_startup_script, 1, type: :string, json_name: "postStartupScript", deprecated: false
18+
19+
field :post_startup_script_url, 2,
20+
type: :string,
21+
json_name: "postStartupScriptUrl",
22+
deprecated: false
23+
24+
field :post_startup_script_behavior, 3,
25+
type: Google.Cloud.Aiplatform.V1beta1.PostStartupScriptConfig.PostStartupScriptBehavior,
26+
json_name: "postStartupScriptBehavior",
27+
enum: true,
28+
deprecated: false
29+
end
30+
31+
defmodule Google.Cloud.Aiplatform.V1beta1.NotebookSoftwareConfig do
32+
@moduledoc false
33+
34+
use Protobuf, protoc_gen_elixir_version: "0.14.0", syntax: :proto3
35+
36+
field :env, 1, repeated: true, type: Google.Cloud.Aiplatform.V1beta1.EnvVar, deprecated: false
37+
38+
field :post_startup_script_config, 2,
39+
type: Google.Cloud.Aiplatform.V1beta1.PostStartupScriptConfig,
40+
json_name: "postStartupScriptConfig",
41+
deprecated: false
42+
end

0 commit comments

Comments
 (0)