Skip to content

Commit 45d1c69

Browse files
AUTO GENERATED ELIXIR GOOGLEAPIS PROTOBUF (#720)
Co-authored-by: Hany Rock <rudebono@gmail.com>
1 parent d83667c commit 45d1c69

9 files changed

+271
-111
lines changed

lib/google/api/pb_extension.pb.ex

+6-10
Original file line numberDiff line numberDiff line change
@@ -2,17 +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.FieldOptions, :resource_reference, 1055,
5+
extend Google.Protobuf.FieldOptions, :field_policy, 158_361_448,
66
optional: true,
7-
type: Google.Api.ResourceReference,
8-
json_name: "resourceReference"
7+
type: Google.Api.FieldPolicy,
8+
json_name: "fieldPolicy"
99

10-
extend Google.Protobuf.FileOptions, :resource_definition, 1053,
11-
repeated: true,
12-
type: Google.Api.ResourceDescriptor,
13-
json_name: "resourceDefinition"
14-
15-
extend Google.Protobuf.MessageOptions, :resource, 1053,
10+
extend Google.Protobuf.MethodOptions, :method_policy, 161_893_301,
1611
optional: true,
17-
type: Google.Api.ResourceDescriptor
12+
type: Google.Api.MethodPolicy,
13+
json_name: "methodPolicy"
1814
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
defmodule Google.Cloud.Integrations.V1alpha.CloudLoggingDetails.CloudLoggingSeverity do
2+
@moduledoc false
3+
4+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
5+
6+
field :CLOUD_LOGGING_SEVERITY_UNSPECIFIED, 0
7+
field :INFO, 2
8+
field :ERROR, 3
9+
field :WARNING, 4
10+
end
11+
12+
defmodule Google.Cloud.Integrations.V1alpha.CloudLoggingDetails do
13+
@moduledoc false
14+
15+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
16+
17+
field :cloud_logging_severity, 1,
18+
proto3_optional: true,
19+
type: Google.Cloud.Integrations.V1alpha.CloudLoggingDetails.CloudLoggingSeverity,
20+
json_name: "cloudLoggingSeverity",
21+
enum: true,
22+
deprecated: false
23+
24+
field :enable_cloud_logging, 2,
25+
proto3_optional: true,
26+
type: :bool,
27+
json_name: "enableCloudLogging",
28+
deprecated: false
29+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
defmodule Google.Cloud.Integrations.V1alpha.Coordinate do
2+
@moduledoc false
3+
4+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
5+
6+
field :x, 1, type: :int32, deprecated: false
7+
field :y, 2, type: :int32, deprecated: false
8+
end

lib/google/cloud/integrations/v1alpha/event_parameter.pb.ex

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ defmodule Google.Cloud.Integrations.V1alpha.EventParameter do
55

66
field :key, 1, type: :string
77
field :value, 2, type: Google.Cloud.Integrations.V1alpha.ValueType
8+
field :masked, 3, type: :bool
89
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
defmodule Google.Cloud.Integrations.V1alpha.IntegrationState do
2+
@moduledoc false
3+
4+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
5+
6+
field :INTEGRATION_STATE_UNSPECIFIED, 0
7+
field :DRAFT, 1
8+
field :ACTIVE, 2
9+
field :ARCHIVED, 3
10+
field :SNAPSHOT, 4
11+
end

lib/google/cloud/integrations/v1alpha/log_entries.pb.ex

+80-51
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
1-
defmodule Google.Cloud.Integrations.V1alpha.ExecutionInfo.PostMethod do
1+
defmodule Google.Cloud.Integrations.V1alpha.ExecutionType do
22
@moduledoc false
33

44
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
55

6-
field :POST_METHOD_UNSPECIFIED, 0
6+
field :EXECUTION_TYPE_UNSPECIFIED, 0
7+
field :INTEGRATION_VERSION, 1
8+
field :TEST_CASE, 2
9+
end
10+
11+
defmodule Google.Cloud.Integrations.V1alpha.ExecutionInfo.ExecutionMethod do
12+
@moduledoc false
13+
14+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
15+
16+
field :EXECUTION_METHOD_UNSPECIFIED, 0
717
field :POST, 1
818
field :SCHEDULE, 2
19+
field :POST_TO_QUEUE, 3
920
end
1021

11-
defmodule Google.Cloud.Integrations.V1alpha.EventExecutionDetails.EventExecutionState do
22+
defmodule Google.Cloud.Integrations.V1alpha.IntegrationExecutionDetails.IntegrationExecutionState do
1223
@moduledoc false
1324

1425
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
1526

16-
field :EVENT_EXECUTION_STATE_UNSPECIFIED, 0
27+
field :INTEGRATION_EXECUTION_STATE_UNSPECIFIED, 0
1728
field :ON_HOLD, 1
1829
field :IN_PROCESS, 2
1930
field :SUCCEEDED, 3
@@ -66,9 +77,7 @@ defmodule Google.Cloud.Integrations.V1alpha.ExecutionInfo do
6677

6778
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
6879

69-
field :event_execution_info_id, 1, type: :string, json_name: "eventExecutionInfoId"
7080
field :integration, 2, type: :string
71-
field :integration_version, 3, type: :string, json_name: "integrationVersion"
7281
field :project_id, 4, type: :string, json_name: "projectId"
7382
field :trigger_id, 5, type: :string, json_name: "triggerId"
7483

@@ -84,70 +93,95 @@ defmodule Google.Cloud.Integrations.V1alpha.ExecutionInfo do
8493
json_name: "responseParams",
8594
map: true
8695

87-
field :post_method, 8,
88-
type: Google.Cloud.Integrations.V1alpha.ExecutionInfo.PostMethod,
89-
json_name: "postMethod",
90-
enum: true
91-
92-
field :event_execution_details, 9,
93-
type: Google.Cloud.Integrations.V1alpha.EventExecutionDetails,
94-
json_name: "eventExecutionDetails"
95-
9696
field :errors, 10, repeated: true, type: Google.Cloud.Integrations.V1alpha.ErrorDetail
97-
field :product, 11, type: Google.Cloud.Integrations.V1alpha.Product, enum: true
98-
field :request_id, 12, type: :string, json_name: "requestId"
9997

10098
field :task_configs, 13,
10199
repeated: true,
102100
type: Google.Cloud.Integrations.V1alpha.TaskConfig,
103101
json_name: "taskConfigs"
102+
103+
field :integration_version_number, 14, type: :string, json_name: "integrationVersionNumber"
104+
field :execution_id, 15, type: :string, json_name: "executionId"
105+
106+
field :integration_version_state, 16,
107+
type: Google.Cloud.Integrations.V1alpha.IntegrationState,
108+
json_name: "integrationVersionState",
109+
enum: true,
110+
deprecated: false
111+
112+
field :enable_database_persistence, 17, type: :bool, json_name: "enableDatabasePersistence"
113+
114+
field :cloud_logging_details, 18,
115+
type: Google.Cloud.Integrations.V1alpha.CloudLoggingDetails,
116+
json_name: "cloudLoggingDetails"
117+
118+
field :integration_execution_details, 19,
119+
type: Google.Cloud.Integrations.V1alpha.IntegrationExecutionDetails,
120+
json_name: "integrationExecutionDetails"
121+
122+
field :execution_type, 20,
123+
type: Google.Cloud.Integrations.V1alpha.ExecutionType,
124+
json_name: "executionType",
125+
enum: true
126+
127+
field :execution_method, 21,
128+
type: Google.Cloud.Integrations.V1alpha.ExecutionInfo.ExecutionMethod,
129+
json_name: "executionMethod",
130+
enum: true
131+
132+
field :integration_snapshot_number, 22, type: :int64, json_name: "integrationSnapshotNumber"
104133
end
105134

106-
defmodule Google.Cloud.Integrations.V1alpha.EventExecutionDetails do
135+
defmodule Google.Cloud.Integrations.V1alpha.IntegrationExecutionDetails do
107136
@moduledoc false
108137

109138
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
110139

111-
field :event_execution_state, 1,
112-
type: Google.Cloud.Integrations.V1alpha.EventExecutionDetails.EventExecutionState,
113-
json_name: "eventExecutionState",
114-
enum: true
140+
field :integration_execution_state, 1,
141+
type: Google.Cloud.Integrations.V1alpha.IntegrationExecutionDetails.IntegrationExecutionState,
142+
json_name: "integrationExecutionState",
143+
enum: true,
144+
deprecated: false
115145

116-
field :event_execution_snapshot, 2,
146+
field :integration_execution_snapshot, 2,
117147
repeated: true,
118-
type: Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot,
119-
json_name: "eventExecutionSnapshot"
148+
type: Google.Cloud.Integrations.V1alpha.IntegrationExecutionSnapshot,
149+
json_name: "integrationExecutionSnapshot"
120150

121-
field :event_attempt_stats, 3,
151+
field :execution_attempt_stats, 3,
122152
repeated: true,
123153
type: Google.Cloud.Integrations.V1alpha.AttemptStats,
124-
json_name: "eventAttemptStats"
154+
json_name: "executionAttemptStats"
125155

126156
field :next_execution_time, 4, type: Google.Protobuf.Timestamp, json_name: "nextExecutionTime"
127-
field :event_retries_count, 5, type: :int32, json_name: "eventRetriesCount"
157+
field :execution_retries_count, 5, type: :int32, json_name: "executionRetriesCount"
128158
end
129159

130-
defmodule Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot.EventExecutionSnapshotMetadata do
160+
defmodule Google.Cloud.Integrations.V1alpha.IntegrationExecutionSnapshot.IntegrationExecutionSnapshotMetadata do
131161
@moduledoc false
132162

133163
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
134164

135165
field :task_number, 1, type: :string, json_name: "taskNumber"
136166
field :task, 2, type: :string
137-
field :event_attempt_num, 3, type: :int32, json_name: "eventAttemptNum"
138-
field :task_attempt_num, 4, type: :int32, json_name: "taskAttemptNum"
139-
end
140167

141-
defmodule Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot.EventParamsEntry do
142-
@moduledoc false
168+
field :integration_execution_attempt_num, 3,
169+
type: :int32,
170+
json_name: "integrationExecutionAttemptNum"
143171

144-
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
172+
field :task_attempt_num, 4, type: :int32, json_name: "taskAttemptNum"
173+
field :task_label, 5, type: :string, json_name: "taskLabel"
174+
field :ancestor_task_numbers, 6, repeated: true, type: :string, json_name: "ancestorTaskNumbers"
145175

146-
field :key, 1, type: :string
147-
field :value, 2, type: Google.Cloud.Integrations.V1alpha.EventParameter
176+
field :ancestor_iteration_numbers, 7,
177+
repeated: true,
178+
type: :string,
179+
json_name: "ancestorIterationNumbers"
180+
181+
field :integration, 8, type: :string
148182
end
149183

150-
defmodule Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot.DiffParamsEntry do
184+
defmodule Google.Cloud.Integrations.V1alpha.IntegrationExecutionSnapshot.ExecutionParamsEntry do
151185
@moduledoc false
152186

153187
use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
@@ -156,17 +190,18 @@ defmodule Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot.DiffParamsEnt
156190
field :value, 2, type: Google.Cloud.Integrations.V1alpha.EventParameter
157191
end
158192

159-
defmodule Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot do
193+
defmodule Google.Cloud.Integrations.V1alpha.IntegrationExecutionSnapshot do
160194
@moduledoc false
161195

162196
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
163197

164198
field :checkpoint_task_number, 1, type: :string, json_name: "checkpointTaskNumber"
165199
field :snapshot_time, 2, type: Google.Protobuf.Timestamp, json_name: "snapshotTime"
166200

167-
field :event_execution_snapshot_metadata, 3,
168-
type: Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot.EventExecutionSnapshotMetadata,
169-
json_name: "eventExecutionSnapshotMetadata"
201+
field :integration_execution_snapshot_metadata, 3,
202+
type:
203+
Google.Cloud.Integrations.V1alpha.IntegrationExecutionSnapshot.IntegrationExecutionSnapshotMetadata,
204+
json_name: "integrationExecutionSnapshotMetadata"
170205

171206
field :task_execution_details, 4,
172207
repeated: true,
@@ -178,16 +213,10 @@ defmodule Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot do
178213
type: Google.Cloud.Integrations.V1alpha.ConditionResult,
179214
json_name: "conditionResults"
180215

181-
field :event_params, 6,
182-
repeated: true,
183-
type: Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot.EventParamsEntry,
184-
json_name: "eventParams",
185-
map: true
186-
187-
field :diff_params, 7,
216+
field :execution_params, 6,
188217
repeated: true,
189-
type: Google.Cloud.Integrations.V1alpha.EventExecutionSnapshot.DiffParamsEntry,
190-
json_name: "diffParams",
218+
type: Google.Cloud.Integrations.V1alpha.IntegrationExecutionSnapshot.ExecutionParamsEntry,
219+
json_name: "executionParams",
191220
map: true
192221
end
193222

lib/google/cloud/integrations/v1alpha/task_config.pb.ex

+23
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ defmodule Google.Cloud.Integrations.V1alpha.TaskConfig.TaskExecutionStrategy do
1919
field :WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED, 3
2020
end
2121

22+
defmodule Google.Cloud.Integrations.V1alpha.TaskConfig.ExternalTaskType do
23+
@moduledoc false
24+
25+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
26+
27+
field :EXTERNAL_TASK_TYPE_UNSPECIFIED, 0
28+
field :NORMAL_TASK, 1
29+
field :ERROR_TASK, 2
30+
end
31+
2232
defmodule Google.Cloud.Integrations.V1alpha.SuccessPolicy.FinalState do
2333
@moduledoc false
2434

@@ -107,6 +117,18 @@ defmodule Google.Cloud.Integrations.V1alpha.TaskConfig do
107117
json_name: "jsonValidationOption",
108118
enum: true,
109119
deprecated: false
120+
121+
field :description, 12, type: :string, deprecated: false
122+
field :task_template, 13, type: :string, json_name: "taskTemplate", deprecated: false
123+
field :error_catcher_id, 17, type: :string, json_name: "errorCatcherId", deprecated: false
124+
125+
field :external_task_type, 15,
126+
type: Google.Cloud.Integrations.V1alpha.TaskConfig.ExternalTaskType,
127+
json_name: "externalTaskType",
128+
enum: true,
129+
deprecated: false
130+
131+
field :position, 16, type: Google.Cloud.Integrations.V1alpha.Coordinate, deprecated: false
110132
end
111133

112134
defmodule Google.Cloud.Integrations.V1alpha.SuccessPolicy do
@@ -143,4 +165,5 @@ defmodule Google.Cloud.Integrations.V1alpha.NextTask do
143165
field :task_id, 2, type: :string, json_name: "taskId"
144166
field :condition, 3, type: :string
145167
field :display_name, 4, type: :string, json_name: "displayName"
168+
field :description, 5, type: :string
146169
end

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

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ defmodule Google.Cloud.Telcoautomation.V1.Status do
4040
field :STATUS_DELETING, 4
4141
field :STATUS_DELETED, 5
4242
field :STATUS_PEERING, 10
43+
field :STATUS_NOT_APPLICABLE, 11
4344
end
4445

4546
defmodule Google.Cloud.Telcoautomation.V1.DeploymentLevel do
@@ -51,6 +52,7 @@ defmodule Google.Cloud.Telcoautomation.V1.DeploymentLevel do
5152
field :HYDRATION, 1
5253
field :SINGLE_DEPLOYMENT, 2
5354
field :MULTI_DEPLOYMENT, 3
55+
field :WORKLOAD_CLUSTER_DEPLOYMENT, 4
5456
end
5557

5658
defmodule Google.Cloud.Telcoautomation.V1.OrchestrationCluster.State do

0 commit comments

Comments
 (0)