google-cloud-dataplex-v1 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +2 -2
- data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +2 -2
- data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +1 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +12 -6
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +2 -2
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +12 -6
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +2 -2
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +95 -2
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +2 -2
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +72 -2
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +2 -2
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +60 -0
- data/lib/google/cloud/dataplex/v1/datascans_pb.rb +4 -0
- data/lib/google/cloud/dataplex/v1/metadata_pb.rb +12 -0
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +2 -2
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +2 -2
- data/lib/google/cloud/dataplex/v1/processing_pb.rb +1 -0
- data/lib/google/cloud/dataplex/v1/resources_pb.rb +8 -0
- data/lib/google/cloud/dataplex/v1/rest.rb +1 -1
- data/lib/google/cloud/dataplex/v1/service_pb.rb +8 -0
- data/lib/google/cloud/dataplex/v1/service_services_pb.rb +2 -0
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +1 -1
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/dataplex/v1/analyze.rb +4 -0
- data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +64 -87
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +54 -32
- data/proto_docs/google/cloud/dataplex/v1/datascans.rb +10 -2
- data/proto_docs/google/cloud/dataplex/v1/metadata.rb +31 -2
- data/proto_docs/google/cloud/dataplex/v1/processing.rb +23 -13
- data/proto_docs/google/cloud/dataplex/v1/resources.rb +24 -6
- data/proto_docs/google/cloud/dataplex/v1/service.rb +17 -0
- data/proto_docs/google/cloud/dataplex/v1/tasks.rb +2 -3
- metadata +2 -2
@@ -37,7 +37,7 @@ module Google
|
|
37
37
|
# Overall data quality result -- `true` if all rules passed.
|
38
38
|
# @!attribute [rw] dimensions
|
39
39
|
# @return [::Array<::Google::Cloud::Dataplex::V1::DataQualityDimensionResult>]
|
40
|
-
# A list of results at the dimension
|
40
|
+
# A list of results at the dimension level.
|
41
41
|
# @!attribute [rw] rules
|
42
42
|
# @return [::Array<::Google::Cloud::Dataplex::V1::DataQualityRuleResult>]
|
43
43
|
# A list of all the rules in a job, and their results.
|
@@ -52,8 +52,7 @@ module Google
|
|
52
52
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
53
53
|
end
|
54
54
|
|
55
|
-
# DataQualityRuleResult provides a more detailed, per-rule
|
56
|
-
# results.
|
55
|
+
# DataQualityRuleResult provides a more detailed, per-rule view of the results.
|
57
56
|
# @!attribute [rw] rule
|
58
57
|
# @return [::Google::Cloud::Dataplex::V1::DataQualityRule]
|
59
58
|
# The rule specified in the DataQualitySpec, as is.
|
@@ -62,12 +61,15 @@ module Google
|
|
62
61
|
# Whether the rule passed or failed.
|
63
62
|
# @!attribute [rw] evaluated_count
|
64
63
|
# @return [::Integer]
|
65
|
-
# The number of rows a rule was evaluated against.
|
66
|
-
#
|
64
|
+
# The number of rows a rule was evaluated against. This field is only valid
|
65
|
+
# for ColumnMap type rules.
|
66
|
+
#
|
67
67
|
# Evaluated count can be configured to either
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
68
|
+
#
|
69
|
+
# * include all rows (default) - with `null` rows automatically failing rule
|
70
|
+
# evaluation, or
|
71
|
+
# * exclude `null` rows from the `evaluated_count`, by setting
|
72
|
+
# `ignore_nulls = true`.
|
71
73
|
# @!attribute [rw] passed_count
|
72
74
|
# @return [::Integer]
|
73
75
|
# The number of rows which passed a rule evaluation.
|
@@ -77,7 +79,7 @@ module Google
|
|
77
79
|
# The number of rows with null values in the specified column.
|
78
80
|
# @!attribute [rw] pass_ratio
|
79
81
|
# @return [::Float]
|
80
|
-
# The ratio of passed_count / evaluated_count
|
82
|
+
# The ratio of **passed_count / evaluated_count**.
|
81
83
|
# This field is only valid for ColumnMap type rules.
|
82
84
|
# @!attribute [rw] failing_rows_query
|
83
85
|
# @return [::String]
|
@@ -88,8 +90,8 @@ module Google
|
|
88
90
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
91
|
end
|
90
92
|
|
91
|
-
# DataQualityDimensionResult provides a more detailed, per-dimension
|
92
|
-
#
|
93
|
+
# DataQualityDimensionResult provides a more detailed, per-dimension view of
|
94
|
+
# the results.
|
93
95
|
# @!attribute [rw] passed
|
94
96
|
# @return [::Boolean]
|
95
97
|
# Whether the dimension passed or failed.
|
@@ -133,20 +135,22 @@ module Google
|
|
133
135
|
# Optional. The unnested column which this rule is evaluated against.
|
134
136
|
# @!attribute [rw] ignore_null
|
135
137
|
# @return [::Boolean]
|
136
|
-
# Optional. Rows with null values will automatically fail a rule, unless
|
137
|
-
# ignore_null is true
|
138
|
-
# passing.
|
138
|
+
# Optional. Rows with `null` values will automatically fail a rule, unless
|
139
|
+
# `ignore_null` is `true`. In that case, such `null` rows are trivially
|
140
|
+
# considered passing.
|
141
|
+
#
|
142
|
+
# Only applicable to ColumnMap rules.
|
139
143
|
# @!attribute [rw] dimension
|
140
144
|
# @return [::String]
|
141
145
|
# Required. The dimension a rule belongs to. Results are also aggregated at
|
142
|
-
# the dimension
|
143
|
-
# "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]
|
146
|
+
# the dimension level. Supported dimensions are **["COMPLETENESS",
|
147
|
+
# "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]**
|
144
148
|
# @!attribute [rw] threshold
|
145
149
|
# @return [::Float]
|
146
|
-
# Optional. The minimum ratio of passing_rows / total_rows required to
|
147
|
-
# this rule, with a range of [0.0, 1.0]
|
150
|
+
# Optional. The minimum ratio of **passing_rows / total_rows** required to
|
151
|
+
# pass this rule, with a range of [0.0, 1.0].
|
148
152
|
#
|
149
|
-
# 0 indicates default value (i.e. 1.0)
|
153
|
+
# 0 indicates default value (i.e. 1.0).
|
150
154
|
class DataQualityRule
|
151
155
|
include ::Google::Protobuf::MessageExts
|
152
156
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -155,21 +159,25 @@ module Google
|
|
155
159
|
# @!attribute [rw] min_value
|
156
160
|
# @return [::String]
|
157
161
|
# Optional. The minimum column value allowed for a row to pass this
|
158
|
-
# validation. At least one of min_value and max_value need to be
|
162
|
+
# validation. At least one of `min_value` and `max_value` need to be
|
163
|
+
# provided.
|
159
164
|
# @!attribute [rw] max_value
|
160
165
|
# @return [::String]
|
161
166
|
# Optional. The maximum column value allowed for a row to pass this
|
162
|
-
# validation. At least one of min_value and max_value need to be
|
167
|
+
# validation. At least one of `min_value` and `max_value` need to be
|
168
|
+
# provided.
|
163
169
|
# @!attribute [rw] strict_min_enabled
|
164
170
|
# @return [::Boolean]
|
165
171
|
# Optional. Whether each value needs to be strictly greater than ('>') the
|
166
|
-
# minimum, or if equality is allowed.
|
167
|
-
#
|
172
|
+
# minimum, or if equality is allowed.
|
173
|
+
#
|
174
|
+
# Only relevant if a `min_value` has been defined. Default = false.
|
168
175
|
# @!attribute [rw] strict_max_enabled
|
169
176
|
# @return [::Boolean]
|
170
177
|
# Optional. Whether each value needs to be strictly lesser than ('<') the
|
171
|
-
# maximum, or if equality is allowed.
|
172
|
-
#
|
178
|
+
# maximum, or if equality is allowed.
|
179
|
+
#
|
180
|
+
# Only relevant if a `max_value` has been defined. Default = false.
|
173
181
|
class RangeExpectation
|
174
182
|
include ::Google::Protobuf::MessageExts
|
175
183
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -184,6 +192,7 @@ module Google
|
|
184
192
|
# Evaluates whether each column value is contained by a specified set.
|
185
193
|
# @!attribute [rw] values
|
186
194
|
# @return [::Array<::String>]
|
195
|
+
# Expected values for the column value.
|
187
196
|
class SetExpectation
|
188
197
|
include ::Google::Protobuf::MessageExts
|
189
198
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -192,6 +201,7 @@ module Google
|
|
192
201
|
# Evaluates whether each column value matches a specified regex.
|
193
202
|
# @!attribute [rw] regex
|
194
203
|
# @return [::String]
|
204
|
+
# A regular expression the column value is expected to match.
|
195
205
|
class RegexExpectation
|
196
206
|
include ::Google::Protobuf::MessageExts
|
197
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -207,30 +217,36 @@ module Google
|
|
207
217
|
# range.
|
208
218
|
# @!attribute [rw] statistic
|
209
219
|
# @return [::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation::ColumnStatistic]
|
220
|
+
# The aggregate metric to evaluate.
|
210
221
|
# @!attribute [rw] min_value
|
211
222
|
# @return [::String]
|
212
223
|
# The minimum column statistic value allowed for a row to pass this
|
213
224
|
# validation.
|
214
|
-
#
|
225
|
+
#
|
226
|
+
# At least one of `min_value` and `max_value` need to be provided.
|
215
227
|
# @!attribute [rw] max_value
|
216
228
|
# @return [::String]
|
217
229
|
# The maximum column statistic value allowed for a row to pass this
|
218
230
|
# validation.
|
219
|
-
#
|
231
|
+
#
|
232
|
+
# At least one of `min_value` and `max_value` need to be provided.
|
220
233
|
# @!attribute [rw] strict_min_enabled
|
221
234
|
# @return [::Boolean]
|
222
235
|
# Whether column statistic needs to be strictly greater than ('>')
|
223
|
-
# the minimum, or if equality is allowed.
|
224
|
-
#
|
236
|
+
# the minimum, or if equality is allowed.
|
237
|
+
#
|
238
|
+
# Only relevant if a `min_value` has been defined. Default = false.
|
225
239
|
# @!attribute [rw] strict_max_enabled
|
226
240
|
# @return [::Boolean]
|
227
241
|
# Whether column statistic needs to be strictly lesser than ('<') the
|
228
|
-
# maximum, or if equality is allowed.
|
229
|
-
#
|
242
|
+
# maximum, or if equality is allowed.
|
243
|
+
#
|
244
|
+
# Only relevant if a `max_value` has been defined. Default = false.
|
230
245
|
class StatisticRangeExpectation
|
231
246
|
include ::Google::Protobuf::MessageExts
|
232
247
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
233
248
|
|
249
|
+
# The list of aggregate metrics a rule can be evaluated against.
|
234
250
|
module ColumnStatistic
|
235
251
|
# Unspecified statistic type
|
236
252
|
STATISTIC_UNDEFINED = 0
|
@@ -247,22 +263,28 @@ module Google
|
|
247
263
|
end
|
248
264
|
|
249
265
|
# Evaluates whether each row passes the specified condition.
|
266
|
+
#
|
250
267
|
# The SQL expression needs to use BigQuery standard SQL syntax and should
|
251
|
-
# produce a boolean per row as the result.
|
268
|
+
# produce a boolean value per row as the result.
|
269
|
+
#
|
252
270
|
# Example: col1 >= 0 AND col2 < 10
|
253
271
|
# @!attribute [rw] sql_expression
|
254
272
|
# @return [::String]
|
273
|
+
# The SQL expression.
|
255
274
|
class RowConditionExpectation
|
256
275
|
include ::Google::Protobuf::MessageExts
|
257
276
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
258
277
|
end
|
259
278
|
|
260
279
|
# Evaluates whether the provided expression is true.
|
280
|
+
#
|
261
281
|
# The SQL expression needs to use BigQuery standard SQL syntax and should
|
262
282
|
# produce a scalar boolean result.
|
283
|
+
#
|
263
284
|
# Example: MIN(col1) >= 0
|
264
285
|
# @!attribute [rw] sql_expression
|
265
286
|
# @return [::String]
|
287
|
+
# The SQL expression.
|
266
288
|
class TableConditionExpectation
|
267
289
|
include ::Google::Protobuf::MessageExts
|
268
290
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -40,6 +40,10 @@ module Google
|
|
40
40
|
# * Must end with a number or a letter.
|
41
41
|
# * Must be between 1-63 characters.
|
42
42
|
# * Must be unique within the customer project / location.
|
43
|
+
# @!attribute [rw] validate_only
|
44
|
+
# @return [::Boolean]
|
45
|
+
# Optional. Only validate the request, but do not perform mutations.
|
46
|
+
# The default is `false`.
|
43
47
|
class CreateDataScanRequest
|
44
48
|
include ::Google::Protobuf::MessageExts
|
45
49
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -54,6 +58,10 @@ module Google
|
|
54
58
|
# @!attribute [rw] update_mask
|
55
59
|
# @return [::Google::Protobuf::FieldMask]
|
56
60
|
# Required. Mask of fields to update.
|
61
|
+
# @!attribute [rw] validate_only
|
62
|
+
# @return [::Boolean]
|
63
|
+
# Optional. Only validate the request, but do not perform mutations.
|
64
|
+
# The default is `false`.
|
57
65
|
class UpdateDataScanRequest
|
58
66
|
include ::Google::Protobuf::MessageExts
|
59
67
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -108,7 +116,7 @@ module Google
|
|
108
116
|
# @!attribute [rw] page_size
|
109
117
|
# @return [::Integer]
|
110
118
|
# Optional. Maximum number of dataScans to return. The service may return
|
111
|
-
# fewer than this value. If unspecified, at most
|
119
|
+
# fewer than this value. If unspecified, at most 500 scans will be returned.
|
112
120
|
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
113
121
|
# @!attribute [rw] page_token
|
114
122
|
# @return [::String]
|
@@ -171,7 +179,7 @@ module Google
|
|
171
179
|
# @!attribute [rw] name
|
172
180
|
# @return [::String]
|
173
181
|
# Required. The resource name of the DataScanJob:
|
174
|
-
# `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/
|
182
|
+
# `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}`
|
175
183
|
# where `project` refers to a *project_id* or *project_number* and
|
176
184
|
# `location_id` refers to a GCP region.
|
177
185
|
# @!attribute [rw] view
|
@@ -283,8 +283,7 @@ module Google
|
|
283
283
|
# published table name. Specifying a new ID in an update entity
|
284
284
|
# request will override the existing value.
|
285
285
|
# The ID must contain only letters (a-z, A-Z), numbers (0-9), and
|
286
|
-
# underscores
|
287
|
-
# characters.
|
286
|
+
# underscores, and consist of 256 or fewer characters.
|
288
287
|
# @!attribute [rw] etag
|
289
288
|
# @return [::String]
|
290
289
|
# Optional. The etag associated with the entity, which can be retrieved with
|
@@ -322,6 +321,14 @@ module Google
|
|
322
321
|
# @!attribute [r] compatibility
|
323
322
|
# @return [::Google::Cloud::Dataplex::V1::Entity::CompatibilityStatus]
|
324
323
|
# Output only. Metadata stores that the entity is compatible with.
|
324
|
+
# @!attribute [r] access
|
325
|
+
# @return [::Google::Cloud::Dataplex::V1::StorageAccess]
|
326
|
+
# Output only. Identifies the access mechanism to the entity. Not user
|
327
|
+
# settable.
|
328
|
+
# @!attribute [r] uid
|
329
|
+
# @return [::String]
|
330
|
+
# Output only. System generated unique ID for the Entity. This ID will be
|
331
|
+
# different if the Entity is deleted and re-created with the same name.
|
325
332
|
# @!attribute [rw] schema
|
326
333
|
# @return [::Google::Cloud::Dataplex::V1::Schema]
|
327
334
|
# Required. The description of the data structure and layout.
|
@@ -685,6 +692,28 @@ module Google
|
|
685
692
|
end
|
686
693
|
end
|
687
694
|
|
695
|
+
# Describes the access mechanism of the data within its storage location.
|
696
|
+
# @!attribute [r] read
|
697
|
+
# @return [::Google::Cloud::Dataplex::V1::StorageAccess::AccessMode]
|
698
|
+
# Output only. Describes the read access mechanism of the data. Not user
|
699
|
+
# settable.
|
700
|
+
class StorageAccess
|
701
|
+
include ::Google::Protobuf::MessageExts
|
702
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
703
|
+
|
704
|
+
# Access Mode determines how data stored within the Entity is read.
|
705
|
+
module AccessMode
|
706
|
+
# Access mode unspecified.
|
707
|
+
ACCESS_MODE_UNSPECIFIED = 0
|
708
|
+
|
709
|
+
# Default. Data is accessed directly using storage APIs.
|
710
|
+
DIRECT = 1
|
711
|
+
|
712
|
+
# Data is accessed through a managed interface using BigQuery APIs.
|
713
|
+
MANAGED = 2
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
688
717
|
# Identifies the cloud system that manages the data storage.
|
689
718
|
module StorageSystem
|
690
719
|
# Storage system unspecified.
|
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
# DataScan scheduling and trigger settings.
|
25
25
|
# @!attribute [rw] on_demand
|
26
26
|
# @return [::Google::Cloud::Dataplex::V1::Trigger::OnDemand]
|
27
|
-
# The scan runs
|
27
|
+
# The scan runs once via `RunDataScan` API.
|
28
28
|
# @!attribute [rw] schedule
|
29
29
|
# @return [::Google::Cloud::Dataplex::V1::Trigger::Schedule]
|
30
30
|
# The scan is scheduled to run periodically.
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
include ::Google::Protobuf::MessageExts
|
33
33
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
|
35
|
-
# The scan runs
|
35
|
+
# The scan runs once via `RunDataScan` API.
|
36
36
|
class OnDemand
|
37
37
|
include ::Google::Protobuf::MessageExts
|
38
38
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -41,13 +41,17 @@ module Google
|
|
41
41
|
# The scan is scheduled to run periodically.
|
42
42
|
# @!attribute [rw] cron
|
43
43
|
# @return [::String]
|
44
|
-
# Required. Cron
|
44
|
+
# Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running
|
45
45
|
# scans periodically.
|
46
|
-
#
|
47
|
-
# cron tab
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
46
|
+
#
|
47
|
+
# To explicitly set a timezone in the cron tab, apply a prefix in the
|
48
|
+
# cron tab: **"CRON_TZ=$\\{IANA_TIME_ZONE}"** or **"TZ=$\\{IANA_TIME_ZONE}"**.
|
49
|
+
# The **$\\{IANA_TIME_ZONE}** may only be a valid string from IANA time zone
|
50
|
+
# database
|
51
|
+
# ([wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)).
|
52
|
+
# For example, `CRON_TZ=America/New_York 1 * * * *`, or
|
53
|
+
# `TZ=America/New_York 1 * * * *`.
|
54
|
+
#
|
51
55
|
# This field is required for Schedule scans.
|
52
56
|
class Schedule
|
53
57
|
include ::Google::Protobuf::MessageExts
|
@@ -58,9 +62,15 @@ module Google
|
|
58
62
|
# The data source for DataScan.
|
59
63
|
# @!attribute [rw] entity
|
60
64
|
# @return [::String]
|
61
|
-
# Immutable. The
|
62
|
-
# the form:
|
65
|
+
# Immutable. The Dataplex entity that represents the data source (e.g.
|
66
|
+
# BigQuery table) for DataScan, of the form:
|
63
67
|
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
|
68
|
+
# @!attribute [rw] resource
|
69
|
+
# @return [::String]
|
70
|
+
# Immutable. The service-qualified full resource name of the cloud resource
|
71
|
+
# for a DataScan job to scan against. The field could be: BigQuery table of
|
72
|
+
# type "TABLE" for DataProfileScan/DataQualityScan Format:
|
73
|
+
# //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
|
64
74
|
class DataSource
|
65
75
|
include ::Google::Protobuf::MessageExts
|
66
76
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -78,13 +88,13 @@ module Google
|
|
78
88
|
# @!attribute [rw] field
|
79
89
|
# @return [::String]
|
80
90
|
# The field that contains values which monotonically increases over time
|
81
|
-
# (e.g. timestamp).
|
91
|
+
# (e.g. a timestamp column).
|
82
92
|
# @!attribute [rw] start
|
83
93
|
# @return [::String]
|
84
|
-
# Value that marks the start of the range
|
94
|
+
# Value that marks the start of the range.
|
85
95
|
# @!attribute [rw] end
|
86
96
|
# @return [::String]
|
87
|
-
# Value that marks the end of the range
|
97
|
+
# Value that marks the end of the range.
|
88
98
|
class IncrementalField
|
89
99
|
include ::Google::Protobuf::MessageExts
|
90
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -249,9 +249,8 @@ module Google
|
|
249
249
|
# discovery every 60 minutes. To explicitly set a timezone to the cron
|
250
250
|
# tab, apply a prefix in the cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or
|
251
251
|
# TZ=$\\{IANA_TIME_ZONE}". The $\\{IANA_TIME_ZONE} may only be a valid string
|
252
|
-
# from IANA time zone database. For example,
|
253
|
-
# `
|
254
|
-
# or `TZ=America/New_York 1 * * * *`.
|
252
|
+
# from IANA time zone database. For example, `CRON_TZ=America/New_York 1
|
253
|
+
# * * * *`, or `TZ=America/New_York 1 * * * *`.
|
255
254
|
class DiscoverySpec
|
256
255
|
include ::Google::Protobuf::MessageExts
|
257
256
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -629,9 +628,8 @@ module Google
|
|
629
628
|
# discovery every 60 minutes. To explicitly set a timezone to the cron
|
630
629
|
# tab, apply a prefix in the cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or
|
631
630
|
# TZ=$\\{IANA_TIME_ZONE}". The $\\{IANA_TIME_ZONE} may only be a valid string
|
632
|
-
# from IANA time zone database. For example,
|
633
|
-
# `
|
634
|
-
# or `TZ=America/New_York 1 * * * *`.
|
631
|
+
# from IANA time zone database. For example, `CRON_TZ=America/New_York 1
|
632
|
+
# * * * *`, or `TZ=America/New_York 1 * * * *`.
|
635
633
|
class DiscoverySpec
|
636
634
|
include ::Google::Protobuf::MessageExts
|
637
635
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -682,6 +680,10 @@ module Google
|
|
682
680
|
# @!attribute [rw] type
|
683
681
|
# @return [::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::Type]
|
684
682
|
# Required. Immutable. Type of resource.
|
683
|
+
# @!attribute [rw] read_access_mode
|
684
|
+
# @return [::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::AccessMode]
|
685
|
+
# Optional. Determines how read permissions are handled for each asset and
|
686
|
+
# their associated tables. Only available to storage buckets assets.
|
685
687
|
class ResourceSpec
|
686
688
|
include ::Google::Protobuf::MessageExts
|
687
689
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -697,6 +699,19 @@ module Google
|
|
697
699
|
# BigQuery dataset.
|
698
700
|
BIGQUERY_DATASET = 2
|
699
701
|
end
|
702
|
+
|
703
|
+
# Access Mode determines how data stored within the resource is read. This
|
704
|
+
# is only applicable to storage bucket assets.
|
705
|
+
module AccessMode
|
706
|
+
# Access mode unspecified.
|
707
|
+
ACCESS_MODE_UNSPECIFIED = 0
|
708
|
+
|
709
|
+
# Default. Data is accessed directly using storage APIs.
|
710
|
+
DIRECT = 1
|
711
|
+
|
712
|
+
# Data is accessed through a managed interface using BigQuery APIs.
|
713
|
+
MANAGED = 2
|
714
|
+
end
|
700
715
|
end
|
701
716
|
|
702
717
|
# Status of the resource referenced by an asset.
|
@@ -709,6 +724,9 @@ module Google
|
|
709
724
|
# @!attribute [rw] update_time
|
710
725
|
# @return [::Google::Protobuf::Timestamp]
|
711
726
|
# Last update time of the status.
|
727
|
+
# @!attribute [r] managed_access_identity
|
728
|
+
# @return [::String]
|
729
|
+
# Output only. Service account associated with the BigQuery Connection.
|
712
730
|
class ResourceStatus
|
713
731
|
include ::Google::Protobuf::MessageExts
|
714
732
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -553,6 +553,23 @@ module Google
|
|
553
553
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
554
554
|
end
|
555
555
|
|
556
|
+
# @!attribute [rw] name
|
557
|
+
# @return [::String]
|
558
|
+
# Required. The resource name of the task:
|
559
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
|
560
|
+
class RunTaskRequest
|
561
|
+
include ::Google::Protobuf::MessageExts
|
562
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
563
|
+
end
|
564
|
+
|
565
|
+
# @!attribute [rw] job
|
566
|
+
# @return [::Google::Cloud::Dataplex::V1::Job]
|
567
|
+
# Jobs created by RunTask API.
|
568
|
+
class RunTaskResponse
|
569
|
+
include ::Google::Protobuf::MessageExts
|
570
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
571
|
+
end
|
572
|
+
|
556
573
|
# List jobs request.
|
557
574
|
# @!attribute [rw] parent
|
558
575
|
# @return [::String]
|
@@ -174,9 +174,8 @@ module Google
|
|
174
174
|
# tab, apply a prefix in the cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or
|
175
175
|
# "TZ=$\\{IANA_TIME_ZONE}". The $\\{IANA_TIME_ZONE} may only be a valid
|
176
176
|
# string from IANA time zone database. For example,
|
177
|
-
# `CRON_TZ=America/New_York 1 * * * *`,
|
178
|
-
#
|
179
|
-
# This field is required for RECURRING tasks.
|
177
|
+
# `CRON_TZ=America/New_York 1 * * * *`, or `TZ=America/New_York 1 * * *
|
178
|
+
# *`. This field is required for RECURRING tasks.
|
180
179
|
class TriggerSpec
|
181
180
|
include ::Google::Protobuf::MessageExts
|
182
181
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataplex-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|