google-cloud-dataplex-v1 0.9.0 → 0.10.1
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/lib/google/cloud/dataplex/v1/bindings_override.rb +72 -0
- data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +7 -1
- data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +7 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +19 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +19 -1
- data/lib/google/cloud/dataplex/v1/data_taxonomy_pb.rb +77 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +1931 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/credentials.rb +47 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +770 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/paths.rb +109 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +1497 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +795 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/service_stub.rb +939 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest.rb +55 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service.rb +57 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_services_pb.rb +77 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +17 -1
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +17 -1
- data/lib/google/cloud/dataplex/v1/datascans_pb.rb +1 -1
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +11 -1
- data/lib/google/cloud/dataplex/v1/rest.rb +1 -0
- data/lib/google/cloud/dataplex/v1/security_pb.rb +45 -0
- data/lib/google/cloud/dataplex/v1/service_pb.rb +1 -1
- data/lib/google/cloud/dataplex/v1/tasks_pb.rb +2 -1
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +1 -0
- data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +118 -6
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +130 -30
- data/proto_docs/google/cloud/dataplex/v1/data_taxonomy.rb +565 -0
- data/proto_docs/google/cloud/dataplex/v1/datascans.rb +19 -0
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +214 -4
- data/proto_docs/google/cloud/dataplex/v1/security.rb +61 -0
- data/proto_docs/google/cloud/dataplex/v1/service.rb +36 -0
- data/proto_docs/google/cloud/dataplex/v1/tasks.rb +31 -0
- metadata +16 -2
@@ -0,0 +1,565 @@
|
|
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
|
+
# DataTaxonomy represents a set of hierarchical DataAttributes resources,
|
25
|
+
# grouped with a common theme Eg: 'SensitiveDataTaxonomy' can have attributes
|
26
|
+
# to manage PII data. It is defined at project level.
|
27
|
+
# @!attribute [r] name
|
28
|
+
# @return [::String]
|
29
|
+
# Output only. The relative resource name of the DataTaxonomy, of the form:
|
30
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataTaxonomies/\\{data_taxonomy_id}.
|
31
|
+
# @!attribute [r] uid
|
32
|
+
# @return [::String]
|
33
|
+
# Output only. System generated globally unique ID for the dataTaxonomy. This
|
34
|
+
# ID will be different if the DataTaxonomy is deleted and re-created with the
|
35
|
+
# same name.
|
36
|
+
# @!attribute [r] create_time
|
37
|
+
# @return [::Google::Protobuf::Timestamp]
|
38
|
+
# Output only. The time when the DataTaxonomy was created.
|
39
|
+
# @!attribute [r] update_time
|
40
|
+
# @return [::Google::Protobuf::Timestamp]
|
41
|
+
# Output only. The time when the DataTaxonomy was last updated.
|
42
|
+
# @!attribute [rw] description
|
43
|
+
# @return [::String]
|
44
|
+
# Optional. Description of the DataTaxonomy.
|
45
|
+
# @!attribute [rw] display_name
|
46
|
+
# @return [::String]
|
47
|
+
# Optional. User friendly display name.
|
48
|
+
# @!attribute [rw] labels
|
49
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
50
|
+
# Optional. User-defined labels for the DataTaxonomy.
|
51
|
+
# @!attribute [r] attribute_count
|
52
|
+
# @return [::Integer]
|
53
|
+
# Output only. The number of attributes in the DataTaxonomy.
|
54
|
+
# @!attribute [rw] etag
|
55
|
+
# @return [::String]
|
56
|
+
# This checksum is computed by the server based on the value of other
|
57
|
+
# fields, and may be sent on update and delete requests to ensure the
|
58
|
+
# client has an up-to-date value before proceeding.
|
59
|
+
# @!attribute [r] class_count
|
60
|
+
# @return [::Integer]
|
61
|
+
# Output only. The number of classes in the DataTaxonomy.
|
62
|
+
class DataTaxonomy
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
|
66
|
+
# @!attribute [rw] key
|
67
|
+
# @return [::String]
|
68
|
+
# @!attribute [rw] value
|
69
|
+
# @return [::String]
|
70
|
+
class LabelsEntry
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# Denotes one dataAttribute in a dataTaxonomy, for example, PII.
|
77
|
+
# DataAttribute resources can be defined in a hierarchy.
|
78
|
+
# A single dataAttribute resource can contain specs of multiple types
|
79
|
+
#
|
80
|
+
# ```
|
81
|
+
# PII
|
82
|
+
# - ResourceAccessSpec :
|
83
|
+
# - readers :foo@bar.com
|
84
|
+
# - DataAccessSpec :
|
85
|
+
# - readers :bar@foo.com
|
86
|
+
# ```
|
87
|
+
# @!attribute [r] name
|
88
|
+
# @return [::String]
|
89
|
+
# Output only. The relative resource name of the dataAttribute, of the form:
|
90
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataTaxonomies/\\{dataTaxonomy}/attributes/\\{data_attribute_id}.
|
91
|
+
# @!attribute [r] uid
|
92
|
+
# @return [::String]
|
93
|
+
# Output only. System generated globally unique ID for the DataAttribute.
|
94
|
+
# This ID will be different if the DataAttribute is deleted and re-created
|
95
|
+
# with the same name.
|
96
|
+
# @!attribute [r] create_time
|
97
|
+
# @return [::Google::Protobuf::Timestamp]
|
98
|
+
# Output only. The time when the DataAttribute was created.
|
99
|
+
# @!attribute [r] update_time
|
100
|
+
# @return [::Google::Protobuf::Timestamp]
|
101
|
+
# Output only. The time when the DataAttribute was last updated.
|
102
|
+
# @!attribute [rw] description
|
103
|
+
# @return [::String]
|
104
|
+
# Optional. Description of the DataAttribute.
|
105
|
+
# @!attribute [rw] display_name
|
106
|
+
# @return [::String]
|
107
|
+
# Optional. User friendly display name.
|
108
|
+
# @!attribute [rw] labels
|
109
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
110
|
+
# Optional. User-defined labels for the DataAttribute.
|
111
|
+
# @!attribute [rw] parent_id
|
112
|
+
# @return [::String]
|
113
|
+
# Optional. The ID of the parent DataAttribute resource, should belong to the
|
114
|
+
# same data taxonomy. Circular dependency in parent chain is not valid.
|
115
|
+
# Maximum depth of the hierarchy allowed is 4.
|
116
|
+
# [a -> b -> c -> d -> e, depth = 4]
|
117
|
+
# @!attribute [r] attribute_count
|
118
|
+
# @return [::Integer]
|
119
|
+
# Output only. The number of child attributes present for this attribute.
|
120
|
+
# @!attribute [rw] etag
|
121
|
+
# @return [::String]
|
122
|
+
# This checksum is computed by the server based on the value of other
|
123
|
+
# fields, and may be sent on update and delete requests to ensure the
|
124
|
+
# client has an up-to-date value before proceeding.
|
125
|
+
# @!attribute [rw] resource_access_spec
|
126
|
+
# @return [::Google::Cloud::Dataplex::V1::ResourceAccessSpec]
|
127
|
+
# Optional. Specified when applied to a resource (eg: Cloud Storage bucket,
|
128
|
+
# BigQuery dataset, BigQuery table).
|
129
|
+
# @!attribute [rw] data_access_spec
|
130
|
+
# @return [::Google::Cloud::Dataplex::V1::DataAccessSpec]
|
131
|
+
# Optional. Specified when applied to data stored on the resource (eg: rows,
|
132
|
+
# columns in BigQuery Tables).
|
133
|
+
class DataAttribute
|
134
|
+
include ::Google::Protobuf::MessageExts
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
136
|
+
|
137
|
+
# @!attribute [rw] key
|
138
|
+
# @return [::String]
|
139
|
+
# @!attribute [rw] value
|
140
|
+
# @return [::String]
|
141
|
+
class LabelsEntry
|
142
|
+
include ::Google::Protobuf::MessageExts
|
143
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# DataAttributeBinding represents binding of attributes to resources. Eg: Bind
|
148
|
+
# 'CustomerInfo' entity with 'PII' attribute.
|
149
|
+
# @!attribute [r] name
|
150
|
+
# @return [::String]
|
151
|
+
# Output only. The relative resource name of the Data Attribute Binding, of
|
152
|
+
# the form:
|
153
|
+
# projects/\\{project_number}/locations/\\{location}/dataAttributeBindings/\\{data_attribute_binding_id}
|
154
|
+
# @!attribute [r] uid
|
155
|
+
# @return [::String]
|
156
|
+
# Output only. System generated globally unique ID for the
|
157
|
+
# DataAttributeBinding. This ID will be different if the DataAttributeBinding
|
158
|
+
# is deleted and re-created with the same name.
|
159
|
+
# @!attribute [r] create_time
|
160
|
+
# @return [::Google::Protobuf::Timestamp]
|
161
|
+
# Output only. The time when the DataAttributeBinding was created.
|
162
|
+
# @!attribute [r] update_time
|
163
|
+
# @return [::Google::Protobuf::Timestamp]
|
164
|
+
# Output only. The time when the DataAttributeBinding was last updated.
|
165
|
+
# @!attribute [rw] description
|
166
|
+
# @return [::String]
|
167
|
+
# Optional. Description of the DataAttributeBinding.
|
168
|
+
# @!attribute [rw] display_name
|
169
|
+
# @return [::String]
|
170
|
+
# Optional. User friendly display name.
|
171
|
+
# @!attribute [rw] labels
|
172
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
173
|
+
# Optional. User-defined labels for the DataAttributeBinding.
|
174
|
+
# @!attribute [rw] etag
|
175
|
+
# @return [::String]
|
176
|
+
# This checksum is computed by the server based on the value of other
|
177
|
+
# fields, and may be sent on update and delete requests to ensure the
|
178
|
+
# client has an up-to-date value before proceeding.
|
179
|
+
# Etags must be used when calling the DeleteDataAttributeBinding and the
|
180
|
+
# UpdateDataAttributeBinding method.
|
181
|
+
# @!attribute [rw] resource
|
182
|
+
# @return [::String]
|
183
|
+
# Optional. Immutable. The resource name of the resource that is associated
|
184
|
+
# to attributes. Presently, only entity resource is supported in the form:
|
185
|
+
# projects/\\{project}/locations/\\{location}/lakes/\\{lake}/zones/\\{zone}/entities/\\{entity_id}
|
186
|
+
# Must belong in the same project and region as the attribute binding, and
|
187
|
+
# there can only exist one active binding for a resource.
|
188
|
+
# @!attribute [rw] attributes
|
189
|
+
# @return [::Array<::String>]
|
190
|
+
# Optional. List of attributes to be associated with the resource, provided
|
191
|
+
# in the form:
|
192
|
+
# projects/\\{project}/locations/\\{location}/dataTaxonomies/\\{dataTaxonomy}/attributes/\\{data_attribute_id}
|
193
|
+
# @!attribute [rw] paths
|
194
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::DataAttributeBinding::Path>]
|
195
|
+
# Optional. The list of paths for items within the associated resource (eg.
|
196
|
+
# columns and partitions within a table) along with attribute bindings.
|
197
|
+
class DataAttributeBinding
|
198
|
+
include ::Google::Protobuf::MessageExts
|
199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
200
|
+
|
201
|
+
# Represents a subresource of the given resource, and associated bindings
|
202
|
+
# with it. Currently supported subresources are column and partition schema
|
203
|
+
# fields within a table.
|
204
|
+
# @!attribute [rw] name
|
205
|
+
# @return [::String]
|
206
|
+
# Required. The name identifier of the path.
|
207
|
+
# Nested columns should be of the form: 'address.city'.
|
208
|
+
# @!attribute [rw] attributes
|
209
|
+
# @return [::Array<::String>]
|
210
|
+
# Optional. List of attributes to be associated with the path of the
|
211
|
+
# resource, provided in the form:
|
212
|
+
# projects/\\{project}/locations/\\{location}/dataTaxonomies/\\{dataTaxonomy}/attributes/\\{data_attribute_id}
|
213
|
+
class Path
|
214
|
+
include ::Google::Protobuf::MessageExts
|
215
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
216
|
+
end
|
217
|
+
|
218
|
+
# @!attribute [rw] key
|
219
|
+
# @return [::String]
|
220
|
+
# @!attribute [rw] value
|
221
|
+
# @return [::String]
|
222
|
+
class LabelsEntry
|
223
|
+
include ::Google::Protobuf::MessageExts
|
224
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
# Create DataTaxonomy request.
|
229
|
+
# @!attribute [rw] parent
|
230
|
+
# @return [::String]
|
231
|
+
# Required. The resource name of the data taxonomy location, of the form:
|
232
|
+
# projects/\\{project_number}/locations/\\{location_id}
|
233
|
+
# where `location_id` refers to a GCP region.
|
234
|
+
# @!attribute [rw] data_taxonomy_id
|
235
|
+
# @return [::String]
|
236
|
+
# Required. DataTaxonomy identifier.
|
237
|
+
# * Must contain only lowercase letters, numbers and hyphens.
|
238
|
+
# * Must start with a letter.
|
239
|
+
# * Must be between 1-63 characters.
|
240
|
+
# * Must end with a number or a letter.
|
241
|
+
# * Must be unique within the Project.
|
242
|
+
# @!attribute [rw] data_taxonomy
|
243
|
+
# @return [::Google::Cloud::Dataplex::V1::DataTaxonomy]
|
244
|
+
# Required. DataTaxonomy resource.
|
245
|
+
# @!attribute [rw] validate_only
|
246
|
+
# @return [::Boolean]
|
247
|
+
# Optional. Only validate the request, but do not perform mutations.
|
248
|
+
# The default is false.
|
249
|
+
class CreateDataTaxonomyRequest
|
250
|
+
include ::Google::Protobuf::MessageExts
|
251
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
252
|
+
end
|
253
|
+
|
254
|
+
# Update DataTaxonomy request.
|
255
|
+
# @!attribute [rw] update_mask
|
256
|
+
# @return [::Google::Protobuf::FieldMask]
|
257
|
+
# Required. Mask of fields to update.
|
258
|
+
# @!attribute [rw] data_taxonomy
|
259
|
+
# @return [::Google::Cloud::Dataplex::V1::DataTaxonomy]
|
260
|
+
# Required. Only fields specified in `update_mask` are updated.
|
261
|
+
# @!attribute [rw] validate_only
|
262
|
+
# @return [::Boolean]
|
263
|
+
# Optional. Only validate the request, but do not perform mutations.
|
264
|
+
# The default is false.
|
265
|
+
class UpdateDataTaxonomyRequest
|
266
|
+
include ::Google::Protobuf::MessageExts
|
267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
268
|
+
end
|
269
|
+
|
270
|
+
# Get DataTaxonomy request.
|
271
|
+
# @!attribute [rw] name
|
272
|
+
# @return [::String]
|
273
|
+
# Required. The resource name of the DataTaxonomy:
|
274
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataTaxonomies/\\{data_taxonomy_id}
|
275
|
+
class GetDataTaxonomyRequest
|
276
|
+
include ::Google::Protobuf::MessageExts
|
277
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
278
|
+
end
|
279
|
+
|
280
|
+
# List DataTaxonomies request.
|
281
|
+
# @!attribute [rw] parent
|
282
|
+
# @return [::String]
|
283
|
+
# Required. The resource name of the DataTaxonomy location, of the form:
|
284
|
+
# projects/\\{project_number}/locations/\\{location_id}
|
285
|
+
# where `location_id` refers to a GCP region.
|
286
|
+
# @!attribute [rw] page_size
|
287
|
+
# @return [::Integer]
|
288
|
+
# Optional. Maximum number of DataTaxonomies to return. The service may
|
289
|
+
# return fewer than this value. If unspecified, at most 10 DataTaxonomies
|
290
|
+
# will be returned. The maximum value is 1000; values above 1000 will be
|
291
|
+
# coerced to 1000.
|
292
|
+
# @!attribute [rw] page_token
|
293
|
+
# @return [::String]
|
294
|
+
# Optional. Page token received from a previous ` ListDataTaxonomies` call.
|
295
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
296
|
+
# parameters provided to ` ListDataTaxonomies` must match the call that
|
297
|
+
# provided the page token.
|
298
|
+
# @!attribute [rw] filter
|
299
|
+
# @return [::String]
|
300
|
+
# Optional. Filter request.
|
301
|
+
# @!attribute [rw] order_by
|
302
|
+
# @return [::String]
|
303
|
+
# Optional. Order by fields for the result.
|
304
|
+
class ListDataTaxonomiesRequest
|
305
|
+
include ::Google::Protobuf::MessageExts
|
306
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
307
|
+
end
|
308
|
+
|
309
|
+
# List DataTaxonomies response.
|
310
|
+
# @!attribute [rw] data_taxonomies
|
311
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::DataTaxonomy>]
|
312
|
+
# DataTaxonomies under the given parent location.
|
313
|
+
# @!attribute [rw] next_page_token
|
314
|
+
# @return [::String]
|
315
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
316
|
+
# results in the list.
|
317
|
+
# @!attribute [rw] unreachable_locations
|
318
|
+
# @return [::Array<::String>]
|
319
|
+
# Locations that could not be reached.
|
320
|
+
class ListDataTaxonomiesResponse
|
321
|
+
include ::Google::Protobuf::MessageExts
|
322
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
323
|
+
end
|
324
|
+
|
325
|
+
# Delete DataTaxonomy request.
|
326
|
+
# @!attribute [rw] name
|
327
|
+
# @return [::String]
|
328
|
+
# Required. The resource name of the DataTaxonomy:
|
329
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataTaxonomies/\\{data_taxonomy_id}
|
330
|
+
# @!attribute [rw] etag
|
331
|
+
# @return [::String]
|
332
|
+
# Optional. If the client provided etag value does not match the current etag
|
333
|
+
# value,the DeleteDataTaxonomy method returns an ABORTED error.
|
334
|
+
class DeleteDataTaxonomyRequest
|
335
|
+
include ::Google::Protobuf::MessageExts
|
336
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
337
|
+
end
|
338
|
+
|
339
|
+
# Create DataAttribute request.
|
340
|
+
# @!attribute [rw] parent
|
341
|
+
# @return [::String]
|
342
|
+
# Required. The resource name of the parent data taxonomy
|
343
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataTaxonomies/\\{data_taxonomy_id}
|
344
|
+
# @!attribute [rw] data_attribute_id
|
345
|
+
# @return [::String]
|
346
|
+
# Required. DataAttribute identifier.
|
347
|
+
# * Must contain only lowercase letters, numbers and hyphens.
|
348
|
+
# * Must start with a letter.
|
349
|
+
# * Must be between 1-63 characters.
|
350
|
+
# * Must end with a number or a letter.
|
351
|
+
# * Must be unique within the DataTaxonomy.
|
352
|
+
# @!attribute [rw] data_attribute
|
353
|
+
# @return [::Google::Cloud::Dataplex::V1::DataAttribute]
|
354
|
+
# Required. DataAttribute resource.
|
355
|
+
# @!attribute [rw] validate_only
|
356
|
+
# @return [::Boolean]
|
357
|
+
# Optional. Only validate the request, but do not perform mutations.
|
358
|
+
# The default is false.
|
359
|
+
class CreateDataAttributeRequest
|
360
|
+
include ::Google::Protobuf::MessageExts
|
361
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
362
|
+
end
|
363
|
+
|
364
|
+
# Update DataAttribute request.
|
365
|
+
# @!attribute [rw] update_mask
|
366
|
+
# @return [::Google::Protobuf::FieldMask]
|
367
|
+
# Required. Mask of fields to update.
|
368
|
+
# @!attribute [rw] data_attribute
|
369
|
+
# @return [::Google::Cloud::Dataplex::V1::DataAttribute]
|
370
|
+
# Required. Only fields specified in `update_mask` are updated.
|
371
|
+
# @!attribute [rw] validate_only
|
372
|
+
# @return [::Boolean]
|
373
|
+
# Optional. Only validate the request, but do not perform mutations.
|
374
|
+
# The default is false.
|
375
|
+
class UpdateDataAttributeRequest
|
376
|
+
include ::Google::Protobuf::MessageExts
|
377
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
378
|
+
end
|
379
|
+
|
380
|
+
# Get DataAttribute request.
|
381
|
+
# @!attribute [rw] name
|
382
|
+
# @return [::String]
|
383
|
+
# Required. The resource name of the dataAttribute:
|
384
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataTaxonomies/\\{dataTaxonomy}/attributes/\\{data_attribute_id}
|
385
|
+
class GetDataAttributeRequest
|
386
|
+
include ::Google::Protobuf::MessageExts
|
387
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
388
|
+
end
|
389
|
+
|
390
|
+
# List DataAttributes request.
|
391
|
+
# @!attribute [rw] parent
|
392
|
+
# @return [::String]
|
393
|
+
# Required. The resource name of the DataTaxonomy:
|
394
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataTaxonomies/\\{data_taxonomy_id}
|
395
|
+
# @!attribute [rw] page_size
|
396
|
+
# @return [::Integer]
|
397
|
+
# Optional. Maximum number of DataAttributes to return. The service may
|
398
|
+
# return fewer than this value. If unspecified, at most 10 dataAttributes
|
399
|
+
# will be returned. The maximum value is 1000; values above 1000 will be
|
400
|
+
# coerced to 1000.
|
401
|
+
# @!attribute [rw] page_token
|
402
|
+
# @return [::String]
|
403
|
+
# Optional. Page token received from a previous `ListDataAttributes` call.
|
404
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
405
|
+
# parameters provided to `ListDataAttributes` must match the call that
|
406
|
+
# provided the page token.
|
407
|
+
# @!attribute [rw] filter
|
408
|
+
# @return [::String]
|
409
|
+
# Optional. Filter request.
|
410
|
+
# @!attribute [rw] order_by
|
411
|
+
# @return [::String]
|
412
|
+
# Optional. Order by fields for the result.
|
413
|
+
class ListDataAttributesRequest
|
414
|
+
include ::Google::Protobuf::MessageExts
|
415
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
416
|
+
end
|
417
|
+
|
418
|
+
# List DataAttributes response.
|
419
|
+
# @!attribute [rw] data_attributes
|
420
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::DataAttribute>]
|
421
|
+
# DataAttributes under the given parent DataTaxonomy.
|
422
|
+
# @!attribute [rw] next_page_token
|
423
|
+
# @return [::String]
|
424
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
425
|
+
# results in the list.
|
426
|
+
# @!attribute [rw] unreachable_locations
|
427
|
+
# @return [::Array<::String>]
|
428
|
+
# Locations that could not be reached.
|
429
|
+
class ListDataAttributesResponse
|
430
|
+
include ::Google::Protobuf::MessageExts
|
431
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
432
|
+
end
|
433
|
+
|
434
|
+
# Delete DataAttribute request.
|
435
|
+
# @!attribute [rw] name
|
436
|
+
# @return [::String]
|
437
|
+
# Required. The resource name of the DataAttribute:
|
438
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataTaxonomies/\\{dataTaxonomy}/attributes/\\{data_attribute_id}
|
439
|
+
# @!attribute [rw] etag
|
440
|
+
# @return [::String]
|
441
|
+
# Optional. If the client provided etag value does not match the current etag
|
442
|
+
# value, the DeleteDataAttribute method returns an ABORTED error response.
|
443
|
+
class DeleteDataAttributeRequest
|
444
|
+
include ::Google::Protobuf::MessageExts
|
445
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
446
|
+
end
|
447
|
+
|
448
|
+
# Create DataAttributeBinding request.
|
449
|
+
# @!attribute [rw] parent
|
450
|
+
# @return [::String]
|
451
|
+
# Required. The resource name of the parent data taxonomy
|
452
|
+
# projects/\\{project_number}/locations/\\{location_id}
|
453
|
+
# @!attribute [rw] data_attribute_binding_id
|
454
|
+
# @return [::String]
|
455
|
+
# Required. DataAttributeBinding identifier.
|
456
|
+
# * Must contain only lowercase letters, numbers and hyphens.
|
457
|
+
# * Must start with a letter.
|
458
|
+
# * Must be between 1-63 characters.
|
459
|
+
# * Must end with a number or a letter.
|
460
|
+
# * Must be unique within the Location.
|
461
|
+
# @!attribute [rw] data_attribute_binding
|
462
|
+
# @return [::Google::Cloud::Dataplex::V1::DataAttributeBinding]
|
463
|
+
# Required. DataAttributeBinding resource.
|
464
|
+
# @!attribute [rw] validate_only
|
465
|
+
# @return [::Boolean]
|
466
|
+
# Optional. Only validate the request, but do not perform mutations.
|
467
|
+
# The default is false.
|
468
|
+
class CreateDataAttributeBindingRequest
|
469
|
+
include ::Google::Protobuf::MessageExts
|
470
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
471
|
+
end
|
472
|
+
|
473
|
+
# Update DataAttributeBinding request.
|
474
|
+
# @!attribute [rw] update_mask
|
475
|
+
# @return [::Google::Protobuf::FieldMask]
|
476
|
+
# Required. Mask of fields to update.
|
477
|
+
# @!attribute [rw] data_attribute_binding
|
478
|
+
# @return [::Google::Cloud::Dataplex::V1::DataAttributeBinding]
|
479
|
+
# Required. Only fields specified in `update_mask` are updated.
|
480
|
+
# @!attribute [rw] validate_only
|
481
|
+
# @return [::Boolean]
|
482
|
+
# Optional. Only validate the request, but do not perform mutations.
|
483
|
+
# The default is false.
|
484
|
+
class UpdateDataAttributeBindingRequest
|
485
|
+
include ::Google::Protobuf::MessageExts
|
486
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
487
|
+
end
|
488
|
+
|
489
|
+
# Get DataAttributeBinding request.
|
490
|
+
# @!attribute [rw] name
|
491
|
+
# @return [::String]
|
492
|
+
# Required. The resource name of the DataAttributeBinding:
|
493
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataAttributeBindings/\\{data_attribute_binding_id}
|
494
|
+
class GetDataAttributeBindingRequest
|
495
|
+
include ::Google::Protobuf::MessageExts
|
496
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
497
|
+
end
|
498
|
+
|
499
|
+
# List DataAttributeBindings request.
|
500
|
+
# @!attribute [rw] parent
|
501
|
+
# @return [::String]
|
502
|
+
# Required. The resource name of the Location:
|
503
|
+
# projects/\\{project_number}/locations/\\{location_id}
|
504
|
+
# @!attribute [rw] page_size
|
505
|
+
# @return [::Integer]
|
506
|
+
# Optional. Maximum number of DataAttributeBindings to return. The service
|
507
|
+
# may return fewer than this value. If unspecified, at most 10
|
508
|
+
# DataAttributeBindings will be returned. The maximum value is 1000; values
|
509
|
+
# above 1000 will be coerced to 1000.
|
510
|
+
# @!attribute [rw] page_token
|
511
|
+
# @return [::String]
|
512
|
+
# Optional. Page token received from a previous `ListDataAttributeBindings`
|
513
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all
|
514
|
+
# other parameters provided to `ListDataAttributeBindings` must match the
|
515
|
+
# call that provided the page token.
|
516
|
+
# @!attribute [rw] filter
|
517
|
+
# @return [::String]
|
518
|
+
# Optional. Filter request.
|
519
|
+
# Filter using resource: filter=resource:"resource-name"
|
520
|
+
# Filter using attribute: filter=attributes:"attribute-name"
|
521
|
+
# Filter using attribute in paths list:
|
522
|
+
# filter=paths.attributes:"attribute-name"
|
523
|
+
# @!attribute [rw] order_by
|
524
|
+
# @return [::String]
|
525
|
+
# Optional. Order by fields for the result.
|
526
|
+
class ListDataAttributeBindingsRequest
|
527
|
+
include ::Google::Protobuf::MessageExts
|
528
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
529
|
+
end
|
530
|
+
|
531
|
+
# List DataAttributeBindings response.
|
532
|
+
# @!attribute [rw] data_attribute_bindings
|
533
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::DataAttributeBinding>]
|
534
|
+
# DataAttributeBindings under the given parent Location.
|
535
|
+
# @!attribute [rw] next_page_token
|
536
|
+
# @return [::String]
|
537
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
538
|
+
# results in the list.
|
539
|
+
# @!attribute [rw] unreachable_locations
|
540
|
+
# @return [::Array<::String>]
|
541
|
+
# Locations that could not be reached.
|
542
|
+
class ListDataAttributeBindingsResponse
|
543
|
+
include ::Google::Protobuf::MessageExts
|
544
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
545
|
+
end
|
546
|
+
|
547
|
+
# Delete DataAttributeBinding request.
|
548
|
+
# @!attribute [rw] name
|
549
|
+
# @return [::String]
|
550
|
+
# Required. The resource name of the DataAttributeBinding:
|
551
|
+
# projects/\\{project_number}/locations/\\{location_id}/dataAttributeBindings/\\{data_attribute_binding_id}
|
552
|
+
# @!attribute [rw] etag
|
553
|
+
# @return [::String]
|
554
|
+
# Required. If the client provided etag value does not match the current etag
|
555
|
+
# value, the DeleteDataAttributeBindingRequest method returns an ABORTED
|
556
|
+
# error response. Etags must be used when calling the
|
557
|
+
# DeleteDataAttributeBinding.
|
558
|
+
class DeleteDataAttributeBindingRequest
|
559
|
+
include ::Google::Protobuf::MessageExts
|
560
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
561
|
+
end
|
562
|
+
end
|
563
|
+
end
|
564
|
+
end
|
565
|
+
end
|
@@ -221,6 +221,25 @@ module Google
|
|
221
221
|
# Provide this to retrieve the subsequent page. When paginating, all other
|
222
222
|
# parameters provided to `ListDataScanJobs` must match the call that provided
|
223
223
|
# the page token.
|
224
|
+
# @!attribute [rw] filter
|
225
|
+
# @return [::String]
|
226
|
+
# Optional. An expression for filtering the results of the ListDataScanJobs
|
227
|
+
# request.
|
228
|
+
#
|
229
|
+
# If unspecified, all datascan jobs will be returned. Multiple filters can be
|
230
|
+
# applied (with `AND`, `OR` logical operators). Filters are case-sensitive.
|
231
|
+
#
|
232
|
+
# Allowed fields are:
|
233
|
+
#
|
234
|
+
# - `start_time`
|
235
|
+
# - `end_time`
|
236
|
+
#
|
237
|
+
# `start_time` and `end_time` expect RFC-3339 formatted strings (e.g.
|
238
|
+
# 2018-10-08T18:30:00-07:00).
|
239
|
+
#
|
240
|
+
# For instance, 'start_time > 2018-10-08T00:00:00.123456789Z AND end_time <
|
241
|
+
# 2018-10-09T00:00:00.123456789Z' limits results to DataScanJobs between
|
242
|
+
# specified start and end times.
|
224
243
|
class ListDataScanJobsRequest
|
225
244
|
include ::Google::Protobuf::MessageExts
|
226
245
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|