google-events 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4327495b441913616af901af32498c216269f3dda256061a77303e77491a2d32
4
- data.tar.gz: 3721a0656aeaba4ab7fbcad90e96342a94dffdf51f1222f906538d6e52c179ff
3
+ metadata.gz: bac7c2d7103d9ef4c9fe0d173890934b85009134feeaec033fd21cfc1ce3efd3
4
+ data.tar.gz: 609ab72551ccaf5da8edfb3ad6d386566a51db65498c834bfc5a8056af79886b
5
5
  SHA512:
6
- metadata.gz: 4a0aac9128919475323122ea4388327eab795e578cb6180b65a056f7dc1c75eb25b0ef6c109756e630c6703a7e23e1a2fcb03ab17ef19c6c5bcd6f03fb238faf
7
- data.tar.gz: b0dd21615e6fb29fa5b186ff0eb48182995fe6e3c8ce370d187beecfc933350fe641a475b17402209d7c24f28f135203e88a59624595cc0fd7a04595f48f7411
6
+ metadata.gz: ecfa8d0fc3541c54bbf4b418cf5f71d73b9047bd54493f849564631aa261f276f3eb1b512fef1721d4971316f22f15673058ace66dec9cd1b471b8b6ba75c927
7
+ data.tar.gz: d459ff0d5b92c9c17695c09a48fa7de4d88ff9c1331c7003c5cd46c94b8558bd7f6d110443ca1b013c0ee3cdb0900e255387c2ade33a184256812b0bf2241204
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.2.0 (2023-05-22)
4
+
5
+ #### Features
6
+
7
+ * Added events for dataplex/v1 and gkebackup/v1
8
+
3
9
  ### 0.1.0 (2023-05-08)
4
10
 
5
11
  * Initial release with generated proto classes
