google-cloud-data_catalog-v1 0.5.0 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +8 -8
  3. data/LICENSE.md +188 -190
  4. data/README.md +3 -3
  5. data/lib/google/cloud/data_catalog/v1.rb +2 -0
  6. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +222 -128
  7. data/lib/google/cloud/data_catalog/v1/data_catalog/paths.rb +23 -0
  8. data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +54 -0
  9. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +1321 -0
  10. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/credentials.rb +51 -0
  11. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/paths.rb +90 -0
  12. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +51 -0
  13. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +474 -0
  14. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/credentials.rb +51 -0
  15. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/paths.rb +69 -0
  16. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  17. data/lib/google/cloud/datacatalog/v1/common_pb.rb +1 -0
  18. data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +30 -0
  19. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +25 -0
  20. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +6 -3
  21. data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +107 -0
  22. data/lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb +86 -0
  23. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +70 -0
  24. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb +62 -0
  25. data/lib/google/cloud/datacatalog/v1/search_pb.rb +2 -0
  26. data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +1 -0
  27. data/lib/google/cloud/datacatalog/v1/tags_pb.rb +1 -0
  28. data/proto_docs/google/api/field_behavior.rb +7 -1
  29. data/proto_docs/google/cloud/datacatalog/v1/common.rb +3 -0
  30. data/proto_docs/google/cloud/datacatalog/v1/data_source.rb +51 -0
  31. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +212 -111
  32. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +303 -0
  33. data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +141 -0
  34. data/proto_docs/google/cloud/datacatalog/v1/schema.rb +16 -4
  35. data/proto_docs/google/cloud/datacatalog/v1/search.rb +14 -0
  36. data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +3 -0
  37. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +44 -21
  38. data/proto_docs/google/type/expr.rb +35 -12
  39. metadata +34 -12
