google-cloud-dataplex-v1 0.5.1 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,426 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dataplex
23
+ module V1
24
+ # Create dataScan request.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The resource name of the parent location:
28
+ # `projects/{project}/locations/{location_id}`
29
+ # where `project` refers to a *project_id* or *project_number* and
30
+ # `location_id` refers to a GCP region.
31
+ # @!attribute [rw] data_scan
32
+ # @return [::Google::Cloud::Dataplex::V1::DataScan]
33
+ # Required. DataScan resource.
34
+ # @!attribute [rw] data_scan_id
35
+ # @return [::String]
36
+ # Required. DataScan identifier.
37
+ #
38
+ # * Must contain only lowercase letters, numbers and hyphens.
39
+ # * Must start with a letter.
40
+ # * Must end with a number or a letter.
41
+ # * Must be between 1-63 characters.
42
+ # * Must be unique within the customer project / location.
43
+ class CreateDataScanRequest
44
+ include ::Google::Protobuf::MessageExts
45
+ extend ::Google::Protobuf::MessageExts::ClassMethods
46
+ end
47
+
48
+ # Update dataScan request.
49
+ # @!attribute [rw] data_scan
50
+ # @return [::Google::Cloud::Dataplex::V1::DataScan]
51
+ # Required. DataScan resource to be updated.
52
+ #
53
+ # Only fields specified in `update_mask` are updated.
54
+ # @!attribute [rw] update_mask
55
+ # @return [::Google::Protobuf::FieldMask]
56
+ # Required. Mask of fields to update.
57
+ class UpdateDataScanRequest
58
+ include ::Google::Protobuf::MessageExts
59
+ extend ::Google::Protobuf::MessageExts::ClassMethods
60
+ end
61
+
62
+ # Delete dataScan request.
63
+ # @!attribute [rw] name
64
+ # @return [::String]
65
+ # Required. The resource name of the dataScan:
66
+ # `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
67
+ # where `project` refers to a *project_id* or *project_number* and
68
+ # `location_id` refers to a GCP region.
69
+ class DeleteDataScanRequest
70
+ include ::Google::Protobuf::MessageExts
71
+ extend ::Google::Protobuf::MessageExts::ClassMethods
72
+ end
73
+
74
+ # Get dataScan request.
75
+ # @!attribute [rw] name
76
+ # @return [::String]
77
+ # Required. The resource name of the dataScan:
78
+ # `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
79
+ # where `project` refers to a *project_id* or *project_number* and
80
+ # `location_id` refers to a GCP region.
81
+ # @!attribute [rw] view
82
+ # @return [::Google::Cloud::Dataplex::V1::GetDataScanRequest::DataScanView]
83
+ # Optional. Select the DataScan view to return. Defaults to `BASIC`.
84
+ class GetDataScanRequest
85
+ include ::Google::Protobuf::MessageExts
86
+ extend ::Google::Protobuf::MessageExts::ClassMethods
87
+
88
+ # DataScan view options.
89
+ module DataScanView
90
+ # The API will default to the `BASIC` view.
91
+ DATA_SCAN_VIEW_UNSPECIFIED = 0
92
+
93
+ # Basic view that does not include *spec* and *result*.
94
+ BASIC = 1
95
+
96
+ # Include everything.
97
+ FULL = 10
98
+ end
99
+ end
100
+
101
+ # List dataScans request.
102
+ # @!attribute [rw] parent
103
+ # @return [::String]
104
+ # Required. The resource name of the parent location:
105
+ # `projects/{project}/locations/{location_id}`
106
+ # where `project` refers to a *project_id* or *project_number* and
107
+ # `location_id` refers to a GCP region.
108
+ # @!attribute [rw] page_size
109
+ # @return [::Integer]
110
+ # Optional. Maximum number of dataScans to return. The service may return
111
+ # fewer than this value. If unspecified, at most 10 scans will be returned.
112
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
113
+ # @!attribute [rw] page_token
114
+ # @return [::String]
115
+ # Optional. Page token received from a previous `ListDataScans` call. Provide
116
+ # this to retrieve the subsequent page. When paginating, all other parameters
117
+ # provided to `ListDataScans` must match the call that provided the
118
+ # page token.
119
+ # @!attribute [rw] filter
120
+ # @return [::String]
121
+ # Optional. Filter request.
122
+ # @!attribute [rw] order_by
123
+ # @return [::String]
124
+ # Optional. Order by fields (`name` or `create_time`) for the result.
125
+ # If not specified, the ordering is undefined.
126
+ class ListDataScansRequest
127
+ include ::Google::Protobuf::MessageExts
128
+ extend ::Google::Protobuf::MessageExts::ClassMethods
129
+ end
130
+
131
+ # List dataScans response.
132
+ # @!attribute [rw] data_scans
133
+ # @return [::Array<::Google::Cloud::Dataplex::V1::DataScan>]
134
+ # DataScans (`BASIC` view only) under the given parent location.
135
+ # @!attribute [rw] next_page_token
136
+ # @return [::String]
137
+ # Token to retrieve the next page of results, or empty if there are no more
138
+ # results in the list.
139
+ # @!attribute [rw] unreachable
140
+ # @return [::Array<::String>]
141
+ # Locations that could not be reached.
142
+ class ListDataScansResponse
143
+ include ::Google::Protobuf::MessageExts
144
+ extend ::Google::Protobuf::MessageExts::ClassMethods
145
+ end
146
+
147
+ # Run DataScan Request
148
+ # @!attribute [rw] name
149
+ # @return [::String]
150
+ # Required. The resource name of the DataScan:
151
+ # `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
152
+ # where `project` refers to a *project_id* or *project_number* and
153
+ # `location_id` refers to a GCP region.
154
+ #
155
+ # Only **OnDemand** data scans are allowed.
156
+ class RunDataScanRequest
157
+ include ::Google::Protobuf::MessageExts
158
+ extend ::Google::Protobuf::MessageExts::ClassMethods
159
+ end
160
+
161
+ # Run DataScan Response.
162
+ # @!attribute [rw] job
163
+ # @return [::Google::Cloud::Dataplex::V1::DataScanJob]
164
+ # DataScanJob created by RunDataScan request.
165
+ class RunDataScanResponse
166
+ include ::Google::Protobuf::MessageExts
167
+ extend ::Google::Protobuf::MessageExts::ClassMethods
168
+ end
169
+
170
+ # Get DataScanJob request.
171
+ # @!attribute [rw] name
172
+ # @return [::String]
173
+ # Required. The resource name of the DataScanJob:
174
+ # `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
175
+ # where `project` refers to a *project_id* or *project_number* and
176
+ # `location_id` refers to a GCP region.
177
+ # @!attribute [rw] view
178
+ # @return [::Google::Cloud::Dataplex::V1::GetDataScanJobRequest::DataScanJobView]
179
+ # Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
180
+ class GetDataScanJobRequest
181
+ include ::Google::Protobuf::MessageExts
182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
183
+
184
+ # DataScanJob view options.
185
+ module DataScanJobView
186
+ # The API will default to the `BASIC` view.
187
+ DATA_SCAN_JOB_VIEW_UNSPECIFIED = 0
188
+
189
+ # Basic view that does not include *spec* and *result*.
190
+ BASIC = 1
191
+
192
+ # Include everything.
193
+ FULL = 10
194
+ end
195
+ end
196
+
197
+ # List DataScanJobs request.
198
+ # @!attribute [rw] parent
199
+ # @return [::String]
200
+ # Required. The resource name of the parent environment:
201
+ # `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
202
+ # where `project` refers to a *project_id* or *project_number* and
203
+ # `location_id` refers to a GCP region.
204
+ # @!attribute [rw] page_size
205
+ # @return [::Integer]
206
+ # Optional. Maximum number of DataScanJobs to return. The service may return
207
+ # fewer than this value. If unspecified, at most 10 DataScanJobs will be
208
+ # returned. The maximum value is 1000; values above 1000 will be coerced to
209
+ # 1000.
210
+ # @!attribute [rw] page_token
211
+ # @return [::String]
212
+ # Optional. Page token received from a previous `ListDataScanJobs` call.
213
+ # Provide this to retrieve the subsequent page. When paginating, all other
214
+ # parameters provided to `ListDataScanJobs` must match the call that provided
215
+ # the page token.
216
+ class ListDataScanJobsRequest
217
+ include ::Google::Protobuf::MessageExts
218
+ extend ::Google::Protobuf::MessageExts::ClassMethods
219
+ end
220
+
221
+ # List DataScanJobs response.
222
+ # @!attribute [rw] data_scan_jobs
223
+ # @return [::Array<::Google::Cloud::Dataplex::V1::DataScanJob>]
224
+ # DataScanJobs (`BASIC` view only) under a given dataScan.
225
+ # @!attribute [rw] next_page_token
226
+ # @return [::String]
227
+ # Token to retrieve the next page of results, or empty if there are no more
228
+ # results in the list.
229
+ class ListDataScanJobsResponse
230
+ include ::Google::Protobuf::MessageExts
231
+ extend ::Google::Protobuf::MessageExts::ClassMethods
232
+ end
233
+
234
+ # Represents a user-visible job which provides the insights for the related
235
+ # data source.
236
+ #
237
+ # For example:
238
+ #
239
+ # * Data Quality: generates queries based on the rules and runs against the
240
+ # data to get data quality check results.
241
+ # * Data Profile: analyzes the data in table(s) and generates insights about
242
+ # the structure, content and relationships (such as null percent,
243
+ # cardinality, min/max/mean, etc).
244
+ # @!attribute [r] name
245
+ # @return [::String]
246
+ # Output only. The relative resource name of the scan, of the form:
247
+ # `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
248
+ # where `project` refers to a *project_id* or *project_number* and
249
+ # `location_id` refers to a GCP region.
250
+ # @!attribute [r] uid
251
+ # @return [::String]
252
+ # Output only. System generated globally unique ID for the scan. This ID will
253
+ # be different if the scan is deleted and re-created with the same name.
254
+ # @!attribute [rw] description
255
+ # @return [::String]
256
+ # Optional. Description of the scan.
257
+ #
258
+ # * Must be between 1-1024 characters.
259
+ # @!attribute [rw] display_name
260
+ # @return [::String]
261
+ # Optional. User friendly display name.
262
+ #
263
+ # * Must be between 1-256 characters.
264
+ # @!attribute [rw] labels
265
+ # @return [::Google::Protobuf::Map{::String => ::String}]
266
+ # Optional. User-defined labels for the scan.
267
+ # @!attribute [r] state
268
+ # @return [::Google::Cloud::Dataplex::V1::State]
269
+ # Output only. Current state of the DataScan.
270
+ # @!attribute [r] create_time
271
+ # @return [::Google::Protobuf::Timestamp]
272
+ # Output only. The time when the scan was created.
273
+ # @!attribute [r] update_time
274
+ # @return [::Google::Protobuf::Timestamp]
275
+ # Output only. The time when the scan was last updated.
276
+ # @!attribute [rw] data
277
+ # @return [::Google::Cloud::Dataplex::V1::DataSource]
278
+ # Required. The data source for DataScan.
279
+ # @!attribute [rw] execution_spec
280
+ # @return [::Google::Cloud::Dataplex::V1::DataScan::ExecutionSpec]
281
+ # Optional. DataScan execution settings.
282
+ #
283
+ # If not specified, the fields in it will use their default values.
284
+ # @!attribute [r] execution_status
285
+ # @return [::Google::Cloud::Dataplex::V1::DataScan::ExecutionStatus]
286
+ # Output only. Status of the data scan execution.
287
+ # @!attribute [r] type
288
+ # @return [::Google::Cloud::Dataplex::V1::DataScanType]
289
+ # Output only. The type of DataScan.
290
+ # @!attribute [rw] data_quality_spec
291
+ # @return [::Google::Cloud::Dataplex::V1::DataQualitySpec]
292
+ # DataQualityScan related setting.
293
+ # @!attribute [rw] data_profile_spec
294
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileSpec]
295
+ # DataProfileScan related setting.
296
+ # @!attribute [r] data_quality_result
297
+ # @return [::Google::Cloud::Dataplex::V1::DataQualityResult]
298
+ # Output only. The result of the data quality scan.
299
+ # @!attribute [r] data_profile_result
300
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileResult]
301
+ # Output only. The result of the data profile scan.
302
+ class DataScan
303
+ include ::Google::Protobuf::MessageExts
304
+ extend ::Google::Protobuf::MessageExts::ClassMethods
305
+
306
+ # DataScan execution settings.
307
+ # @!attribute [rw] trigger
308
+ # @return [::Google::Cloud::Dataplex::V1::Trigger]
309
+ # Optional. Spec related to how often and when a scan should be triggered.
310
+ #
311
+ # If not specified, the default is `OnDemand`, which means the scan will
312
+ # not run until the user calls `RunDataScan` API.
313
+ # @!attribute [rw] field
314
+ # @return [::String]
315
+ # Immutable. The unnested field (of type *Date* or *Timestamp*) that
316
+ # contains values which monotonically increase over time.
317
+ #
318
+ # If not specified, a data scan will run for all data in the table.
319
+ class ExecutionSpec
320
+ include ::Google::Protobuf::MessageExts
321
+ extend ::Google::Protobuf::MessageExts::ClassMethods
322
+ end
323
+
324
+ # Status of the data scan execution.
325
+ # @!attribute [rw] latest_job_start_time
326
+ # @return [::Google::Protobuf::Timestamp]
327
+ # The time when the latest DataScanJob started.
328
+ # @!attribute [rw] latest_job_end_time
329
+ # @return [::Google::Protobuf::Timestamp]
330
+ # The time when the latest DataScanJob ended.
331
+ class ExecutionStatus
332
+ include ::Google::Protobuf::MessageExts
333
+ extend ::Google::Protobuf::MessageExts::ClassMethods
334
+ end
335
+
336
+ # @!attribute [rw] key
337
+ # @return [::String]
338
+ # @!attribute [rw] value
339
+ # @return [::String]
340
+ class LabelsEntry
341
+ include ::Google::Protobuf::MessageExts
342
+ extend ::Google::Protobuf::MessageExts::ClassMethods
343
+ end
344
+ end
345
+
346
+ # A DataScanJob represents an instance of DataScan execution.
347
+ # @!attribute [r] name
348
+ # @return [::String]
349
+ # Output only. The relative resource name of the DataScanJob, of the form:
350
+ # `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
351
+ # where `project` refers to a *project_id* or *project_number* and
352
+ # `location_id` refers to a GCP region.
353
+ # @!attribute [r] uid
354
+ # @return [::String]
355
+ # Output only. System generated globally unique ID for the DataScanJob.
356
+ # @!attribute [r] start_time
357
+ # @return [::Google::Protobuf::Timestamp]
358
+ # Output only. The time when the DataScanJob was started.
359
+ # @!attribute [r] end_time
360
+ # @return [::Google::Protobuf::Timestamp]
361
+ # Output only. The time when the DataScanJob ended.
362
+ # @!attribute [r] state
363
+ # @return [::Google::Cloud::Dataplex::V1::DataScanJob::State]
364
+ # Output only. Execution state for the DataScanJob.
365
+ # @!attribute [r] message
366
+ # @return [::String]
367
+ # Output only. Additional information about the current state.
368
+ # @!attribute [r] type
369
+ # @return [::Google::Cloud::Dataplex::V1::DataScanType]
370
+ # Output only. The type of the parent DataScan.
371
+ # @!attribute [r] data_quality_spec
372
+ # @return [::Google::Cloud::Dataplex::V1::DataQualitySpec]
373
+ # Output only. DataQualityScan related setting.
374
+ # @!attribute [r] data_profile_spec
375
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileSpec]
376
+ # Output only. DataProfileScan related setting.
377
+ # @!attribute [r] data_quality_result
378
+ # @return [::Google::Cloud::Dataplex::V1::DataQualityResult]
379
+ # Output only. The result of the data quality scan.
380
+ # @!attribute [r] data_profile_result
381
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileResult]
382
+ # Output only. The result of the data profile scan.
383
+ class DataScanJob
384
+ include ::Google::Protobuf::MessageExts
385
+ extend ::Google::Protobuf::MessageExts::ClassMethods
386
+
387
+ # Execution state for the DataScanJob.
388
+ module State
389
+ # The DataScanJob state is unspecified.
390
+ STATE_UNSPECIFIED = 0
391
+
392
+ # The DataScanJob is running.
393
+ RUNNING = 1
394
+
395
+ # The DataScanJob is canceling.
396
+ CANCELING = 2
397
+
398
+ # The DataScanJob cancellation was successful.
399
+ CANCELLED = 3
400
+
401
+ # The DataScanJob completed successfully.
402
+ SUCCEEDED = 4
403
+
404
+ # The DataScanJob is no longer running due to an error.
405
+ FAILED = 5
406
+
407
+ # The DataScanJob has been created but not started to run yet.
408
+ PENDING = 7
409
+ end
410
+ end
411
+
412
+ # The type of DataScan.
413
+ module DataScanType
414
+ # The DataScan type is unspecified.
415
+ DATA_SCAN_TYPE_UNSPECIFIED = 0
416
+
417
+ # Data Quality scan.
418
+ DATA_QUALITY = 1
419
+
420
+ # Data Profile scan.
421
+ DATA_PROFILE = 2
422
+ end
423
+ end
424
+ end
425
+ end
426
+ end
@@ -257,8 +257,8 @@ module Google
257
257
  # The status of the event.