@@ -0,0 +1,721 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/dataplex/v1/data.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/duration_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/events/cloud/dataplex/v1/data.proto", :syntax => :proto3) do
11
+ add_message "google.events.cloud.dataplex.v1.Lake" do
12
+ optional :name, :string, 1
13
+ optional :display_name, :string, 2
14
+ optional :uid, :string, 3
15
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
16
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
17
+ map :labels, :string, :string, 6
18
+ optional :description, :string, 7
19
+ optional :state, :enum, 8, "google.events.cloud.dataplex.v1.State"
20
+ optional :service_account, :string, 9
21
+ optional :metastore, :message, 102, "google.events.cloud.dataplex.v1.Lake.Metastore"
22
+ optional :asset_status, :message, 103, "google.events.cloud.dataplex.v1.AssetStatus"
23
+ optional :metastore_status, :message, 104, "google.events.cloud.dataplex.v1.Lake.MetastoreStatus"
24
+ end
25
+ add_message "google.events.cloud.dataplex.v1.Lake.Metastore" do
26
+ optional :service, :string, 1
27
+ end
28
+ add_message "google.events.cloud.dataplex.v1.Lake.MetastoreStatus" do
29
+ optional :state, :enum, 1, "google.events.cloud.dataplex.v1.Lake.MetastoreStatus.State"
30
+ optional :message, :string, 2
31
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
32
+ optional :endpoint, :string, 4
33
+ end
34
+ add_enum "google.events.cloud.dataplex.v1.Lake.MetastoreStatus.State" do
35
+ value :STATE_UNSPECIFIED, 0
36
+ value :NONE, 1
37
+ value :READY, 2
38
+ value :UPDATING, 3
39
+ value :ERROR, 4
40
+ end
41
+ add_message "google.events.cloud.dataplex.v1.AssetStatus" do
42
+ optional :update_time, :message, 1, "google.protobuf.Timestamp"
43
+ optional :active_assets, :int32, 2
44
+ optional :security_policy_applying_assets, :int32, 3
45
+ end
46
+ add_message "google.events.cloud.dataplex.v1.Zone" do
47
+ optional :name, :string, 1
48
+ optional :display_name, :string, 2
49
+ optional :uid, :string, 3
50
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
51
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
52
+ map :labels, :string, :string, 6
53
+ optional :description, :string, 7
54
+ optional :state, :enum, 8, "google.events.cloud.dataplex.v1.State"
55
+ optional :type, :enum, 9, "google.events.cloud.dataplex.v1.Zone.Type"
56
+ optional :discovery_spec, :message, 103, "google.events.cloud.dataplex.v1.Zone.DiscoverySpec"
57
+ optional :resource_spec, :message, 104, "google.events.cloud.dataplex.v1.Zone.ResourceSpec"
58
+ optional :asset_status, :message, 105, "google.events.cloud.dataplex.v1.AssetStatus"
59
+ end
60
+ add_message "google.events.cloud.dataplex.v1.Zone.ResourceSpec" do
61
+ optional :location_type, :enum, 1, "google.events.cloud.dataplex.v1.Zone.ResourceSpec.LocationType"
62
+ end
63
+ add_enum "google.events.cloud.dataplex.v1.Zone.ResourceSpec.LocationType" do
64
+ value :LOCATION_TYPE_UNSPECIFIED, 0
65
+ value :SINGLE_REGION, 1
66
+ value :MULTI_REGION, 2
67
+ end
68
+ add_message "google.events.cloud.dataplex.v1.Zone.DiscoverySpec" do
69
+ optional :enabled, :bool, 1
70
+ repeated :include_patterns, :string, 2
71
+ repeated :exclude_patterns, :string, 3
72
+ optional :csv_options, :message, 4, "google.events.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions"
73
+ optional :json_options, :message, 5, "google.events.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions"
74
+ oneof :trigger do
75
+ optional :schedule, :string, 10
76
+ end
77
+ end
78
+ add_message "google.events.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions" do
79
+ optional :header_rows, :int32, 1
80
+ optional :delimiter, :string, 2
81
+ optional :encoding, :string, 3
82
+ optional :disable_type_inference, :bool, 4
83
+ end
84
+ add_message "google.events.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions" do
85
+ optional :encoding, :string, 1
86
+ optional :disable_type_inference, :bool, 2
87
+ end
88
+ add_enum "google.events.cloud.dataplex.v1.Zone.Type" do
89
+ value :TYPE_UNSPECIFIED, 0
90
+ value :RAW, 1
91
+ value :CURATED, 2
92
+ end
93
+ add_message "google.events.cloud.dataplex.v1.Asset" do
94
+ optional :name, :string, 1
95
+ optional :display_name, :string, 2
96
+ optional :uid, :string, 3
97
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
98
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
99
+ map :labels, :string, :string, 6
100
+ optional :description, :string, 7
101
+ optional :state, :enum, 8, "google.events.cloud.dataplex.v1.State"
102
+ optional :resource_spec, :message, 100, "google.events.cloud.dataplex.v1.Asset.ResourceSpec"
103
+ optional :resource_status, :message, 101, "google.events.cloud.dataplex.v1.Asset.ResourceStatus"
104
+ optional :security_status, :message, 103, "google.events.cloud.dataplex.v1.Asset.SecurityStatus"
105
+ optional :discovery_spec, :message, 106, "google.events.cloud.dataplex.v1.Asset.DiscoverySpec"
106
+ optional :discovery_status, :message, 107, "google.events.cloud.dataplex.v1.Asset.DiscoveryStatus"
107
+ end
108
+ add_message "google.events.cloud.dataplex.v1.Asset.SecurityStatus" do
109
+ optional :state, :enum, 1, "google.events.cloud.dataplex.v1.Asset.SecurityStatus.State"
110
+ optional :message, :string, 2
111
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
112
+ end
113
+ add_enum "google.events.cloud.dataplex.v1.Asset.SecurityStatus.State" do
114
+ value :STATE_UNSPECIFIED, 0
115
+ value :READY, 1
116
+ value :APPLYING, 2
117
+ value :ERROR, 3
118
+ end
119
+ add_message "google.events.cloud.dataplex.v1.Asset.DiscoverySpec" do
120
+ optional :enabled, :bool, 1
121
+ repeated :include_patterns, :string, 2
122
+ repeated :exclude_patterns, :string, 3
123
+ optional :csv_options, :message, 4, "google.events.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions"
124
+ optional :json_options, :message, 5, "google.events.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions"
125
+ oneof :trigger do
126
+ optional :schedule, :string, 10
127
+ end
128
+ end
129
+ add_message "google.events.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions" do
130
+ optional :header_rows, :int32, 1
131
+ optional :delimiter, :string, 2
132
+ optional :encoding, :string, 3
133
+ optional :disable_type_inference, :bool, 4
134
+ end
135
+ add_message "google.events.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions" do
136
+ optional :encoding, :string, 1
137
+ optional :disable_type_inference, :bool, 2
138
+ end
139
+ add_message "google.events.cloud.dataplex.v1.Asset.ResourceSpec" do
140
+ optional :name, :string, 1
141
+ optional :type, :enum, 2, "google.events.cloud.dataplex.v1.Asset.ResourceSpec.Type"
142
+ optional :read_access_mode, :enum, 5, "google.events.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode"
143
+ end
144
+ add_enum "google.events.cloud.dataplex.v1.Asset.ResourceSpec.Type" do
145
+ value :TYPE_UNSPECIFIED, 0
146
+ value :STORAGE_BUCKET, 1
147
+ value :BIGQUERY_DATASET, 2
148
+ end
149
+ add_enum "google.events.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode" do
150
+ value :ACCESS_MODE_UNSPECIFIED, 0
151
+ value :DIRECT, 1
152
+ value :MANAGED, 2
153
+ end
154
+ add_message "google.events.cloud.dataplex.v1.Asset.ResourceStatus" do
155
+ optional :state, :enum, 1, "google.events.cloud.dataplex.v1.Asset.ResourceStatus.State"
156
+ optional :message, :string, 2
157
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
158
+ optional :managed_access_identity, :string, 4
159
+ end
160
+ add_enum "google.events.cloud.dataplex.v1.Asset.ResourceStatus.State" do
161
+ value :STATE_UNSPECIFIED, 0
162
+ value :READY, 1
163
+ value :ERROR, 2
164
+ end
165
+ add_message "google.events.cloud.dataplex.v1.Asset.DiscoveryStatus" do
166
+ optional :state, :enum, 1, "google.events.cloud.dataplex.v1.Asset.DiscoveryStatus.State"
167
+ optional :message, :string, 2
168
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
169
+ optional :last_run_time, :message, 4, "google.protobuf.Timestamp"
170
+ optional :stats, :message, 6, "google.events.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats"
171
+ optional :last_run_duration, :message, 7, "google.protobuf.Duration"
172
+ end
173
+ add_message "google.events.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats" do
174
+ optional :data_items, :int64, 1
175
+ optional :data_size, :int64, 2
176
+ optional :tables, :int64, 3
177
+ optional :filesets, :int64, 4
178
+ end
179
+ add_enum "google.events.cloud.dataplex.v1.Asset.DiscoveryStatus.State" do
180
+ value :STATE_UNSPECIFIED, 0
181
+ value :SCHEDULED, 1
182
+ value :IN_PROGRESS, 2
183
+ value :PAUSED, 3
184
+ value :DISABLED, 5
185
+ end
186
+ add_message "google.events.cloud.dataplex.v1.Environment" do
187
+ optional :name, :string, 1
188
+ optional :display_name, :string, 2
189
+ optional :uid, :string, 3
190
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
191
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
192
+ map :labels, :string, :string, 6
193
+ optional :description, :string, 7
194
+ optional :state, :enum, 8, "google.events.cloud.dataplex.v1.State"
195
+ optional :infrastructure_spec, :message, 100, "google.events.cloud.dataplex.v1.Environment.InfrastructureSpec"
196
+ optional :session_spec, :message, 101, "google.events.cloud.dataplex.v1.Environment.SessionSpec"
197
+ optional :session_status, :message, 102, "google.events.cloud.dataplex.v1.Environment.SessionStatus"
198
+ optional :endpoints, :message, 200, "google.events.cloud.dataplex.v1.Environment.Endpoints"
199
+ end
200
+ add_message "google.events.cloud.dataplex.v1.Environment.InfrastructureSpec" do
201
+ oneof :resources do
202
+ optional :compute, :message, 50, "google.events.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources"
203
+ end
204
+ oneof :runtime do
205
+ optional :os_image, :message, 100, "google.events.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime"
206
+ end
207
+ end
208
+ add_message "google.events.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources" do
209
+ optional :disk_size_gb, :int32, 1
210
+ optional :node_count, :int32, 2
211
+ optional :max_node_count, :int32, 3
212
+ end
213
+ add_message "google.events.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime" do
214
+ optional :image_version, :string, 1
215
+ repeated :java_libraries, :string, 2
216
+ repeated :python_packages, :string, 3
217
+ map :properties, :string, :string, 4
218
+ end
219
+ add_message "google.events.cloud.dataplex.v1.Environment.SessionSpec" do
220
+ optional :max_idle_duration, :message, 1, "google.protobuf.Duration"
221
+ optional :enable_fast_startup, :bool, 2
222
+ end
223
+ add_message "google.events.cloud.dataplex.v1.Environment.SessionStatus" do
224
+ optional :active, :bool, 1
225
+ end
226
+ add_message "google.events.cloud.dataplex.v1.Environment.Endpoints" do
227
+ optional :notebooks, :string, 1
228
+ optional :sql, :string, 2
229
+ end
230
+ add_message "google.events.cloud.dataplex.v1.Trigger" do
231
+ oneof :mode do
232
+ optional :on_demand, :message, 100, "google.events.cloud.dataplex.v1.Trigger.OnDemand"
233
+ optional :schedule, :message, 101, "google.events.cloud.dataplex.v1.Trigger.Schedule"
234
+ end
235
+ end
236
+ add_message "google.events.cloud.dataplex.v1.Trigger.OnDemand" do
237
+ end
238
+ add_message "google.events.cloud.dataplex.v1.Trigger.Schedule" do
239
+ optional :cron, :string, 1
240
+ end
241
+ add_message "google.events.cloud.dataplex.v1.DataSource" do
242
+ oneof :source do
243
+ optional :entity, :string, 100
244
+ end
245
+ end
246
+ add_message "google.events.cloud.dataplex.v1.ScannedData" do
247
+ oneof :data_range do
248
+ optional :incremental_field, :message, 1, "google.events.cloud.dataplex.v1.ScannedData.IncrementalField"
249
+ end
250
+ end
251
+ add_message "google.events.cloud.dataplex.v1.ScannedData.IncrementalField" do
252
+ optional :field, :string, 1
253
+ optional :start, :string, 2
254
+ optional :end, :string, 3
255
+ end
256
+ add_message "google.events.cloud.dataplex.v1.DataProfileSpec" do
257
+ end
258
+ add_message "google.events.cloud.dataplex.v1.DataProfileResult" do
259
+ optional :row_count, :int64, 3
260
+ optional :profile, :message, 4, "google.events.cloud.dataplex.v1.DataProfileResult.Profile"
261
+ optional :scanned_data, :message, 5, "google.events.cloud.dataplex.v1.ScannedData"
262
+ end
263
+ add_message "google.events.cloud.dataplex.v1.DataProfileResult.Profile" do
264
+ repeated :fields, :message, 2, "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field"
265
+ end
266
+ add_message "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field" do
267
+ optional :name, :string, 1
268
+ optional :type, :string, 2
269
+ optional :mode, :string, 3
270
+ optional :profile, :message, 4, "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo"
271
+ end
272
+ add_message "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo" do
273
+ optional :null_ratio, :double, 2
274
+ optional :distinct_ratio, :double, 3
275
+ repeated :top_n_values, :message, 4, "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue"
276
+ oneof :field_info do
277
+ optional :string_profile, :message, 101, "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo"
278
+ optional :integer_profile, :message, 102, "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo"
279
+ optional :double_profile, :message, 103, "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo"
280
+ end
281
+ end
282
+ add_message "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo" do
283
+ optional :min_length, :int64, 1
284
+ optional :max_length, :int64, 2
285
+ optional :average_length, :double, 3
286
+ end
287
+ add_message "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo" do
288
+ optional :average, :double, 1
289
+ optional :standard_deviation, :double, 3
290
+ optional :min, :int64, 4
291
+ repeated :quartiles, :int64, 6
292
+ optional :max, :int64, 5
293
+ end
294
+ add_message "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo" do
295
+ optional :average, :double, 1
296
+ optional :standard_deviation, :double, 3
297
+ optional :min, :double, 4
298
+ repeated :quartiles, :double, 6
299
+ optional :max, :double, 5
300
+ end
301
+ add_message "google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue" do
302
+ optional :value, :string, 1
303
+ optional :count, :int64, 2
304
+ end
305
+ add_message "google.events.cloud.dataplex.v1.DataQualitySpec" do
306
+ repeated :rules, :message, 1, "google.events.cloud.dataplex.v1.DataQualityRule"
307
+ end
308
+ add_message "google.events.cloud.dataplex.v1.DataQualityResult" do
309
+ optional :passed, :bool, 5
310
+ repeated :dimensions, :message, 2, "google.events.cloud.dataplex.v1.DataQualityDimensionResult"
311
+ repeated :rules, :message, 3, "google.events.cloud.dataplex.v1.DataQualityRuleResult"
312
+ optional :row_count, :int64, 4
313
+ optional :scanned_data, :message, 7, "google.events.cloud.dataplex.v1.ScannedData"
314
+ end
315
+ add_message "google.events.cloud.dataplex.v1.DataQualityRuleResult" do
316
+ optional :rule, :message, 1, "google.events.cloud.dataplex.v1.DataQualityRule"
317
+ optional :passed, :bool, 7
318
+ optional :evaluated_count, :int64, 9
319
+ optional :passed_count, :int64, 8
320
+ optional :null_count, :int64, 5
321
+ optional :pass_ratio, :double, 6
322
+ optional :failing_rows_query, :string, 10
323
+ end
324
+ add_message "google.events.cloud.dataplex.v1.DataQualityDimensionResult" do
325
+ optional :passed, :bool, 3
326
+ end
327
+ add_message "google.events.cloud.dataplex.v1.DataQualityRule" do
328
+ optional :column, :string, 500
329
+ optional :ignore_null, :bool, 501
330
+ optional :dimension, :string, 502
331
+ optional :threshold, :double, 503
332
+ oneof :rule_type do
333
+ optional :range_expectation, :message, 1, "google.events.cloud.dataplex.v1.DataQualityRule.RangeExpectation"
334
+ optional :non_null_expectation, :message, 2, "google.events.cloud.dataplex.v1.DataQualityRule.NonNullExpectation"
335
+ optional :set_expectation, :message, 3, "google.events.cloud.dataplex.v1.DataQualityRule.SetExpectation"
336
+ optional :regex_expectation, :message, 4, "google.events.cloud.dataplex.v1.DataQualityRule.RegexExpectation"
337
+ optional :uniqueness_expectation, :message, 100, "google.events.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation"
338
+ optional :statistic_range_expectation, :message, 101, "google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation"
339
+ optional :row_condition_expectation, :message, 200, "google.events.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation"
340
+ optional :table_condition_expectation, :message, 201, "google.events.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation"
341
+ end
342
+ end
343
+ add_message "google.events.cloud.dataplex.v1.DataQualityRule.RangeExpectation" do
344
+ optional :min_value, :string, 1
345
+ optional :max_value, :string, 2
346
+ optional :strict_min_enabled, :bool, 3
347
+ optional :strict_max_enabled, :bool, 4
348
+ end
349
+ add_message "google.events.cloud.dataplex.v1.DataQualityRule.NonNullExpectation" do
350
+ end
351
+ add_message "google.events.cloud.dataplex.v1.DataQualityRule.SetExpectation" do
352
+ repeated :values, :string, 1
353
+ end
354
+ add_message "google.events.cloud.dataplex.v1.DataQualityRule.RegexExpectation" do
355
+ optional :regex, :string, 1
356
+ end
357
+ add_message "google.events.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation" do
358
+ end
359
+ add_message "google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation" do
360
+ optional :statistic, :enum, 1, "google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic"
361
+ optional :min_value, :string, 2
362
+ optional :max_value, :string, 3
363
+ optional :strict_min_enabled, :bool, 4
364
+ optional :strict_max_enabled, :bool, 5
365
+ end
366
+ add_enum "google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic" do
367
+ value :STATISTIC_UNDEFINED, 0
368
+ value :MEAN, 1
369
+ value :MIN, 2
370
+ value :MAX, 3
371
+ end
372
+ add_message "google.events.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation" do
373
+ optional :sql_expression, :string, 1
374
+ end
375
+ add_message "google.events.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation" do
376
+ optional :sql_expression, :string, 1
377
+ end
378
+ add_message "google.events.cloud.dataplex.v1.ResourceAccessSpec" do
379
+ repeated :readers, :string, 1
380
+ repeated :writers, :string, 2
381
+ repeated :owners, :string, 3
382
+ end
383
+ add_message "google.events.cloud.dataplex.v1.DataAccessSpec" do
384
+ repeated :readers, :string, 1
385
+ end
386
+ add_message "google.events.cloud.dataplex.v1.DataTaxonomy" do
387
+ optional :name, :string, 1
388
+ optional :uid, :string, 2
389
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
390
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
391
+ optional :description, :string, 5
392
+ optional :display_name, :string, 6
393
+ map :labels, :string, :string, 8
394
+ optional :attribute_count, :int32, 9
395
+ optional :etag, :string, 10
396
+ end
397
+ add_message "google.events.cloud.dataplex.v1.DataAttribute" do
398
+ optional :name, :string, 1
399
+ optional :uid, :string, 2
400
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
401
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
402
+ optional :description, :string, 5
403
+ optional :display_name, :string, 6
404
+ map :labels, :string, :string, 7
405
+ optional :parent_id, :string, 8
406
+ optional :attribute_count, :int32, 9
407
+ optional :etag, :string, 10
408
+ optional :resource_access_spec, :message, 100, "google.events.cloud.dataplex.v1.ResourceAccessSpec"
409
+ optional :data_access_spec, :message, 101, "google.events.cloud.dataplex.v1.DataAccessSpec"
410
+ end
411
+ add_message "google.events.cloud.dataplex.v1.DataAttributeBinding" do
412
+ optional :name, :string, 1
413
+ optional :uid, :string, 2
414
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
415
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
416
+ optional :description, :string, 5
417
+ optional :display_name, :string, 6
418
+ map :labels, :string, :string, 7
419
+ optional :etag, :string, 8
420
+ repeated :attributes, :string, 110
421
+ repeated :paths, :message, 120, "google.events.cloud.dataplex.v1.DataAttributeBinding.Path"
422
+ oneof :resource_reference do
423
+ optional :resource, :string, 100
424
+ end
425
+ end
426
+ add_message "google.events.cloud.dataplex.v1.DataAttributeBinding.Path" do
427
+ optional :name, :string, 1
428
+ repeated :attributes, :string, 2
429
+ end
430
+ add_message "google.events.cloud.dataplex.v1.DataScan" do
431
+ optional :name, :string, 1
432
+ optional :uid, :string, 2
433
+ optional :description, :string, 3
434
+ optional :display_name, :string, 4
435
+ map :labels, :string, :string, 5
436
+ optional :state, :enum, 6, "google.events.cloud.dataplex.v1.State"
437
+ optional :create_time, :message, 7, "google.protobuf.Timestamp"
438
+ optional :update_time, :message, 8, "google.protobuf.Timestamp"
439
+ optional :data, :message, 9, "google.events.cloud.dataplex.v1.DataSource"
440
+ optional :execution_spec, :message, 10, "google.events.cloud.dataplex.v1.DataScan.ExecutionSpec"
441
+ optional :execution_status, :message, 11, "google.events.cloud.dataplex.v1.DataScan.ExecutionStatus"
442
+ optional :type, :enum, 12, "google.events.cloud.dataplex.v1.DataScanType"
443
+ oneof :spec do
444
+ optional :data_quality_spec, :message, 100, "google.events.cloud.dataplex.v1.DataQualitySpec"
445
+ optional :data_profile_spec, :message, 101, "google.events.cloud.dataplex.v1.DataProfileSpec"
446
+ end
447
+ oneof :result do
448
+ optional :data_quality_result, :message, 200, "google.events.cloud.dataplex.v1.DataQualityResult"
449
+ optional :data_profile_result, :message, 201, "google.events.cloud.dataplex.v1.DataProfileResult"
450
+ end
451
+ end
452
+ add_message "google.events.cloud.dataplex.v1.DataScan.ExecutionSpec" do
453
+ optional :trigger, :message, 1, "google.events.cloud.dataplex.v1.Trigger"
454
+ oneof :incremental do
455
+ optional :field, :string, 100
456
+ end
457
+ end
458
+ add_message "google.events.cloud.dataplex.v1.DataScan.ExecutionStatus" do
459
+ optional :latest_job_start_time, :message, 4, "google.protobuf.Timestamp"
460
+ optional :latest_job_end_time, :message, 5, "google.protobuf.Timestamp"
461
+ end
462
+ add_message "google.events.cloud.dataplex.v1.Task" do
463
+ optional :name, :string, 1
464
+ optional :uid, :string, 2
465
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
466
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
467
+ optional :description, :string, 5
468
+ optional :display_name, :string, 6
469
+ optional :state, :enum, 7, "google.events.cloud.dataplex.v1.State"
470
+ map :labels, :string, :string, 8
471
+ optional :trigger_spec, :message, 100, "google.events.cloud.dataplex.v1.Task.TriggerSpec"
472
+ optional :execution_spec, :message, 101, "google.events.cloud.dataplex.v1.Task.ExecutionSpec"
473
+ optional :execution_status, :message, 201, "google.events.cloud.dataplex.v1.Task.ExecutionStatus"
474
+ oneof :config do
475
+ optional :spark, :message, 300, "google.events.cloud.dataplex.v1.Task.SparkTaskConfig"
476
+ optional :notebook, :message, 302, "google.events.cloud.dataplex.v1.Task.NotebookTaskConfig"
477
+ end
478
+ end
479
+ add_message "google.events.cloud.dataplex.v1.Task.InfrastructureSpec" do
480
+ oneof :resources do
481
+ optional :batch, :message, 52, "google.events.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources"
482
+ end
483
+ oneof :runtime do
484
+ optional :container_image, :message, 101, "google.events.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime"
485
+ end
486
+ oneof :network do
487
+ optional :vpc_network, :message, 150, "google.events.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork"
488
+ end
489
+ end
490
+ add_message "google.events.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources" do
491
+ optional :executors_count, :int32, 1
492
+ optional :max_executors_count, :int32, 2
493
+ end
494
+ add_message "google.events.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime" do
495
+ optional :image, :string, 1
496
+ repeated :java_jars, :string, 2
497
+ repeated :python_packages, :string, 3
498
+ map :properties, :string, :string, 4
499
+ end
500
+ add_message "google.events.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork" do
501
+ repeated :network_tags, :string, 3
502
+ oneof :network_name do
503
+ optional :network, :string, 1
504
+ optional :sub_network, :string, 2
505
+ end
506
+ end
507
+ add_message "google.events.cloud.dataplex.v1.Task.TriggerSpec" do
508
+ optional :type, :enum, 5, "google.events.cloud.dataplex.v1.Task.TriggerSpec.Type"
509
+ optional :start_time, :message, 6, "google.protobuf.Timestamp"
510
+ optional :disabled, :bool, 4
511
+ optional :max_retries, :int32, 7
512
+ oneof :trigger do
513
+ optional :schedule, :string, 100
514
+ end
515
+ end
516
+ add_enum "google.events.cloud.dataplex.v1.Task.TriggerSpec.Type" do
517
+ value :TYPE_UNSPECIFIED, 0
518
+ value :ON_DEMAND, 1
519
+ value :RECURRING, 2
520
+ end
521
+ add_message "google.events.cloud.dataplex.v1.Task.ExecutionSpec" do
522
+ map :args, :string, :string, 4
523
+ optional :service_account, :string, 5
524
+ optional :project, :string, 7
525
+ optional :max_job_execution_lifetime, :message, 8, "google.protobuf.Duration"
526
+ optional :kms_key, :string, 9
527
+ end
528
+ add_message "google.events.cloud.dataplex.v1.Task.SparkTaskConfig" do
529
+ repeated :file_uris, :string, 3
530
+ repeated :archive_uris, :string, 4
531
+ optional :infrastructure_spec, :message, 6, "google.events.cloud.dataplex.v1.Task.InfrastructureSpec"
532
+ oneof :driver do
533
+ optional :main_jar_file_uri, :string, 100
534
+ optional :main_class, :string, 101
535
+ optional :python_script_file, :string, 102
536
+ optional :sql_script_file, :string, 104
537
+ optional :sql_script, :string, 105
538
+ end
539
+ end
540
+ add_message "google.events.cloud.dataplex.v1.Task.NotebookTaskConfig" do
541
+ optional :notebook, :string, 4
542
+ optional :infrastructure_spec, :message, 3, "google.events.cloud.dataplex.v1.Task.InfrastructureSpec"
543
+ repeated :file_uris, :string, 5
544
+ repeated :archive_uris, :string, 6
545
+ end
546
+ add_message "google.events.cloud.dataplex.v1.Task.ExecutionStatus" do
547
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
548
+ optional :latest_job, :message, 9, "google.events.cloud.dataplex.v1.Job"
549
+ end
550
+ add_message "google.events.cloud.dataplex.v1.Job" do
551
+ optional :name, :string, 1
552
+ optional :uid, :string, 2
553
+ optional :start_time, :message, 3, "google.protobuf.Timestamp"
554
+ optional :end_time, :message, 4, "google.protobuf.Timestamp"
555
+ optional :state, :enum, 5, "google.events.cloud.dataplex.v1.Job.State"
556
+ optional :retry_count, :uint32, 6
557
+ optional :service, :enum, 7, "google.events.cloud.dataplex.v1.Job.Service"
558
+ optional :service_job, :string, 8
559
+ optional :message, :string, 9
560
+ end
561
+ add_enum "google.events.cloud.dataplex.v1.Job.Service" do
562
+ value :SERVICE_UNSPECIFIED, 0
563
+ value :DATAPROC, 1
564
+ end
565
+ add_enum "google.events.cloud.dataplex.v1.Job.State" do
566
+ value :STATE_UNSPECIFIED, 0
567
+ value :RUNNING, 1
568
+ value :CANCELLING, 2
569
+ value :CANCELLED, 3
570
+ value :SUCCEEDED, 4
571
+ value :FAILED, 5
572
+ value :ABORTED, 6
573
+ end
574
+ add_message "google.events.cloud.dataplex.v1.TaskEventData" do
575
+ proto3_optional :payload, :message, 1, "google.events.cloud.dataplex.v1.Task"
576
+ end
577
+ add_message "google.events.cloud.dataplex.v1.ZoneEventData" do
578
+ proto3_optional :payload, :message, 1, "google.events.cloud.dataplex.v1.Zone"
579
+ end
580
+ add_message "google.events.cloud.dataplex.v1.AssetEventData" do
581
+ proto3_optional :payload, :message, 1, "google.events.cloud.dataplex.v1.Asset"
582
+ end
583
+ add_message "google.events.cloud.dataplex.v1.EnvironmentEventData" do
584
+ proto3_optional :payload, :message, 1, "google.events.cloud.dataplex.v1.Environment"
585
+ end
586
+ add_message "google.events.cloud.dataplex.v1.DataTaxonomyEventData" do
587
+ proto3_optional :payload, :message, 1, "google.events.cloud.dataplex.v1.DataTaxonomy"
588
+ end
589
+ add_message "google.events.cloud.dataplex.v1.DataAttributeBindingEventData" do
590
+ proto3_optional :payload, :message, 1, "google.events.cloud.dataplex.v1.DataAttributeBinding"
591
+ end
592
+ add_message "google.events.cloud.dataplex.v1.DataScanEventData" do
593
+ proto3_optional :payload, :message, 1, "google.events.cloud.dataplex.v1.DataScan"
594
+ end
595
+ add_message "google.events.cloud.dataplex.v1.LakeEventData" do
596
+ proto3_optional :payload, :message, 1, "google.events.cloud.dataplex.v1.Lake"
597
+ end
598
+ add_message "google.events.cloud.dataplex.v1.DataAttributeEventData" do
599
+ proto3_optional :payload, :message, 1, "google.events.cloud.dataplex.v1.DataAttribute"
600
+ end
601
+ add_enum "google.events.cloud.dataplex.v1.State" do
602
+ value :STATE_UNSPECIFIED, 0
603
+ value :ACTIVE, 1
604
+ value :CREATING, 2
605
+ value :DELETING, 3
606
+ value :ACTION_REQUIRED, 4
607
+ end
608
+ add_enum "google.events.cloud.dataplex.v1.DataScanType" do
609
+ value :DATA_SCAN_TYPE_UNSPECIFIED, 0
610
+ value :DATA_QUALITY, 1
611
+ value :DATA_PROFILE, 2
612
+ end
613
+ end
614
+ end
615
+
616
+ module Google
617
+ module Events
618
+ module Cloud
619
+ module Dataplex
620
+ module V1
621
+ Lake = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Lake").msgclass
622
+ Lake::Metastore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Lake.Metastore").msgclass
623
+ Lake::MetastoreStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Lake.MetastoreStatus").msgclass
624
+ Lake::MetastoreStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Lake.MetastoreStatus.State").enummodule
625
+ AssetStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.AssetStatus").msgclass
626
+ Zone = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Zone").msgclass
627
+ Zone::ResourceSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Zone.ResourceSpec").msgclass
628
+ Zone::ResourceSpec::LocationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Zone.ResourceSpec.LocationType").enummodule
629
+ Zone::DiscoverySpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Zone.DiscoverySpec").msgclass
630
+ Zone::DiscoverySpec::CsvOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions").msgclass
631
+ Zone::DiscoverySpec::JsonOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions").msgclass
632
+ Zone::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Zone.Type").enummodule
633
+ Asset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset").msgclass
634
+ Asset::SecurityStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.SecurityStatus").msgclass
635
+ Asset::SecurityStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.SecurityStatus.State").enummodule
636
+ Asset::DiscoverySpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.DiscoverySpec").msgclass
637
+ Asset::DiscoverySpec::CsvOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions").msgclass
638
+ Asset::DiscoverySpec::JsonOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions").msgclass
639
+ Asset::ResourceSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.ResourceSpec").msgclass
640
+ Asset::ResourceSpec::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.ResourceSpec.Type").enummodule
641
+ Asset::ResourceSpec::AccessMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode").enummodule
642
+ Asset::ResourceStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.ResourceStatus").msgclass
643
+ Asset::ResourceStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.ResourceStatus.State").enummodule
644
+ Asset::DiscoveryStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.DiscoveryStatus").msgclass
645
+ Asset::DiscoveryStatus::Stats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats").msgclass
646
+ Asset::DiscoveryStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Asset.DiscoveryStatus.State").enummodule
647
+ Environment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Environment").msgclass
648
+ Environment::InfrastructureSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Environment.InfrastructureSpec").msgclass
649
+ Environment::InfrastructureSpec::ComputeResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources").msgclass
650
+ Environment::InfrastructureSpec::OsImageRuntime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime").msgclass
651
+ Environment::SessionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Environment.SessionSpec").msgclass
652
+ Environment::SessionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Environment.SessionStatus").msgclass
653
+ Environment::Endpoints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Environment.Endpoints").msgclass
654
+ Trigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Trigger").msgclass
655
+ Trigger::OnDemand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Trigger.OnDemand").msgclass
656
+ Trigger::Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Trigger.Schedule").msgclass
657
+ DataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataSource").msgclass
658
+ ScannedData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.ScannedData").msgclass
659
+ ScannedData::IncrementalField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.ScannedData.IncrementalField").msgclass
660
+ DataProfileSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataProfileSpec").msgclass
661
+ DataProfileResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataProfileResult").msgclass
662
+ DataProfileResult::Profile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataProfileResult.Profile").msgclass
663
+ DataProfileResult::Profile::Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field").msgclass
664
+ DataProfileResult::Profile::Field::ProfileInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo").msgclass
665
+ DataProfileResult::Profile::Field::ProfileInfo::StringFieldInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo").msgclass
666
+ DataProfileResult::Profile::Field::ProfileInfo::IntegerFieldInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo").msgclass
667
+ DataProfileResult::Profile::Field::ProfileInfo::DoubleFieldInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo").msgclass
668
+ DataProfileResult::Profile::Field::ProfileInfo::TopNValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue").msgclass
669
+ DataQualitySpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualitySpec").msgclass
670
+ DataQualityResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityResult").msgclass
671
+ DataQualityRuleResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRuleResult").msgclass
672
+ DataQualityDimensionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityDimensionResult").msgclass
673
+ DataQualityRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule").msgclass
674
+ DataQualityRule::RangeExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule.RangeExpectation").msgclass
675
+ DataQualityRule::NonNullExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule.NonNullExpectation").msgclass
676
+ DataQualityRule::SetExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule.SetExpectation").msgclass
677
+ DataQualityRule::RegexExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule.RegexExpectation").msgclass
678
+ DataQualityRule::UniquenessExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule.UniquenessExpectation").msgclass
679
+ DataQualityRule::StatisticRangeExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation").msgclass
680
+ DataQualityRule::StatisticRangeExpectation::ColumnStatistic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic").enummodule
681
+ DataQualityRule::RowConditionExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation").msgclass
682
+ DataQualityRule::TableConditionExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataQualityRule.TableConditionExpectation").msgclass
683
+ ResourceAccessSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.ResourceAccessSpec").msgclass
684
+ DataAccessSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAccessSpec").msgclass
685
+ DataTaxonomy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataTaxonomy").msgclass
686
+ DataAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttribute").msgclass
687
+ DataAttributeBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeBinding").msgclass
688
+ DataAttributeBinding::Path = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeBinding.Path").msgclass
689
+ DataScan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataScan").msgclass
690
+ DataScan::ExecutionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataScan.ExecutionSpec").msgclass
691
+ DataScan::ExecutionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataScan.ExecutionStatus").msgclass
692
+ Task = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task").msgclass
693
+ Task::InfrastructureSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.InfrastructureSpec").msgclass
694
+ Task::InfrastructureSpec::BatchComputeResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources").msgclass
695
+ Task::InfrastructureSpec::ContainerImageRuntime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime").msgclass
696
+ Task::InfrastructureSpec::VpcNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork").msgclass
697
+ Task::TriggerSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.TriggerSpec").msgclass
698
+ Task::TriggerSpec::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.TriggerSpec.Type").enummodule
699
+ Task::ExecutionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.ExecutionSpec").msgclass
700
+ Task::SparkTaskConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.SparkTaskConfig").msgclass
701
+ Task::NotebookTaskConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.NotebookTaskConfig").msgclass
702
+ Task::ExecutionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Task.ExecutionStatus").msgclass
703
+ Job = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Job").msgclass
704
+ Job::Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Job.Service").enummodule
705
+ Job::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.Job.State").enummodule
706
+ TaskEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.TaskEventData").msgclass
707
+ ZoneEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.ZoneEventData").msgclass
708
+ AssetEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.AssetEventData").msgclass
709
+ EnvironmentEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.EnvironmentEventData").msgclass
710
+ DataTaxonomyEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataTaxonomyEventData").msgclass
711
+ DataAttributeBindingEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeBindingEventData").msgclass
712
+ DataScanEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataScanEventData").msgclass
713
+ LakeEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.LakeEventData").msgclass
714
+ DataAttributeEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeEventData").msgclass
715
+ State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.State").enummodule
716
+ DataScanType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataScanType").enummodule
717
+ end
718
+ end
719
+ end
720
+ end
721
+ end
@@ -0,0 +1,131 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/dataplex/v1/events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/events/cloud/dataplex/v1/data_pb'
7
+ require 'google/events/cloudevent_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/events/cloud/dataplex/v1/events.proto", :syntax => :proto3) do
11
+ add_message "google.events.cloud.dataplex.v1.DataTaxonomyCreatedEvent" do
12
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataTaxonomyEventData"
13
+ end
14
+ add_message "google.events.cloud.dataplex.v1.DataTaxonomyUpdatedEvent" do
15
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataTaxonomyEventData"
16
+ end
17
+ add_message "google.events.cloud.dataplex.v1.DataTaxonomyDeletedEvent" do
18
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataTaxonomyEventData"
19
+ end
20
+ add_message "google.events.cloud.dataplex.v1.DataAttributeBindingCreatedEvent" do
21
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataAttributeBindingEventData"
22
+ end
23
+ add_message "google.events.cloud.dataplex.v1.DataAttributeBindingUpdatedEvent" do
24
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataAttributeBindingEventData"
25
+ end
26
+ add_message "google.events.cloud.dataplex.v1.DataAttributeBindingDeletedEvent" do
27
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataAttributeBindingEventData"
28
+ end
29
+ add_message "google.events.cloud.dataplex.v1.DataAttributeCreatedEvent" do
30
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataAttributeEventData"
31
+ end
32
+ add_message "google.events.cloud.dataplex.v1.DataAttributeUpdatedEvent" do
33
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataAttributeEventData"
34
+ end
35
+ add_message "google.events.cloud.dataplex.v1.DataAttributeDeletedEvent" do
36
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataAttributeEventData"
37
+ end
38
+ add_message "google.events.cloud.dataplex.v1.DataScanCreatedEvent" do
39
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataScanEventData"
40
+ end
41
+ add_message "google.events.cloud.dataplex.v1.DataScanUpdatedEvent" do
42
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataScanEventData"
43
+ end
44
+ add_message "google.events.cloud.dataplex.v1.DataScanDeletedEvent" do
45
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.DataScanEventData"
46
+ end
47
+ add_message "google.events.cloud.dataplex.v1.LakeCreatedEvent" do
48
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.LakeEventData"
49
+ end
50
+ add_message "google.events.cloud.dataplex.v1.LakeUpdatedEvent" do
51
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.LakeEventData"
52
+ end
53
+ add_message "google.events.cloud.dataplex.v1.LakeDeletedEvent" do
54
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.LakeEventData"
55
+ end
56
+ add_message "google.events.cloud.dataplex.v1.ZoneCreatedEvent" do
57
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.ZoneEventData"
58
+ end
59
+ add_message "google.events.cloud.dataplex.v1.ZoneUpdatedEvent" do
60
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.ZoneEventData"
61
+ end
62
+ add_message "google.events.cloud.dataplex.v1.ZoneDeletedEvent" do
63
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.ZoneEventData"
64
+ end
65
+ add_message "google.events.cloud.dataplex.v1.AssetCreatedEvent" do
66
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.AssetEventData"
67
+ end
68
+ add_message "google.events.cloud.dataplex.v1.AssetUpdatedEvent" do
69
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.AssetEventData"
70
+ end
71
+ add_message "google.events.cloud.dataplex.v1.AssetDeletedEvent" do
72
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.AssetEventData"
73
+ end
74
+ add_message "google.events.cloud.dataplex.v1.TaskCreatedEvent" do
75
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.TaskEventData"
76
+ end
77
+ add_message "google.events.cloud.dataplex.v1.TaskUpdatedEvent" do
78
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.TaskEventData"
79
+ end
80
+ add_message "google.events.cloud.dataplex.v1.TaskDeletedEvent" do
81
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.TaskEventData"
82
+ end
83
+ add_message "google.events.cloud.dataplex.v1.EnvironmentCreatedEvent" do
84
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.EnvironmentEventData"
85
+ end
86
+ add_message "google.events.cloud.dataplex.v1.EnvironmentUpdatedEvent" do
87
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.EnvironmentEventData"
88
+ end
89
+ add_message "google.events.cloud.dataplex.v1.EnvironmentDeletedEvent" do
90
+ optional :data, :message, 1, "google.events.cloud.dataplex.v1.EnvironmentEventData"
91
+ end
92
+ end
93
+ end
94
+
95
+ module Google
96
+ module Events
97
+ module Cloud
98
+ module Dataplex
99
+ module V1
100
+ DataTaxonomyCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataTaxonomyCreatedEvent").msgclass
101
+ DataTaxonomyUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataTaxonomyUpdatedEvent").msgclass
102
+ DataTaxonomyDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataTaxonomyDeletedEvent").msgclass
103
+ DataAttributeBindingCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeBindingCreatedEvent").msgclass
104
+ DataAttributeBindingUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeBindingUpdatedEvent").msgclass
105
+ DataAttributeBindingDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeBindingDeletedEvent").msgclass
106
+ DataAttributeCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeCreatedEvent").msgclass
107
+ DataAttributeUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeUpdatedEvent").msgclass
108
+ DataAttributeDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataAttributeDeletedEvent").msgclass
109
+ DataScanCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataScanCreatedEvent").msgclass
110
+ DataScanUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataScanUpdatedEvent").msgclass
111
+ DataScanDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.DataScanDeletedEvent").msgclass
112
+ LakeCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.LakeCreatedEvent").msgclass
113
+ LakeUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.LakeUpdatedEvent").msgclass
114
+ LakeDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.LakeDeletedEvent").msgclass
115
+ ZoneCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.ZoneCreatedEvent").msgclass
116
+ ZoneUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.ZoneUpdatedEvent").msgclass
117
+ ZoneDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.ZoneDeletedEvent").msgclass
118
+ AssetCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.AssetCreatedEvent").msgclass
119
+ AssetUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.AssetUpdatedEvent").msgclass
120
+ AssetDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.AssetDeletedEvent").msgclass
121
+ TaskCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.TaskCreatedEvent").msgclass
122
+ TaskUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.TaskUpdatedEvent").msgclass
123
+ TaskDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.TaskDeletedEvent").msgclass
124
+ EnvironmentCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.EnvironmentCreatedEvent").msgclass
125
+ EnvironmentUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.EnvironmentUpdatedEvent").msgclass
126
+ EnvironmentDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.dataplex.v1.EnvironmentDeletedEvent").msgclass
127
+ end
128
+ end
129
+ end
130
+ end
131
+ end
@@ -0,0 +1,235 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/gkebackup/v1/data.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/events/cloud/gkebackup/v1/data.proto", :syntax => :proto3) do
10
+ add_message "google.events.cloud.gkebackup.v1.Namespaces" do
11
+ repeated :namespaces, :string, 1
12
+ end
13
+ add_message "google.events.cloud.gkebackup.v1.NamespacedName" do
14
+ optional :namespace, :string, 1
15
+ optional :name, :string, 2
16
+ end
17
+ add_message "google.events.cloud.gkebackup.v1.NamespacedNames" do
18
+ repeated :namespaced_names, :message, 1, "google.events.cloud.gkebackup.v1.NamespacedName"
19
+ end
20
+ add_message "google.events.cloud.gkebackup.v1.EncryptionKey" do
21
+ optional :gcp_kms_encryption_key, :string, 1
22
+ end
23
+ add_message "google.events.cloud.gkebackup.v1.Backup" do
24
+ optional :name, :string, 1
25
+ optional :uid, :string, 2
26
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
27
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
28
+ optional :manual, :bool, 5
29
+ map :labels, :string, :string, 6
30
+ optional :delete_lock_days, :int32, 7
31
+ optional :delete_lock_expire_time, :message, 8, "google.protobuf.Timestamp"
32
+ optional :retain_days, :int32, 9
33
+ optional :retain_expire_time, :message, 10, "google.protobuf.Timestamp"
34
+ optional :encryption_key, :message, 11, "google.events.cloud.gkebackup.v1.EncryptionKey"
35
+ optional :contains_volume_data, :bool, 15
36
+ optional :contains_secrets, :bool, 16
37
+ optional :cluster_metadata, :message, 17, "google.events.cloud.gkebackup.v1.Backup.ClusterMetadata"
38
+ optional :state, :enum, 18, "google.events.cloud.gkebackup.v1.Backup.State"
39
+ optional :state_reason, :string, 19
40
+ optional :complete_time, :message, 20, "google.protobuf.Timestamp"
41
+ optional :resource_count, :int32, 21
42
+ optional :volume_count, :int32, 22
43
+ optional :size_bytes, :int64, 23
44
+ optional :etag, :string, 24
45
+ optional :description, :string, 25
46
+ optional :pod_count, :int32, 26
47
+ optional :config_backup_size_bytes, :int64, 27
48
+ oneof :backup_scope do
49
+ optional :all_namespaces, :bool, 12
50
+ optional :selected_namespaces, :message, 13, "google.events.cloud.gkebackup.v1.Namespaces"
51
+ optional :selected_applications, :message, 14, "google.events.cloud.gkebackup.v1.NamespacedNames"
52
+ end
53
+ end
54
+ add_message "google.events.cloud.gkebackup.v1.Backup.ClusterMetadata" do
55
+ optional :cluster, :string, 1
56
+ optional :k8s_version, :string, 2
57
+ map :backup_crd_versions, :string, :string, 3
58
+ oneof :platform_version do
59
+ optional :gke_version, :string, 4
60
+ optional :anthos_version, :string, 5
61
+ end
62
+ end
63
+ add_enum "google.events.cloud.gkebackup.v1.Backup.State" do
64
+ value :STATE_UNSPECIFIED, 0
65
+ value :CREATING, 1
66
+ value :IN_PROGRESS, 2
67
+ value :SUCCEEDED, 3
68
+ value :FAILED, 4
69
+ value :DELETING, 5
70
+ end
71
+ add_message "google.events.cloud.gkebackup.v1.BackupPlan" do
72
+ optional :name, :string, 1
73
+ optional :uid, :string, 2
74
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
75
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
76
+ optional :description, :string, 5
77
+ optional :cluster, :string, 6
78
+ optional :retention_policy, :message, 7, "google.events.cloud.gkebackup.v1.BackupPlan.RetentionPolicy"
79
+ map :labels, :string, :string, 8
80
+ optional :backup_schedule, :message, 9, "google.events.cloud.gkebackup.v1.BackupPlan.Schedule"
81
+ optional :etag, :string, 10
82
+ optional :deactivated, :bool, 11
83
+ optional :backup_config, :message, 12, "google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig"
84
+ optional :protected_pod_count, :int32, 13
85
+ end
86
+ add_message "google.events.cloud.gkebackup.v1.BackupPlan.RetentionPolicy" do
87
+ optional :backup_delete_lock_days, :int32, 1
88
+ optional :backup_retain_days, :int32, 2
89
+ optional :locked, :bool, 3
90
+ end
91
+ add_message "google.events.cloud.gkebackup.v1.BackupPlan.Schedule" do
92
+ optional :cron_schedule, :string, 1
93
+ optional :paused, :bool, 2
94
+ end
95
+ add_message "google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig" do
96
+ optional :include_volume_data, :bool, 4
97
+ optional :include_secrets, :bool, 5
98
+ optional :encryption_key, :message, 6, "google.events.cloud.gkebackup.v1.EncryptionKey"
99
+ oneof :backup_scope do
100
+ optional :all_namespaces, :bool, 1
101
+ optional :selected_namespaces, :message, 2, "google.events.cloud.gkebackup.v1.Namespaces"
102
+ optional :selected_applications, :message, 3, "google.events.cloud.gkebackup.v1.NamespacedNames"
103
+ end
104
+ end
105
+ add_message "google.events.cloud.gkebackup.v1.Restore" do
106
+ optional :name, :string, 1
107
+ optional :uid, :string, 2
108
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
109
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
110
+ optional :description, :string, 5
111
+ optional :backup, :string, 6
112
+ optional :cluster, :string, 7
113
+ optional :restore_config, :message, 8, "google.events.cloud.gkebackup.v1.RestoreConfig"
114
+ map :labels, :string, :string, 9
115
+ optional :state, :enum, 10, "google.events.cloud.gkebackup.v1.Restore.State"
116
+ optional :state_reason, :string, 11
117
+ optional :complete_time, :message, 12, "google.protobuf.Timestamp"
118
+ optional :resources_restored_count, :int32, 13
119
+ optional :resources_excluded_count, :int32, 14
120
+ optional :resources_failed_count, :int32, 15
121
+ optional :volumes_restored_count, :int32, 16
122
+ optional :etag, :string, 17
123
+ end
124
+ add_enum "google.events.cloud.gkebackup.v1.Restore.State" do
125
+ value :STATE_UNSPECIFIED, 0
126
+ value :CREATING, 1
127
+ value :IN_PROGRESS, 2
128
+ value :SUCCEEDED, 3
129
+ value :FAILED, 4
130
+ value :DELETING, 5
131
+ end
132
+ add_message "google.events.cloud.gkebackup.v1.RestoreConfig" do
133
+ optional :volume_data_restore_policy, :enum, 1, "google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy"
134
+ optional :cluster_resource_conflict_policy, :enum, 2, "google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy"
135
+ optional :namespaced_resource_restore_mode, :enum, 3, "google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode"
136
+ optional :cluster_resource_restore_scope, :message, 4, "google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope"
137
+ repeated :substitution_rules, :message, 8, "google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule"
138
+ oneof :namespaced_resource_restore_scope do
139
+ optional :all_namespaces, :bool, 5
140
+ optional :selected_namespaces, :message, 6, "google.events.cloud.gkebackup.v1.Namespaces"
141
+ optional :selected_applications, :message, 7, "google.events.cloud.gkebackup.v1.NamespacedNames"
142
+ end
143
+ end
144
+ add_message "google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind" do
145
+ optional :resource_group, :string, 1
146
+ optional :resource_kind, :string, 2
147
+ end
148
+ add_message "google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope" do
149
+ repeated :selected_group_kinds, :message, 1, "google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind"
150
+ end
151
+ add_message "google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule" do
152
+ repeated :target_namespaces, :string, 1
153
+ repeated :target_group_kinds, :message, 2, "google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind"
154
+ optional :target_json_path, :string, 3
155
+ optional :original_value_pattern, :string, 4
156
+ optional :new_value, :string, 5
157
+ end
158
+ add_enum "google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy" do
159
+ value :VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED, 0
160
+ value :RESTORE_VOLUME_DATA_FROM_BACKUP, 1
161
+ value :REUSE_VOLUME_HANDLE_FROM_BACKUP, 2
162
+ value :NO_VOLUME_DATA_RESTORATION, 3
163
+ end
164
+ add_enum "google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy" do
165
+ value :CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED, 0
166
+ value :USE_EXISTING_VERSION, 1
167
+ value :USE_BACKUP_VERSION, 2
168
+ end
169
+ add_enum "google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode" do
170
+ value :NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED, 0
171
+ value :DELETE_AND_RESTORE, 1
172
+ value :FAIL_ON_CONFLICT, 2
173
+ end
174
+ add_message "google.events.cloud.gkebackup.v1.RestorePlan" do
175
+ optional :name, :string, 1
176
+ optional :uid, :string, 2
177
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
178
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
179
+ optional :description, :string, 5
180
+ optional :backup_plan, :string, 6
181
+ optional :cluster, :string, 7
182
+ optional :restore_config, :message, 8, "google.events.cloud.gkebackup.v1.RestoreConfig"
183
+ map :labels, :string, :string, 9
184
+ optional :etag, :string, 10
185
+ end
186
+ add_message "google.events.cloud.gkebackup.v1.RestorePlanEventData" do
187
+ proto3_optional :payload, :message, 1, "google.events.cloud.gkebackup.v1.RestorePlan"
188
+ end
189
+ add_message "google.events.cloud.gkebackup.v1.BackupEventData" do
190
+ proto3_optional :payload, :message, 1, "google.events.cloud.gkebackup.v1.Backup"
191
+ end
192
+ add_message "google.events.cloud.gkebackup.v1.BackupPlanEventData" do
193
+ proto3_optional :payload, :message, 1, "google.events.cloud.gkebackup.v1.BackupPlan"
194
+ end
195
+ add_message "google.events.cloud.gkebackup.v1.RestoreEventData" do
196
+ proto3_optional :payload, :message, 1, "google.events.cloud.gkebackup.v1.Restore"
197
+ end
198
+ end
199
+ end
200
+
201
+ module Google
202
+ module Events
203
+ module Cloud
204
+ module Gkebackup
205
+ module V1
206
+ Namespaces = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Namespaces").msgclass
207
+ NamespacedName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.NamespacedName").msgclass
208
+ NamespacedNames = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.NamespacedNames").msgclass
209
+ EncryptionKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.EncryptionKey").msgclass
210
+ Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Backup").msgclass
211
+ Backup::ClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Backup.ClusterMetadata").msgclass
212
+ Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Backup.State").enummodule
213
+ BackupPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlan").msgclass
214
+ BackupPlan::RetentionPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlan.RetentionPolicy").msgclass
215
+ BackupPlan::Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlan.Schedule").msgclass
216
+ BackupPlan::BackupConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig").msgclass
217
+ Restore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Restore").msgclass
218
+ Restore::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Restore.State").enummodule
219
+ RestoreConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig").msgclass
220
+ RestoreConfig::GroupKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind").msgclass
221
+ RestoreConfig::ClusterResourceRestoreScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope").msgclass
222
+ RestoreConfig::SubstitutionRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule").msgclass
223
+ RestoreConfig::VolumeDataRestorePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy").enummodule
224
+ RestoreConfig::ClusterResourceConflictPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy").enummodule
225
+ RestoreConfig::NamespacedResourceRestoreMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode").enummodule
226
+ RestorePlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlan").msgclass
227
+ RestorePlanEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlanEventData").msgclass
228
+ BackupEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupEventData").msgclass
229
+ BackupPlanEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanEventData").msgclass
230
+ RestoreEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreEventData").msgclass
231
+ end
232
+ end
233
+ end
234
+ end
235
+ end
@@ -0,0 +1,71 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/gkebackup/v1/events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/events/cloud/gkebackup/v1/data_pb'
7
+ require 'google/events/cloudevent_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/events/cloud/gkebackup/v1/events.proto", :syntax => :proto3) do
11
+ add_message "google.events.cloud.gkebackup.v1.BackupPlanCreatedEvent" do
12
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupPlanEventData"
13
+ end
14
+ add_message "google.events.cloud.gkebackup.v1.BackupPlanUpdatedEvent" do
15
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupPlanEventData"
16
+ end
17
+ add_message "google.events.cloud.gkebackup.v1.BackupPlanDeletedEvent" do
18
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupPlanEventData"
19
+ end
20
+ add_message "google.events.cloud.gkebackup.v1.BackupCreatedEvent" do
21
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupEventData"
22
+ end
23
+ add_message "google.events.cloud.gkebackup.v1.BackupUpdatedEvent" do
24
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupEventData"
25
+ end
26
+ add_message "google.events.cloud.gkebackup.v1.BackupDeletedEvent" do
27
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupEventData"
28
+ end
29
+ add_message "google.events.cloud.gkebackup.v1.RestorePlanCreatedEvent" do
30
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestorePlanEventData"
31
+ end
32
+ add_message "google.events.cloud.gkebackup.v1.RestorePlanUpdatedEvent" do
33
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestorePlanEventData"
34
+ end
35
+ add_message "google.events.cloud.gkebackup.v1.RestorePlanDeletedEvent" do
36
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestorePlanEventData"
37
+ end
38
+ add_message "google.events.cloud.gkebackup.v1.RestoreCreatedEvent" do
39
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestoreEventData"
40
+ end
41
+ add_message "google.events.cloud.gkebackup.v1.RestoreUpdatedEvent" do
42
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestoreEventData"
43
+ end
44
+ add_message "google.events.cloud.gkebackup.v1.RestoreDeletedEvent" do
45
+ optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestoreEventData"
46
+ end
47
+ end
48
+ end
49
+
50
+ module Google
51
+ module Events
52
+ module Cloud
53
+ module Gkebackup
54
+ module V1
55
+ BackupPlanCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanCreatedEvent").msgclass
56
+ BackupPlanUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanUpdatedEvent").msgclass
57
+ BackupPlanDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanDeletedEvent").msgclass
58
+ BackupCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupCreatedEvent").msgclass
59
+ BackupUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupUpdatedEvent").msgclass
60
+ BackupDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupDeletedEvent").msgclass
61
+ RestorePlanCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlanCreatedEvent").msgclass
62
+ RestorePlanUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlanUpdatedEvent").msgclass
63
+ RestorePlanDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlanDeletedEvent").msgclass
64
+ RestoreCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreCreatedEvent").msgclass
65
+ RestoreUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreUpdatedEvent").msgclass
66
+ RestoreDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreDeletedEvent").msgclass
67
+ end
68
+ end
69
+ end
70
+ end
71
+ end
@@ -20,6 +20,6 @@ module Google
20
20
  # Version of the Google events library