@@ -0,0 +1,303 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 DataCatalog
23
+ module V1
24
+ # A taxonomy is a collection of hierarchical policy tags that classify data
25
+ # along a common axis. For instance a "data sensitivity" taxonomy could contain
26
+ # the following policy tags:
27
+ #
28
+ # ```
29
+ # + PII
30
+ # + Account number
31
+ # + Age
32
+ # + SSN
33
+ # + Zipcode
34
+ # + Financials
35
+ # + Revenue
36
+ # ```
37
+ #
38
+ # A "data origin" taxonomy could contain the following policy tags:
39
+ #
40
+ # ```
41
+ # + User data
42
+ # + Employee data
43
+ # + Partner data
44
+ # + Public data
45
+ # ```
46
+ # @!attribute [r] name
47
+ # @return [::String]
48
+ # Output only. Resource name of this taxonomy in format:
49
+ # "projects/\\{project_number}/locations/\\{location_id}/taxonomies/\\{taxonomy_id}".
50
+ # Note that taxonomy_id's are unique and generated by Policy Tag Manager.
51
+ # @!attribute [rw] display_name
52
+ # @return [::String]
53
+ # Required. User-defined name of this taxonomy. It must: contain only unicode letters,
54
+ # numbers, underscores, dashes and spaces; not start or end with spaces; and
55
+ # be at most 200 bytes long when encoded in UTF-8.
56
+ # @!attribute [rw] description
57
+ # @return [::String]
58
+ # Optional. Description of this taxonomy. It must: contain only unicode characters,
59
+ # tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
60
+ # long when encoded in UTF-8. If not set, defaults to an empty description.
61
+ # @!attribute [r] policy_tag_count
62
+ # @return [::Integer]
63
+ # Output only. Number of policy tags contained in this taxonomy.
64
+ # @!attribute [r] taxonomy_timestamps
65
+ # @return [::Google::Cloud::DataCatalog::V1::SystemTimestamps]
66
+ # Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
67
+ # @!attribute [rw] activated_policy_types
68
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::Taxonomy::PolicyType>]
69
+ # Optional. A list of policy types that are activated for this taxonomy. If not set,
70
+ # defaults to an empty list.
71
+ class Taxonomy
72
+ include ::Google::Protobuf::MessageExts
73
+ extend ::Google::Protobuf::MessageExts::ClassMethods
74
+
75
+ # Defines policy types where the policy tags can be used for.
76
+ module PolicyType
77
+ # Unspecified policy type.
78
+ POLICY_TYPE_UNSPECIFIED = 0
79
+
80
+ # Fine-grained access control policy, which enables access control on
81
+ # tagged sub-resources.
82
+ FINE_GRAINED_ACCESS_CONTROL = 1
83
+ end
84
+ end
85
+
86
+ # Denotes one policy tag in a taxonomy (e.g. ssn). Policy tags can be defined
87
+ # in a hierarchy. For example, consider the following hierarchy:
88
+ #
89
+ # ```
90
+ # + Geolocation
91
+ # + LatLong
92
+ # + City
93
+ # + ZipCode
94
+ # ```
95
+ #
96
+ # Policy tag "Geolocation" contains 3 child policy tags: "LatLong", "City", and
97
+ # "ZipCode".
98
+ # @!attribute [r] name
99
+ # @return [::String]
100
+ # Output only. Resource name of this policy tag in format:
101
+ # "projects/\\{project_number}/locations/\\{location_id}/taxonomies/\\{taxonomy_id}/policyTags/\\{policy_tag_id}".
102
+ # Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
103
+ # Manager.
104
+ # @!attribute [rw] display_name
105
+ # @return [::String]
106
+ # Required. User-defined name of this policy tag. It must: be unique within the parent
107
+ # taxonomy; contain only unicode letters, numbers, underscores, dashes and
108
+ # spaces; not start or end with spaces; and be at most 200 bytes long when
109
+ # encoded in UTF-8.
110
+ # @!attribute [rw] description
111
+ # @return [::String]
112
+ # Description of this policy tag. It must: contain only unicode characters,
113
+ # tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
114
+ # long when encoded in UTF-8. If not set, defaults to an empty description.
115
+ # If not set, defaults to an empty description.
116
+ # @!attribute [rw] parent_policy_tag
117
+ # @return [::String]
118
+ # Resource name of this policy tag's parent policy tag (e.g. for the
119
+ # "LatLong" policy tag in the example above, this field contains the
120
+ # resource name of the "Geolocation" policy tag). If empty, it means this
121
+ # policy tag is a top level policy tag (e.g. this field is empty for the
122
+ # "Geolocation" policy tag in the example above). If not set, defaults to an
123
+ # empty string.
124
+ # @!attribute [r] child_policy_tags
125
+ # @return [::Array<::String>]
126
+ # Output only. Resource names of child policy tags of this policy tag.
127
+ class PolicyTag
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+
132
+ # Request message for
133
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#create_taxonomy CreateTaxonomy}.
134
+ # @!attribute [rw] parent
135
+ # @return [::String]
136
+ # Required. Resource name of the project that the taxonomy will belong to.
137
+ # @!attribute [rw] taxonomy
138
+ # @return [::Google::Cloud::DataCatalog::V1::Taxonomy]
139
+ # The taxonomy to be created.
140
+ class CreateTaxonomyRequest
141
+ include ::Google::Protobuf::MessageExts
142
+ extend ::Google::Protobuf::MessageExts::ClassMethods
143
+ end
144
+
145
+ # Request message for
146
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#delete_taxonomy DeleteTaxonomy}.
147
+ # @!attribute [rw] name
148
+ # @return [::String]
149
+ # Required. Resource name of the taxonomy to be deleted. All policy tags in
150
+ # this taxonomy will also be deleted.
151
+ class DeleteTaxonomyRequest
152
+ include ::Google::Protobuf::MessageExts
153
+ extend ::Google::Protobuf::MessageExts::ClassMethods
154
+ end
155
+
156
+ # Request message for
157
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#update_taxonomy UpdateTaxonomy}.
158
+ # @!attribute [rw] taxonomy
159
+ # @return [::Google::Cloud::DataCatalog::V1::Taxonomy]
160
+ # The taxonomy to update. Only description, display_name, and activated
161
+ # policy types can be updated.
162
+ # @!attribute [rw] update_mask
163
+ # @return [::Google::Protobuf::FieldMask]
164
+ # The update mask applies to the resource. For the `FieldMask` definition,
165
+ # see
166
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
167
+ # If not set, defaults to all of the fields that are allowed to update.
168
+ class UpdateTaxonomyRequest
169
+ include ::Google::Protobuf::MessageExts
170
+ extend ::Google::Protobuf::MessageExts::ClassMethods
171
+ end
172
+
173
+ # Request message for
174
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#list_taxonomies ListTaxonomies}.
175
+ # @!attribute [rw] parent
176
+ # @return [::String]
177
+ # Required. Resource name of the project to list the taxonomies of.
178
+ # @!attribute [rw] page_size
179
+ # @return [::Integer]
180
+ # The maximum number of items to return. Must be a value between 1 and 1000.
181
+ # If not set, defaults to 50.
182
+ # @!attribute [rw] page_token
183
+ # @return [::String]
184
+ # The next_page_token value returned from a previous list request, if any. If
185
+ # not set, defaults to an empty string.
186
+ class ListTaxonomiesRequest
187
+ include ::Google::Protobuf::MessageExts
188
+ extend ::Google::Protobuf::MessageExts::ClassMethods
189
+ end
190
+
191
+ # Response message for
192
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#list_taxonomies ListTaxonomies}.
193
+ # @!attribute [rw] taxonomies
194
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::Taxonomy>]
195
+ # Taxonomies that the project contains.
196
+ # @!attribute [rw] next_page_token
197
+ # @return [::String]
198
+ # Token used to retrieve the next page of results, or empty if there are no
199
+ # more results in the list.
200
+ class ListTaxonomiesResponse
201
+ include ::Google::Protobuf::MessageExts
202
+ extend ::Google::Protobuf::MessageExts::ClassMethods
203
+ end
204
+
205
+ # Request message for
206
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#get_taxonomy GetTaxonomy}.
207
+ # @!attribute [rw] name
208
+ # @return [::String]
209
+ # Required. Resource name of the requested taxonomy.
210
+ class GetTaxonomyRequest
211
+ include ::Google::Protobuf::MessageExts
212
+ extend ::Google::Protobuf::MessageExts::ClassMethods
213
+ end
214
+
215
+ # Request message for
216
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#create_policy_tag CreatePolicyTag}.
217
+ # @!attribute [rw] parent
218
+ # @return [::String]
219
+ # Required. Resource name of the taxonomy that the policy tag will belong to.
220
+ # @!attribute [rw] policy_tag
221
+ # @return [::Google::Cloud::DataCatalog::V1::PolicyTag]
222
+ # The policy tag to be created.
223
+ class CreatePolicyTagRequest
224
+ include ::Google::Protobuf::MessageExts
225
+ extend ::Google::Protobuf::MessageExts::ClassMethods
226
+ end
227
+
228
+ # Request message for
229
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#delete_policy_tag DeletePolicyTag}.
230
+ # @!attribute [rw] name
231
+ # @return [::String]
232
+ # Required. Resource name of the policy tag to be deleted. All of its descendant
233
+ # policy tags will also be deleted.
234
+ class DeletePolicyTagRequest
235
+ include ::Google::Protobuf::MessageExts
236
+ extend ::Google::Protobuf::MessageExts::ClassMethods
237
+ end
238
+
239
+ # Request message for
240
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#update_policy_tag UpdatePolicyTag}.
241
+ # @!attribute [rw] policy_tag
242
+ # @return [::Google::Cloud::DataCatalog::V1::PolicyTag]
243
+ # The policy tag to update. Only the description, display_name, and
244
+ # parent_policy_tag fields can be updated.
245
+ # @!attribute [rw] update_mask
246
+ # @return [::Google::Protobuf::FieldMask]
247
+ # The update mask applies to the resource. Only display_name, description and
248
+ # parent_policy_tag can be updated and thus can be listed in the mask. If
249
+ # update_mask is not provided, all allowed fields (i.e. display_name,
250
+ # description and parent) will be updated. For more information including the
251
+ # `FieldMask` definition, see
252
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
253
+ # If not set, defaults to all of the fields that are allowed to update.
254
+ class UpdatePolicyTagRequest
255
+ include ::Google::Protobuf::MessageExts
256
+ extend ::Google::Protobuf::MessageExts::ClassMethods
257
+ end
258
+
259
+ # Request message for
260
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#list_policy_tags ListPolicyTags}.
261
+ # @!attribute [rw] parent
262
+ # @return [::String]
263
+ # Required. Resource name of the taxonomy to list the policy tags of.
264
+ # @!attribute [rw] page_size
265
+ # @return [::Integer]
266
+ # The maximum number of items to return. Must be a value between 1 and 1000.
267
+ # If not set, defaults to 50.
268
+ # @!attribute [rw] page_token
269
+ # @return [::String]
270
+ # The next_page_token value returned from a previous List request, if any. If
271
+ # not set, defaults to an empty string.
272
+ class ListPolicyTagsRequest
273
+ include ::Google::Protobuf::MessageExts
274
+ extend ::Google::Protobuf::MessageExts::ClassMethods
275
+ end
276
+
277
+ # Response message for
278
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#list_policy_tags ListPolicyTags}.
279
+ # @!attribute [rw] policy_tags
280
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::PolicyTag>]
281
+ # The policy tags that are in the requested taxonomy.
282
+ # @!attribute [rw] next_page_token
283
+ # @return [::String]
284
+ # Token used to retrieve the next page of results, or empty if there are no
285
+ # more results in the list.
286
+ class ListPolicyTagsResponse
287
+ include ::Google::Protobuf::MessageExts
288
+ extend ::Google::Protobuf::MessageExts::ClassMethods
289
+ end
290
+
291
+ # Request message for
292
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#get_policy_tag GetPolicyTag}.
293
+ # @!attribute [rw] name
294
+ # @return [::String]
295
+ # Required. Resource name of the requested policy tag.
296
+ class GetPolicyTagRequest
297
+ include ::Google::Protobuf::MessageExts
298
+ extend ::Google::Protobuf::MessageExts::ClassMethods
299
+ end
300
+ end
301
+ end
302
+ end
303
+ end
@@ -0,0 +1,141 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 DataCatalog
23
+ module V1
24
+ # Message representing a taxonomy, including its policy tags in hierarchy, as a
25
+ # nested proto. Used for taxonomy replacement, import, and export.
26
+ # @!attribute [rw] display_name
27
+ # @return [::String]
28
+ # Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
29
+ # @!attribute [rw] description
30
+ # @return [::String]
31
+ # Description of the serialized taxonomy. At most 2000 bytes when encoded in
32
+ # UTF-8. If not set, defaults to an empty description.
33
+ # @!attribute [rw] policy_tags
34
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::SerializedPolicyTag>]
35
+ # Top level policy tags associated with the taxonomy, if any.
36
+ # @!attribute [rw] activated_policy_types
37
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::Taxonomy::PolicyType>]
38
+ # A list of policy types that are activated per taxonomy.
39
+ class SerializedTaxonomy
40
+ include ::Google::Protobuf::MessageExts
41
+ extend ::Google::Protobuf::MessageExts::ClassMethods
42
+ end
43
+
44
+ # Message representing one policy tag, including all its descendant policy
45
+ # tags, as a nested proto.
46
+ # @!attribute [rw] policy_tag
47
+ # @return [::String]
48
+ # Resource name of the policy tag.
49
+ #
50
+ # This field will be ignored when calling ImportTaxonomies.
51
+ # @!attribute [rw] display_name
52
+ # @return [::String]
53
+ # Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
54
+ # @!attribute [rw] description
55
+ # @return [::String]
56
+ # Description of the serialized policy tag. The length of the description is
57
+ # limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
58
+ # empty description.
59
+ # @!attribute [rw] child_policy_tags
60
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::SerializedPolicyTag>]
61
+ # Children of the policy tag, if any.
62
+ class SerializedPolicyTag
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # Request message for
68
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client#import_taxonomies ImportTaxonomies}.
69
+ # @!attribute [rw] parent
70
+ # @return [::String]
71
+ # Required. Resource name of project that the imported taxonomies will belong to.
72
+ # @!attribute [rw] inline_source
73
+ # @return [::Google::Cloud::DataCatalog::V1::InlineSource]
74
+ # Inline source used for taxonomies import.
75
+ # @!attribute [rw] cross_regional_source
76
+ # @return [::Google::Cloud::DataCatalog::V1::CrossRegionalSource]
77
+ # Cross-regional source taxonomy to be imported.
78
+ class ImportTaxonomiesRequest
79
+ include ::Google::Protobuf::MessageExts
80
+ extend ::Google::Protobuf::MessageExts::ClassMethods
81
+ end
82
+
83
+ # Inline source containing taxonomies to import.
84
+ # @!attribute [rw] taxonomies
85
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::SerializedTaxonomy>]
86
+ # Required. Taxonomies to be imported.
87
+ class InlineSource
88
+ include ::Google::Protobuf::MessageExts
89
+ extend ::Google::Protobuf::MessageExts::ClassMethods
90
+ end
91
+
92
+ # Cross-regional source used to import an existing taxonomy into a different
93
+ # region.
94
+ # @!attribute [rw] taxonomy
95
+ # @return [::String]
96
+ # Required. The resource name of the source taxonomy to be imported.
97
+ class CrossRegionalSource
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
+ end
101
+
102
+ # Response message for
103
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client#import_taxonomies ImportTaxonomies}.
104
+ # @!attribute [rw] taxonomies
105
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::Taxonomy>]
106
+ # Taxonomies that were imported.
107
+ class ImportTaxonomiesResponse
108
+ include ::Google::Protobuf::MessageExts
109
+ extend ::Google::Protobuf::MessageExts::ClassMethods
110
+ end
111
+
112
+ # Request message for
113
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client#export_taxonomies ExportTaxonomies}.
114
+ # @!attribute [rw] parent
115
+ # @return [::String]
116
+ # Required. Resource name of the project that the exported taxonomies belong to.
117
+ # @!attribute [rw] taxonomies
118
+ # @return [::Array<::String>]
119
+ # Required. Resource names of the taxonomies to be exported.
120
+ # @!attribute [rw] serialized_taxonomies
121
+ # @return [::Boolean]
122
+ # Export taxonomies as serialized taxonomies, which contain all the policy
123
+ # tags as nested protos.
124
+ class ExportTaxonomiesRequest
125
+ include ::Google::Protobuf::MessageExts
126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
127
+ end
128
+
129
+ # Response message for
130
+ # {::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client#export_taxonomies ExportTaxonomies}.
131
+ # @!attribute [rw] taxonomies
132
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::SerializedTaxonomy>]
133
+ # List of taxonomies and policy tags as nested protos.
134
+ class ExportTaxonomiesResponse
135
+ include ::Google::Protobuf::MessageExts
136
+ extend ::Google::Protobuf::MessageExts::ClassMethods
137
+ end
138
+ end
139
+ end
140
+ end
141
+ end
@@ -24,8 +24,10 @@ module Google
24
24
  # Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