258
258
  # @!attribute [rw] fast_startup_enabled
259
259
  # @return [::Boolean]
260
- # If the session is associated with an Environment with fast startup enabled,
261
- # and was pre-created before being assigned to a user.
260
+ # If the session is associated with an environment with fast startup enabled,
261
+ # and was created before being assigned to a user.
262
262
  # @!attribute [rw] unassigned_duration
263
263
  # @return [::Google::Protobuf::Duration]
264
264
  # The idle duration of a warm pooled session before it is assigned to user.
@@ -321,6 +321,139 @@ module Google
321
321
  CREATE = 4
322
322
  end
323
323
  end
324
+
325
+ # These messages contain information about the execution of a datascan.
326
+ # The monitored resource is 'DataScan'
327
+ # @!attribute [rw] data_source
328
+ # @return [::String]
329
+ # The data source of the data scan
330
+ # @!attribute [rw] job_id
331
+ # @return [::String]
332
+ # The identifier of the specific data scan job this log entry is for.
333
+ # @!attribute [rw] start_time
334
+ # @return [::Google::Protobuf::Timestamp]
335
+ # The time when the data scan job started to run.
336
+ # @!attribute [rw] end_time
337
+ # @return [::Google::Protobuf::Timestamp]
338
+ # The time when the data scan job finished.
339
+ # @!attribute [rw] type
340
+ # @return [::Google::Cloud::Dataplex::V1::DataScanEvent::ScanType]
341
+ # The type of the data scan.
342
+ # @!attribute [rw] state
343
+ # @return [::Google::Cloud::Dataplex::V1::DataScanEvent::State]
344
+ # The status of the data scan job.
345
+ # @!attribute [rw] message
346
+ # @return [::String]
347
+ # The message describing the data scan job event.
348
+ # @!attribute [rw] spec_version
349
+ # @return [::String]
350
+ # A version identifier of the spec which was used to execute this job.
351
+ # @!attribute [rw] trigger
352
+ # @return [::Google::Cloud::Dataplex::V1::DataScanEvent::Trigger]
353
+ # The trigger type of the data scan job.
354
+ # @!attribute [rw] scope
355
+ # @return [::Google::Cloud::Dataplex::V1::DataScanEvent::Scope]
356
+ # The scope of the data scan (e.g. full, incremental).
357
+ # @!attribute [rw] data_profile
358
+ # @return [::Google::Cloud::Dataplex::V1::DataScanEvent::DataProfileResult]
359
+ # Data profile result for data profile type data scan.
360
+ # @!attribute [rw] data_quality
361
+ # @return [::Google::Cloud::Dataplex::V1::DataScanEvent::DataQualityResult]
362
+ # Data quality result for data quality type data scan.
363
+ class DataScanEvent
364
+ include ::Google::Protobuf::MessageExts
365
+ extend ::Google::Protobuf::MessageExts::ClassMethods
366
+
367
+ # Data profile result for data scan job.
368
+ # @!attribute [rw] row_count
369
+ # @return [::Integer]
370
+ # The count of rows processed in the data scan job.
371
+ class DataProfileResult
372
+ include ::Google::Protobuf::MessageExts
373
+ extend ::Google::Protobuf::MessageExts::ClassMethods
374
+ end
375
+
376
+ # Data quality result for data scan job.
377
+ # @!attribute [rw] row_count
378
+ # @return [::Integer]
379
+ # The count of rows processed in the data scan job.
380
+ # @!attribute [rw] passed
381
+ # @return [::Boolean]
382
+ # Whether the data quality result was `pass` or not.
383
+ # @!attribute [rw] dimension_passed
384
+ # @return [::Google::Protobuf::Map{::String => ::Boolean}]
385
+ # The result of each dimension for data quality result.
386
+ # The key of the map is the name of the dimension.
387
+ # The value is the bool value depicting whether the dimension result was
388
+ # `pass` or not.
389
+ class DataQualityResult
390
+ include ::Google::Protobuf::MessageExts
391
+ extend ::Google::Protobuf::MessageExts::ClassMethods
392
+
393
+ # @!attribute [rw] key
394
+ # @return [::String]
395
+ # @!attribute [rw] value
396
+ # @return [::Boolean]
397
+ class DimensionPassedEntry
398
+ include ::Google::Protobuf::MessageExts
399
+ extend ::Google::Protobuf::MessageExts::ClassMethods
400
+ end
401
+ end
402
+
403
+ # The type of the data scan.
404
+ module ScanType
405
+ # An unspecified data scan type.
406
+ SCAN_TYPE_UNSPECIFIED = 0
407
+
408
+ # Data scan for data profile.
409
+ DATA_PROFILE = 1
410
+
411
+ # Data scan for data quality.
412
+ DATA_QUALITY = 2
413
+ end
414
+
415
+ # The job state of the data scan.
416
+ module State
417
+ # Unspecified job state.
418
+ STATE_UNSPECIFIED = 0
419
+
420
+ # Data scan started.
421
+ STARTED = 1
422
+
423
+ # Data scan successfully completed.
424
+ SUCCEEDED = 2
425
+
426
+ # Data scan was unsuccessful.
427
+ FAILED = 3
428
+
429
+ # Data scan was cancelled.
430
+ CANCELLED = 4
431
+ end
432
+
433
+ # The trigger type for the data scan.
434
+ module Trigger
435
+ # An unspecified trigger type.
436
+ TRIGGER_UNSPECIFIED = 0
437
+
438
+ # Data scan triggers on demand.
439
+ ON_DEMAND = 1
440
+
441
+ # Data scan triggers as per schedule.
442
+ SCHEDULE = 2
443
+ end
444
+
445
+ # The scope of job for the data scan.
446
+ module Scope
447
+ # An unspecified scope type.
448
+ SCOPE_UNSPECIFIED = 0
449
+
450
+ # Data scan runs on all of the data.
451
+ FULL = 1
452
+
453
+ # Data scan runs on incremental data.
454
+ INCREMENTAL = 2
455
+ end
456
+ end
324
457
  end