21
21
  # @return [String]
22
22
  #
23
- VERSION = "0.1.0"
23
+ VERSION = "0.2.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-08 00:00:00.000000000 Z
11
+ date: 2023-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: googleapis-common-protos-types
@@ -78,6 +78,8 @@ files:
78
78
  - lib/google/events/cloud/dataflow/v1beta3/events_pb.rb
79
79
  - lib/google/events/cloud/datafusion/v1/data_pb.rb
80
80
  - lib/google/events/cloud/datafusion/v1/events_pb.rb
81
+ - lib/google/events/cloud/dataplex/v1/data_pb.rb
82
+ - lib/google/events/cloud/dataplex/v1/events_pb.rb
81
83
  - lib/google/events/cloud/datastream/v1/data_pb.rb
82
84
  - lib/google/events/cloud/datastream/v1/events_pb.rb
83
85
  - lib/google/events/cloud/eventarc/v1/data_pb.rb
@@ -86,6 +88,8 @@ files:
86
88
  - lib/google/events/cloud/firestore/v1/events_pb.rb
87
89
  - lib/google/events/cloud/functions/v2/data_pb.rb
88
90
  - lib/google/events/cloud/functions/v2/events_pb.rb
91
+ - lib/google/events/cloud/gkebackup/v1/data_pb.rb
92
+ - lib/google/events/cloud/gkebackup/v1/events_pb.rb
89
93
  - lib/google/events/cloud/iot/v1/data_pb.rb
90
94
  - lib/google/events/cloud/iot/v1/events_pb.rb
91
95
  - lib/google/events/cloud/memcache/v1/data_pb.rb