25
25
  # @!attribute [rw] columns
26
26
  # @return [::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>]
27
- # Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
28
- # specified.
27
+ # The unified GoogleSQL-like schema of columns.
28
+ #
29
+ # The overall maximum number of columns and nested columns is 10,000.
30
+ # The maximum nested depth is 15 levels.
29
31
  class Schema
30
32
  include ::Google::Protobuf::MessageExts
31
33
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -36,16 +38,26 @@ module Google
36
38
  # @!attribute [rw] column
37
39
  # @return [::String]
38
40
  # Required. Name of the column.
41
+ #
42
+ # Must be a UTF-8 string without dots (.).
43
+ # The maximum size is 64 bytes.
39
44
  # @!attribute [rw] type
40
45
  # @return [::String]
41
46
  # Required. Type of the column.
47
+ #
48
+ # Must be a UTF-8 string with the maximum size of 128 bytes.
42
49
  # @!attribute [rw] description
43
50
  # @return [::String]
44
51
  # Optional. Description of the column. Default value is an empty string.
52
+ #
53
+ # The description must be a UTF-8 string with the maximum size of 2000
54
+ # bytes.
45
55
  # @!attribute [rw] mode
46
56
  # @return [::String]
47
- # Optional. A column's mode indicates whether the values in this column are required,
48
- # nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
57
+ # Optional. A column's mode indicates if values in this column are required,
58
+ # nullable, or repeated.
59
+ #
60
+ # Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
49
61
  # Default mode is `NULLABLE`.
50
62
  # @!attribute [rw] subcolumns
51
63
  # @return [::Array<::Google::Cloud::DataCatalog::V1::ColumnSchema>]