Skip to content

Commit 5f64a0a

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

File tree

6 files changed

+160
-1
lines changed

6 files changed

+160
-1
lines changed

lib/google/ai/generativelanguage/v1beta/generative_service.pb.ex

+34
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ defmodule Google.Ai.Generativelanguage.V1beta.GenerateAnswerRequest.AnswerStyle
4545
field :VERBOSE, 3
4646
end
4747

48+
defmodule Google.Ai.Generativelanguage.V1beta.GenerateAnswerResponse.InputFeedback.BlockReason do
49+
@moduledoc false
50+
51+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
52+
53+
field :BLOCK_REASON_UNSPECIFIED, 0
54+
field :SAFETY, 1
55+
field :OTHER, 2
56+
end
57+
4858
defmodule Google.Ai.Generativelanguage.V1beta.GenerateContentRequest do
4959
@moduledoc false
5060

@@ -280,6 +290,24 @@ defmodule Google.Ai.Generativelanguage.V1beta.GenerateAnswerRequest do
280290
field :temperature, 4, proto3_optional: true, type: :float, deprecated: false
281291
end
282292

293+
defmodule Google.Ai.Generativelanguage.V1beta.GenerateAnswerResponse.InputFeedback do
294+
@moduledoc false
295+
296+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
297+
298+
field :block_reason, 1,
299+
proto3_optional: true,
300+
type: Google.Ai.Generativelanguage.V1beta.GenerateAnswerResponse.InputFeedback.BlockReason,
301+
json_name: "blockReason",
302+
enum: true,
303+
deprecated: false
304+
305+
field :safety_ratings, 2,
306+
repeated: true,
307+
type: Google.Ai.Generativelanguage.V1beta.SafetyRating,
308+
json_name: "safetyRatings"
309+
end
310+
283311
defmodule Google.Ai.Generativelanguage.V1beta.GenerateAnswerResponse do
284312
@moduledoc false
285313

@@ -292,6 +320,12 @@ defmodule Google.Ai.Generativelanguage.V1beta.GenerateAnswerResponse do
292320
type: :float,
293321
json_name: "answerableProbability",
294322
deprecated: false
323+
324+
field :input_feedback, 3,
325+
proto3_optional: true,
326+
type: Google.Ai.Generativelanguage.V1beta.GenerateAnswerResponse.InputFeedback,
327+
json_name: "inputFeedback",
328+
deprecated: false
295329
end
296330

297331
defmodule Google.Ai.Generativelanguage.V1beta.EmbedContentRequest do

lib/google/analytics/data/v1alpha/analytics_data_api.pb.ex

+26
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,26 @@ defmodule Google.Analytics.Data.V1alpha.RecurringAudienceList do
6161
type: :string,
6262
json_name: "audienceLists",
6363
deprecated: false
64+
65+
field :webhook_notification, 8,
66+
proto3_optional: true,
67+
type: Google.Analytics.Data.V1alpha.WebhookNotification,
68+
json_name: "webhookNotification",
69+
deprecated: false
70+
end
71+
72+
defmodule Google.Analytics.Data.V1alpha.WebhookNotification do
73+
@moduledoc false
74+
75+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
76+
77+
field :uri, 1, proto3_optional: true, type: :string, deprecated: false
78+
79+
field :channel_token, 2,
80+
proto3_optional: true,
81+
type: :string,
82+
json_name: "channelToken",
83+
deprecated: false
6484
end
6585

6686
defmodule Google.Analytics.Data.V1alpha.GetRecurringAudienceListRequest do
@@ -196,6 +216,12 @@ defmodule Google.Analytics.Data.V1alpha.AudienceList do
196216
type: :string,
197217
json_name: "recurringAudienceList",
198218
deprecated: false
219+
220+
field :webhook_notification, 13,
221+
proto3_optional: true,
222+
type: Google.Analytics.Data.V1alpha.WebhookNotification,
223+
json_name: "webhookNotification",
224+
deprecated: false
199225
end
200226

201227
defmodule Google.Analytics.Data.V1alpha.AudienceListMetadata do