325
458
  end
326
459
  end
@@ -565,6 +565,9 @@ module Google
565
565
  # - application/x-avro
566
566
  # - application/x-orc
567
567
  # - application/x-tfrecord
568
+ # - application/x-parquet+iceberg
569
+ # - application/x-avro+iceberg
570
+ # - application/x-orc+iceberg
568
571
  # - application/json
569
572
  # - application/\\{subtypes}
570
573
  # - text/csv
@@ -578,6 +581,9 @@ module Google
578
581
  # @!attribute [rw] json
579
582
  # @return [::Google::Cloud::Dataplex::V1::StorageFormat::JsonOptions]
580
583
  # Optional. Additional information about CSV formatted data.
584
+ # @!attribute [rw] iceberg
585
+ # @return [::Google::Cloud::Dataplex::V1::StorageFormat::IcebergOptions]
586
+ # Optional. Additional information about iceberg tables.
581
587
  class StorageFormat
582
588
  include ::Google::Protobuf::MessageExts
583
589
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -614,6 +620,16 @@ module Google
614
620
  extend ::Google::Protobuf::MessageExts::ClassMethods
615
621
  end
616
622
 
623
+ # Describes Iceberg data format.
624
+ # @!attribute [rw] metadata_location
625
+ # @return [::String]
626
+ # Optional. The location of where the iceberg metadata is present, must be
627
+ # within the table path
628
+ class IcebergOptions
629
+ include ::Google::Protobuf::MessageExts
630
+ extend ::Google::Protobuf::MessageExts::ClassMethods
631
+ end
632
+
617
633
  # The specific file format of the data.
618
634
  module Format
619
635
  # Format unspecified.