lib/google/cloud/batch/v1/job.pb.ex

+7
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ defmodule Google.Cloud.Batch.V1.LogsPolicy.CloudLoggingOption do
102102
@moduledoc false
103103

104104
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
105+
106+
field :use_generic_task_monitored_resource, 1,
107+
type: :bool,
108+
json_name: "useGenericTaskMonitoredResource",
109+
deprecated: false
105110
end
106111

107112
defmodule Google.Cloud.Batch.V1.LogsPolicy do
@@ -354,6 +359,7 @@ defmodule Google.Cloud.Batch.V1.AllocationPolicy do
354359

355360
field :network, 7, type: Google.Cloud.Batch.V1.AllocationPolicy.NetworkPolicy
356361
field :placement, 10, type: Google.Cloud.Batch.V1.AllocationPolicy.PlacementPolicy
362+
field :tags, 11, repeated: true, type: :string, deprecated: false
357363
end
358364

359365
defmodule Google.Cloud.Batch.V1.TaskGroup do
@@ -384,6 +390,7 @@ defmodule Google.Cloud.Batch.V1.TaskGroup do
384390
field :task_count_per_node, 10, type: :int64, json_name: "taskCountPerNode"
385391
field :require_hosts_file, 11, type: :bool, json_name: "requireHostsFile"
386392
field :permissive_ssh, 12, type: :bool, json_name: "permissiveSsh"
393+
field :run_as_non_root, 14, type: :bool, json_name: "runAsNonRoot", deprecated: false
387394
end
388395

389396
defmodule Google.Cloud.Batch.V1.ServiceAccount do

lib/google/cloud/batch/v1/task.pb.ex

+5
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ defmodule Google.Cloud.Batch.V1.Runnable.Container do
8282
field :block_external_network, 9, type: :bool, json_name: "blockExternalNetwork"
8383
field :username, 10, type: :string
8484
field :password, 11, type: :string
85+
86+
field :enable_image_streaming, 12,
87+
type: :bool,
88+
json_name: "enableImageStreaming",
89+
deprecated: false
8590
end
8691

8792
defmodule Google.Cloud.Batch.V1.Runnable.Script do

lib/google/cloud/functions/v1/functions.pb.ex

+28-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ defmodule Google.Cloud.Functions.V1.HttpsTrigger.SecurityLevel do
5252
field :SECURE_OPTIONAL, 2
5353
end
5454

55+
defmodule Google.Cloud.Functions.V1.CloudFunction.AutomaticUpdatePolicy do
56+
@moduledoc false
57+
58+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
59+
end
60+
61+
defmodule Google.Cloud.Functions.V1.CloudFunction.OnDeployUpdatePolicy do
62+
@moduledoc false
63+
64+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
65+
66+
field :runtime_version, 1, type: :string, json_name: "runtimeVersion", deprecated: false
67+
end
68+
5569
defmodule Google.Cloud.Functions.V1.CloudFunction.LabelsEntry do
5670
@moduledoc false
5771

@@ -88,6 +102,8 @@ defmodule Google.Cloud.Functions.V1.CloudFunction do
88102

89103
oneof :trigger, 1
90104

105+
oneof :runtime_update_policy, 2
106+
91107
field :name, 1, type: :string
92108
field :description, 2, type: :string
93109
field :source_archive_url, 3, type: :string, json_name: "sourceArchiveUrl", oneof: 0
@@ -144,7 +160,7 @@ defmodule Google.Cloud.Functions.V1.CloudFunction do
144160
json_name: "buildEnvironmentVariables",
145161
map: true
146162

147-
field :network, 18, type: :string
163+
field :network, 18, type: :string, deprecated: true
148164
field :max_instances, 20, type: :int32, json_name: "maxInstances"
149165
field :min_instances, 32, type: :int32, json_name: "minInstances"
150166
field :vpc_connector, 22, type: :string, json_name: "vpcConnector"
@@ -181,6 +197,16 @@ defmodule Google.Cloud.Functions.V1.CloudFunction do
181197
type: Google.Cloud.Functions.V1.CloudFunction.DockerRegistry,
182198
json_name: "dockerRegistry",
183199
enum: true
200+
201+
field :automatic_update_policy, 40,
202+
type: Google.Cloud.Functions.V1.CloudFunction.AutomaticUpdatePolicy,
203+
json_name: "automaticUpdatePolicy",
204+
oneof: 2
205+
206+
field :on_deploy_update_policy, 41,
207+
type: Google.Cloud.Functions.V1.CloudFunction.OnDeployUpdatePolicy,
208+
json_name: "onDeployUpdatePolicy",
209+
oneof: 2
184210
end
185211

186212
defmodule Google.Cloud.Functions.V1.SourceRepository do
@@ -290,6 +316,7 @@ defmodule Google.Cloud.Functions.V1.GetFunctionRequest do
290316
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
291317

292318
field :name, 1, type: :string, deprecated: false
319+
field :version_id, 2, type: :int64, json_name: "versionId", deprecated: false
293320
end
294321

295322
defmodule Google.Cloud.Functions.V1.ListFunctionsRequest do

lib/google/pubsub/v1/pubsub.pb.ex

+60
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
defmodule Google.Pubsub.V1.IngestionDataSourceSettings.AwsKinesis.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 :ACTIVE, 1
8+
field :KINESIS_PERMISSION_DENIED, 2
9+
field :PUBLISH_PERMISSION_DENIED, 3
10+
field :STREAM_NOT_FOUND, 4
11+
field :CONSUMER_NOT_FOUND, 5
12+
end
13+
14+
defmodule Google.Pubsub.V1.Topic.State do
15+
@moduledoc false
16+
17+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
18+
19+
field :STATE_UNSPECIFIED, 0
20+
field :ACTIVE, 1
21+
field :INGESTION_RESOURCE_ERROR, 2
22+
end
23+
124
defmodule Google.Pubsub.V1.Subscription.State do
225
@moduledoc false
326

@@ -53,6 +76,36 @@ defmodule Google.Pubsub.V1.SchemaSettings do
5376
field :last_revision_id, 4, type: :string, json_name: "lastRevisionId"
5477
end
5578

79+
defmodule Google.Pubsub.V1.IngestionDataSourceSettings.AwsKinesis do
80+
@moduledoc false
81+
82+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
83+
84+
field :state, 1,
85+
type: Google.Pubsub.V1.IngestionDataSourceSettings.AwsKinesis.State,
86+
enum: true,
87+
deprecated: false
88+
89+
field :stream_arn, 2, type: :string, json_name: "streamArn", deprecated: false
90+
field :consumer_arn, 3, type: :string, json_name: "consumerArn", deprecated: false
91+
field :aws_role_arn, 4, type: :string, json_name: "awsRoleArn", deprecated: false
92+
field :gcp_service_account, 5, type: :string, json_name: "gcpServiceAccount", deprecated: false
93+
end
94+
95+
defmodule Google.Pubsub.V1.IngestionDataSourceSettings do
96+
@moduledoc false
97+
98+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
99+
100+
oneof :source, 0
101+
102+
field :aws_kinesis, 1,
103+
type: Google.Pubsub.V1.IngestionDataSourceSettings.AwsKinesis,
104+
json_name: "awsKinesis",
105+
oneof: 0,
106+
deprecated: false
107+
end
108+
56109
defmodule Google.Pubsub.V1.Topic.LabelsEntry do
57110
@moduledoc false
58111

@@ -81,6 +134,13 @@ defmodule Google.Pubsub.V1.Topic do
81134
field :message_retention_duration, 8,
82135
type: Google.Protobuf.Duration,
83136
json_name: "messageRetentionDuration"
137+
138+
field :state, 9, type: Google.Pubsub.V1.Topic.State, enum: true, deprecated: false
139+
140+
field :ingestion_data_source_settings, 10,
141+
type: Google.Pubsub.V1.IngestionDataSourceSettings,
142+
json_name: "ingestionDataSourceSettings",
143+
deprecated: false
84144
end
85145

86146
defmodule Google.Pubsub.V1.PubsubMessage.AttributesEntry do

0 commit comments

Comments
 (0)