google-cloud-data_catalog-v1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +38 -26
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +2 -0
- data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +33 -20
- data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +48 -6
- data/proto_docs/google/cloud/datacatalog/v1/tags.rb +8 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ac8d2c74a4b359eedaceb204ae2b56df1ab3e0ad46fa1dc3418c5443986297d
|
4
|
+
data.tar.gz: 3bfe77b62cc635ae77651c68ba9f464530efece1293077dce350defc81058b12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f21af79e56907a0bacb7dc5acbc9d25c2b675bfd8bae305cc6322f15a55b2dc7b0fb9b2bdb049e643631040a0a4fcb836e6ab81badc58eb88c9255291dd9b88
|
7
|
+
data.tar.gz: fd7d4248a9526623799a59f0ee102dcb8c4e145b6ca680aa2851d376d59407e21dc8f5aecfb334c540f994888e98d25da60ad6dd04146a2751cc81ebe12f5bec
|
@@ -225,7 +225,8 @@ module Google
|
|
225
225
|
# across repeated search queries.
|
226
226
|
#
|
227
227
|
# See [Data Catalog Search
|
228
|
-
# Syntax](/data-catalog/docs/how-to/search-reference)
|
228
|
+
# Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
|
229
|
+
# for more information.
|
229
230
|
#
|
230
231
|
# @overload search_catalog(request, options = nil)
|
231
232
|
# Pass arguments to `search_catalog` via a request object, either of type
|
@@ -258,7 +259,8 @@ module Google
|
|
258
259
|
#
|
259
260
|
# Note: Query tokens need to have a minimum of 3 characters for substring
|
260
261
|
# matching to work correctly. See [Data Catalog Search
|
261
|
-
# Syntax](/data-catalog/docs/how-to/search-reference)
|
262
|
+
# Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
|
263
|
+
# for more information.
|
262
264
|
# @param page_size [Integer]
|
263
265
|
# Number of results in the search page. If <=0 then defaults to 10. Max limit
|
264
266
|
# for page_size is 1000. Throws an invalid argument for page_size > 1000.
|
@@ -337,7 +339,8 @@ module Google
|
|
337
339
|
#
|
338
340
|
# Users should enable the Data Catalog API in the project identified by
|
339
341
|
# the `parent` parameter (see [Data Catalog Resource Project]
|
340
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
342
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
343
|
+
# more information).
|
341
344
|
#
|
342
345
|
# @overload create_entry_group(request, options = nil)
|
343
346
|
# Pass arguments to `create_entry_group` via a request object, either of type
|
@@ -485,8 +488,9 @@ module Google
|
|
485
488
|
##
|
486
489
|
# Updates an EntryGroup. The user should enable the Data Catalog API in the
|
487
490
|
# project identified by the `entry_group.name` parameter (see [Data Catalog
|
488
|
-
# Resource Project]
|
489
|
-
#
|
491
|
+
# Resource Project]
|
492
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
493
|
+
# more information).
|
490
494
|
#
|
491
495
|
# @overload update_entry_group(request, options = nil)
|
492
496
|
# Pass arguments to `update_entry_group` via a request object, either of type
|
@@ -558,7 +562,8 @@ module Google
|
|
558
562
|
# Deletes an EntryGroup. Only entry groups that do not contain entries can be
|
559
563
|
# deleted. Users should enable the Data Catalog API in the project
|
560
564
|
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
561
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
565
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
566
|
+
# more information).
|
562
567
|
#
|
563
568
|
# @overload delete_entry_group(request, options = nil)
|
564
569
|
# Pass arguments to `delete_entry_group` via a request object, either of type
|
@@ -708,7 +713,8 @@ module Google
|
|
708
713
|
#
|
709
714
|
# Users should enable the Data Catalog API in the project identified by
|
710
715
|
# the `parent` parameter (see [Data Catalog Resource Project]
|
711
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
716
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
717
|
+
# more information).
|
712
718
|
#
|
713
719
|
# A maximum of 100,000 entries may be created per entry group.
|
714
720
|
#
|
@@ -788,7 +794,8 @@ module Google
|
|
788
794
|
# Updates an existing entry.
|
789
795
|
# Users should enable the Data Catalog API in the project identified by
|
790
796
|
# the `entry.name` parameter (see [Data Catalog Resource Project]
|
791
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
797
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
798
|
+
# more information).
|
792
799
|
#
|
793
800
|
# @overload update_entry(request, options = nil)
|
794
801
|
# Pass arguments to `update_entry` via a request object, either of type
|
@@ -880,7 +887,8 @@ module Google
|
|
880
887
|
# method can be deleted.
|
881
888
|
# Users should enable the Data Catalog API in the project identified by
|
882
889
|
# the `name` parameter (see [Data Catalog Resource Project]
|
883
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
890
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
891
|
+
# more information).
|
884
892
|
#
|
885
893
|
# @overload delete_entry(request, options = nil)
|
886
894
|
# Pass arguments to `delete_entry` via a request object, either of type
|
@@ -1050,7 +1058,7 @@ module Google
|
|
1050
1058
|
#
|
1051
1059
|
# Examples:
|
1052
1060
|
#
|
1053
|
-
# * `
|
1061
|
+
# * `pubsub.project_id.topic_id`
|
1054
1062
|
# * ``pubsub.project_id.`topic.id.with.dots` ``
|
1055
1063
|
# * `bigquery.table.project_id.dataset_id.table_id`
|
1056
1064
|
# * `bigquery.dataset.project_id.dataset_id`
|
@@ -1182,8 +1190,9 @@ module Google
|
|
1182
1190
|
##
|
1183
1191
|
# Creates a tag template. The user should enable the Data Catalog API in
|
1184
1192
|
# the project identified by the `parent` parameter (see [Data Catalog
|
1185
|
-
# Resource
|
1186
|
-
#
|
1193
|
+
# Resource
|
1194
|
+
# Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
|
1195
|
+
# for more information).
|
1187
1196
|
#
|
1188
1197
|
# @overload create_tag_template(request, options = nil)
|
1189
1198
|
# Pass arguments to `create_tag_template` via a request object, either of type
|
@@ -1202,8 +1211,7 @@ module Google
|
|
1202
1211
|
#
|
1203
1212
|
# @param parent [String]
|
1204
1213
|
# Required. The name of the project and the template location
|
1205
|
-
# [region](/
|
1206
|
-
# NOTE: Currently, only the `us-central1 region` is supported.
|
1214
|
+
# [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
|
1207
1215
|
#
|
1208
1216
|
# Example:
|
1209
1217
|
#
|
@@ -1332,7 +1340,8 @@ module Google
|
|
1332
1340
|
# and should be updated using their own create/update/delete methods.
|
1333
1341
|
# Users should enable the Data Catalog API in the project identified by
|
1334
1342
|
# the `tag_template.name` parameter (see [Data Catalog Resource Project]
|
1335
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
1343
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
1344
|
+
# more information).
|
1336
1345
|
#
|
1337
1346
|
# @overload update_tag_template(request, options = nil)
|
1338
1347
|
# Pass arguments to `update_tag_template` via a request object, either of type
|
@@ -1409,7 +1418,8 @@ module Google
|
|
1409
1418
|
# Deletes a tag template and all tags using the template.
|
1410
1419
|
# Users should enable the Data Catalog API in the project identified by
|
1411
1420
|
# the `name` parameter (see [Data Catalog Resource Project]
|
1412
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
1421
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
1422
|
+
# more information).
|
1413
1423
|
#
|
1414
1424
|
# @overload delete_tag_template(request, options = nil)
|
1415
1425
|
# Pass arguments to `delete_tag_template` via a request object, either of type
|
@@ -1484,8 +1494,8 @@ module Google
|
|
1484
1494
|
# Creates a field in a tag template. The user should enable the Data Catalog
|
1485
1495
|
# API in the project identified by the `parent` parameter (see
|
1486
1496
|
# [Data Catalog Resource
|
1487
|
-
# Project](/data-catalog/docs/concepts/resource-project)
|
1488
|
-
# information).
|
1497
|
+
# Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
|
1498
|
+
# for more information).
|
1489
1499
|
#
|
1490
1500
|
# @overload create_tag_template_field(request, options = nil)
|
1491
1501
|
# Pass arguments to `create_tag_template_field` via a request object, either of type
|
@@ -1504,8 +1514,7 @@ module Google
|
|
1504
1514
|
#
|
1505
1515
|
# @param parent [String]
|
1506
1516
|
# Required. The name of the project and the template location
|
1507
|
-
# [region](/
|
1508
|
-
# NOTE: Currently, only the `us-central1 region` is supported.
|
1517
|
+
# [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
|
1509
1518
|
#
|
1510
1519
|
# Example:
|
1511
1520
|
#
|
@@ -1568,7 +1577,8 @@ module Google
|
|
1568
1577
|
# Updates a field in a tag template. This method cannot be used to update the
|
1569
1578
|
# field type. Users should enable the Data Catalog API in the project
|
1570
1579
|
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
1571
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
1580
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
1581
|
+
# more information).
|
1572
1582
|
#
|
1573
1583
|
# @overload update_tag_template_field(request, options = nil)
|
1574
1584
|
# Pass arguments to `update_tag_template_field` via a request object, either of type
|
@@ -1655,8 +1665,9 @@ module Google
|
|
1655
1665
|
##
|
1656
1666
|
# Renames a field in a tag template. The user should enable the Data Catalog
|
1657
1667
|
# API in the project identified by the `name` parameter (see [Data Catalog
|
1658
|
-
# Resource
|
1659
|
-
#
|
1668
|
+
# Resource
|
1669
|
+
# Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
|
1670
|
+
# for more information).
|
1660
1671
|
#
|
1661
1672
|
# @overload rename_tag_template_field(request, options = nil)
|
1662
1673
|
# Pass arguments to `rename_tag_template_field` via a request object, either of type
|
@@ -1729,7 +1740,8 @@ module Google
|
|
1729
1740
|
# Deletes a field in a tag template and all uses of that field.
|
1730
1741
|
# Users should enable the Data Catalog API in the project identified by
|
1731
1742
|
# the `name` parameter (see [Data Catalog Resource Project]
|
1732
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
1743
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
1744
|
+
# more information).
|
1733
1745
|
#
|
1734
1746
|
# @overload delete_tag_template_field(request, options = nil)
|
1735
1747
|
# Pass arguments to `delete_tag_template_field` via a request object, either of type
|
@@ -1803,10 +1815,10 @@ module Google
|
|
1803
1815
|
##
|
1804
1816
|
# Creates a tag on an {Google::Cloud::DataCatalog::V1::Entry Entry}.
|
1805
1817
|
# Note: The project identified by the `parent` parameter for the
|
1806
|
-
# [tag](/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
|
1818
|
+
# [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
|
1807
1819
|
# and the
|
1808
1820
|
# [tag
|
1809
|
-
# template](/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
|
1821
|
+
# template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
|
1810
1822
|
# used to create the tag must be from the same organization.
|
1811
1823
|
#
|
1812
1824
|
# @overload create_tag(request, options = nil)
|
@@ -31,10 +31,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
31
31
|
repeated :include_org_ids, :string, 2
|
32
32
|
repeated :include_project_ids, :string, 3
|
33
33
|
optional :include_gcp_public_datasets, :bool, 7
|
34
|
+
repeated :restricted_locations, :string, 16
|
34
35
|
end
|
35
36
|
add_message "google.cloud.datacatalog.v1.SearchCatalogResponse" do
|
36
37
|
repeated :results, :message, 1, "google.cloud.datacatalog.v1.SearchCatalogResult"
|
37
38
|
optional :next_page_token, :string, 3
|
39
|
+
repeated :unreachable, :string, 6
|
38
40
|
end
|
39
41
|
add_message "google.cloud.datacatalog.v1.CreateEntryGroupRequest" do
|
40
42
|
optional :parent, :string, 1
|
@@ -48,7 +48,8 @@ module Google
|
|
48
48
|
# across repeated search queries.
|
49
49
|
#
|
50
50
|
# See [Data Catalog Search
|
51
|
-
# Syntax](/data-catalog/docs/how-to/search-reference)
|
51
|
+
# Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
|
52
|
+
# for more information.
|
52
53
|
rpc :SearchCatalog, Google::Cloud::DataCatalog::V1::SearchCatalogRequest, Google::Cloud::DataCatalog::V1::SearchCatalogResponse
|
53
54
|
# Creates an EntryGroup.
|
54
55
|
#
|
@@ -67,19 +68,22 @@ module Google
|
|
67
68
|
#
|
68
69
|
# Users should enable the Data Catalog API in the project identified by
|
69
70
|
# the `parent` parameter (see [Data Catalog Resource Project]
|
70
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
71
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
72
|
+
# more information).
|
71
73
|
rpc :CreateEntryGroup, Google::Cloud::DataCatalog::V1::CreateEntryGroupRequest, Google::Cloud::DataCatalog::V1::EntryGroup
|
72
74
|
# Gets an EntryGroup.
|
73
75
|
rpc :GetEntryGroup, Google::Cloud::DataCatalog::V1::GetEntryGroupRequest, Google::Cloud::DataCatalog::V1::EntryGroup
|
74
76
|
# Updates an EntryGroup. The user should enable the Data Catalog API in the
|
75
77
|
# project identified by the `entry_group.name` parameter (see [Data Catalog
|
76
|
-
# Resource Project]
|
77
|
-
#
|
78
|
+
# Resource Project]
|
79
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
80
|
+
# more information).
|
78
81
|
rpc :UpdateEntryGroup, Google::Cloud::DataCatalog::V1::UpdateEntryGroupRequest, Google::Cloud::DataCatalog::V1::EntryGroup
|
79
82
|
# Deletes an EntryGroup. Only entry groups that do not contain entries can be
|
80
83
|
# deleted. Users should enable the Data Catalog API in the project
|
81
84
|
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
82
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
85
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
86
|
+
# more information).
|
83
87
|
rpc :DeleteEntryGroup, Google::Cloud::DataCatalog::V1::DeleteEntryGroupRequest, Google::Protobuf::Empty
|
84
88
|
# Lists entry groups.
|
85
89
|
rpc :ListEntryGroups, Google::Cloud::DataCatalog::V1::ListEntryGroupsRequest, Google::Cloud::DataCatalog::V1::ListEntryGroupsResponse
|
@@ -88,21 +92,24 @@ module Google
|
|
88
92
|
#
|
89
93
|
# Users should enable the Data Catalog API in the project identified by
|
90
94
|
# the `parent` parameter (see [Data Catalog Resource Project]
|
91
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
95
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
96
|
+
# more information).
|
92
97
|
#
|
93
98
|
# A maximum of 100,000 entries may be created per entry group.
|
94
99
|
rpc :CreateEntry, Google::Cloud::DataCatalog::V1::CreateEntryRequest, Google::Cloud::DataCatalog::V1::Entry
|
95
100
|
# Updates an existing entry.
|
96
101
|
# Users should enable the Data Catalog API in the project identified by
|
97
102
|
# the `entry.name` parameter (see [Data Catalog Resource Project]
|
98
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
103
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
104
|
+
# more information).
|
99
105
|
rpc :UpdateEntry, Google::Cloud::DataCatalog::V1::UpdateEntryRequest, Google::Cloud::DataCatalog::V1::Entry
|
100
106
|
# Deletes an existing entry. Only entries created through
|
101
107
|
# [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
|
102
108
|
# method can be deleted.
|
103
109
|
# Users should enable the Data Catalog API in the project identified by
|
104
110
|
# the `name` parameter (see [Data Catalog Resource Project]
|
105
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
111
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
112
|
+
# more information).
|
106
113
|
rpc :DeleteEntry, Google::Cloud::DataCatalog::V1::DeleteEntryRequest, Google::Protobuf::Empty
|
107
114
|
# Gets an entry.
|
108
115
|
rpc :GetEntry, Google::Cloud::DataCatalog::V1::GetEntryRequest, Google::Cloud::DataCatalog::V1::Entry
|
@@ -114,8 +121,9 @@ module Google
|
|
114
121
|
rpc :ListEntries, Google::Cloud::DataCatalog::V1::ListEntriesRequest, Google::Cloud::DataCatalog::V1::ListEntriesResponse
|
115
122
|
# Creates a tag template. The user should enable the Data Catalog API in
|
116
123
|
# the project identified by the `parent` parameter (see [Data Catalog
|
117
|
-
# Resource
|
118
|
-
#
|
124
|
+
# Resource
|
125
|
+
# Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
|
126
|
+
# for more information).
|
119
127
|
rpc :CreateTagTemplate, Google::Cloud::DataCatalog::V1::CreateTagTemplateRequest, Google::Cloud::DataCatalog::V1::TagTemplate
|
120
128
|
# Gets a tag template.
|
121
129
|
rpc :GetTagTemplate, Google::Cloud::DataCatalog::V1::GetTagTemplateRequest, Google::Cloud::DataCatalog::V1::TagTemplate
|
@@ -124,40 +132,45 @@ module Google
|
|
124
132
|
# and should be updated using their own create/update/delete methods.
|
125
133
|
# Users should enable the Data Catalog API in the project identified by
|
126
134
|
# the `tag_template.name` parameter (see [Data Catalog Resource Project]
|
127
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
135
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
136
|
+
# more information).
|
128
137
|
rpc :UpdateTagTemplate, Google::Cloud::DataCatalog::V1::UpdateTagTemplateRequest, Google::Cloud::DataCatalog::V1::TagTemplate
|
129
138
|
# Deletes a tag template and all tags using the template.
|
130
139
|
# Users should enable the Data Catalog API in the project identified by
|
131
140
|
# the `name` parameter (see [Data Catalog Resource Project]
|
132
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
141
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
142
|
+
# more information).
|
133
143
|
rpc :DeleteTagTemplate, Google::Cloud::DataCatalog::V1::DeleteTagTemplateRequest, Google::Protobuf::Empty
|
134
144
|
# Creates a field in a tag template. The user should enable the Data Catalog
|
135
145
|
# API in the project identified by the `parent` parameter (see
|
136
146
|
# [Data Catalog Resource
|
137
|
-
# Project](/data-catalog/docs/concepts/resource-project)
|
138
|
-
# information).
|
147
|
+
# Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
|
148
|
+
# for more information).
|
139
149
|
rpc :CreateTagTemplateField, Google::Cloud::DataCatalog::V1::CreateTagTemplateFieldRequest, Google::Cloud::DataCatalog::V1::TagTemplateField
|
140
150
|
# Updates a field in a tag template. This method cannot be used to update the
|
141
151
|
# field type. Users should enable the Data Catalog API in the project
|
142
152
|
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
143
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
153
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
154
|
+
# more information).
|
144
155
|
rpc :UpdateTagTemplateField, Google::Cloud::DataCatalog::V1::UpdateTagTemplateFieldRequest, Google::Cloud::DataCatalog::V1::TagTemplateField
|
145
156
|
# Renames a field in a tag template. The user should enable the Data Catalog
|
146
157
|
# API in the project identified by the `name` parameter (see [Data Catalog
|
147
|
-
# Resource
|
148
|
-
#
|
158
|
+
# Resource
|
159
|
+
# Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
|
160
|
+
# for more information).
|
149
161
|
rpc :RenameTagTemplateField, Google::Cloud::DataCatalog::V1::RenameTagTemplateFieldRequest, Google::Cloud::DataCatalog::V1::TagTemplateField
|
150
162
|
# Deletes a field in a tag template and all uses of that field.
|
151
163
|
# Users should enable the Data Catalog API in the project identified by
|
152
164
|
# the `name` parameter (see [Data Catalog Resource Project]
|
153
|
-
# (/data-catalog/docs/concepts/resource-project) for
|
165
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
|
166
|
+
# more information).
|
154
167
|
rpc :DeleteTagTemplateField, Google::Cloud::DataCatalog::V1::DeleteTagTemplateFieldRequest, Google::Protobuf::Empty
|
155
168
|
# Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
|
156
169
|
# Note: The project identified by the `parent` parameter for the
|
157
|
-
# [tag](/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
|
170
|
+
# [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
|
158
171
|
# and the
|
159
172
|
# [tag
|
160
|
-
# template](/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
|
173
|
+
# template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
|
161
174
|
# used to create the tag must be from the same organization.
|
162
175
|
rpc :CreateTag, Google::Cloud::DataCatalog::V1::CreateTagRequest, Google::Cloud::DataCatalog::V1::Tag
|
163
176
|
# Updates an existing tag.
|
@@ -41,7 +41,8 @@ module Google
|
|
41
41
|
#
|
42
42
|
# Note: Query tokens need to have a minimum of 3 characters for substring
|
43
43
|
# matching to work correctly. See [Data Catalog Search
|
44
|
-
# Syntax](/data-catalog/docs/how-to/search-reference)
|
44
|
+
# Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
|
45
|
+
# for more information.
|
45
46
|
# @!attribute [rw] page_size
|
46
47
|
# @return [Integer]
|
47
48
|
# Number of results in the search page. If <=0 then defaults to 10. Max limit
|
@@ -85,6 +86,43 @@ module Google
|
|
85
86
|
# search results. Info on GCP public datasets is available at
|
86
87
|
# https://cloud.google.com/public-datasets/. By default, GCP public
|
87
88
|
# datasets are excluded.
|
89
|
+
# @!attribute [rw] restricted_locations
|
90
|
+
# @return [Array<String>]
|
91
|
+
# Optional. The list of locations to search within.
|
92
|
+
# 1. If empty, search will be performed in all locations;
|
93
|
+
# 2. If any of the locations are NOT in the valid locations list, error
|
94
|
+
# will be returned;
|
95
|
+
# 3. Otherwise, search only the given locations for matching results.
|
96
|
+
# Typical usage is to leave this field empty. When a location is
|
97
|
+
# unreachable as returned in the `SearchCatalogResponse.unreachable` field,
|
98
|
+
# users can repeat the search request with this parameter set to get
|
99
|
+
# additional information on the error.
|
100
|
+
#
|
101
|
+
# Valid locations:
|
102
|
+
# * asia-east1
|
103
|
+
# * asia-east2
|
104
|
+
# * asia-northeast1
|
105
|
+
# * asia-northeast2
|
106
|
+
# * asia-northeast3
|
107
|
+
# * asia-south1
|
108
|
+
# * asia-southeast1
|
109
|
+
# * australia-southeast1
|
110
|
+
# * eu
|
111
|
+
# * europe-north1
|
112
|
+
# * europe-west1
|
113
|
+
# * europe-west2
|
114
|
+
# * europe-west3
|
115
|
+
# * europe-west4
|
116
|
+
# * europe-west6
|
117
|
+
# * global
|
118
|
+
# * northamerica-northeast1
|
119
|
+
# * southamerica-east1
|
120
|
+
# * us
|
121
|
+
# * us-central1
|
122
|
+
# * us-east1
|
123
|
+
# * us-east4
|
124
|
+
# * us-west1
|
125
|
+
# * us-west2
|
88
126
|
class Scope
|
89
127
|
include Google::Protobuf::MessageExts
|
90
128
|
extend Google::Protobuf::MessageExts::ClassMethods
|
@@ -99,6 +137,12 @@ module Google
|
|
99
137
|
# @!attribute [rw] next_page_token
|
100
138
|
# @return [String]
|
101
139
|
# The token that can be used to retrieve the next page of results.
|
140
|
+
# @!attribute [rw] unreachable
|
141
|
+
# @return [Array<String>]
|
142
|
+
# Unreachable locations. Search result does not include data from those
|
143
|
+
# locations. Users can get additional information on the error by repeating
|
144
|
+
# the search request with a more restrictive parameter -- setting the value
|
145
|
+
# for `SearchDataCatalogRequest.scope.include_locations`.
|
102
146
|
class SearchCatalogResponse
|
103
147
|
include Google::Protobuf::MessageExts
|
104
148
|
extend Google::Protobuf::MessageExts::ClassMethods
|
@@ -300,7 +344,7 @@ module Google
|
|
300
344
|
#
|
301
345
|
# Examples:
|
302
346
|
#
|
303
|
-
# * `
|
347
|
+
# * `pubsub.project_id.topic_id`
|
304
348
|
# * ``pubsub.project_id.`topic.id.with.dots` ``
|
305
349
|
# * `bigquery.table.project_id.dataset_id.table_id`
|
306
350
|
# * `bigquery.dataset.project_id.dataset_id`
|
@@ -441,8 +485,7 @@ module Google
|
|
441
485
|
# @!attribute [rw] parent
|
442
486
|
# @return [String]
|
443
487
|
# Required. The name of the project and the template location
|
444
|
-
# [region](/
|
445
|
-
# NOTE: Currently, only the `us-central1 region` is supported.
|
488
|
+
# [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
|
446
489
|
#
|
447
490
|
# Example:
|
448
491
|
#
|
@@ -556,8 +599,7 @@ module Google
|
|
556
599
|
# @!attribute [rw] parent
|
557
600
|
# @return [String]
|
558
601
|
# Required. The name of the project and the template location
|
559
|
-
# [region](/
|
560
|
-
# NOTE: Currently, only the `us-central1 region` is supported.
|
602
|
+
# [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
|
561
603
|
#
|
562
604
|
# Example:
|
563
605
|
#
|
@@ -24,8 +24,9 @@ module Google
|
|
24
24
|
# Tags are used to attach custom metadata to Data Catalog resources. Tags
|
25
25
|
# conform to the specifications within their tag template.
|
26
26
|
#
|
27
|
-
# See [Data Catalog
|
28
|
-
#
|
27
|
+
# See [Data Catalog
|
28
|
+
# IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information
|
29
|
+
# on the permissions needed to create or view tags.
|
29
30
|
# @!attribute [rw] name
|
30
31
|
# @return [String]
|
31
32
|
# The resource name of the tag in URL format. Example:
|
@@ -116,10 +117,12 @@ module Google
|
|
116
117
|
|
117
118
|
# A tag template defines a tag, which can have one or more typed fields.
|
118
119
|
# The template is used to create and attach the tag to GCP resources.
|
119
|
-
# [Tag template
|
120
|
+
# [Tag template
|
121
|
+
# roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
|
120
122
|
# provide permissions to create, edit, and use the template. See, for example,
|
121
|
-
# the [TagTemplate
|
122
|
-
#
|
123
|
+
# the [TagTemplate
|
124
|
+
# User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role,
|
125
|
+
# which includes permission to use the tag template to tag resources.
|
123
126
|
# @!attribute [rw] name
|
124
127
|
# @return [String]
|
125
128
|
# The resource name of the tag template in URL format. Example:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_catalog-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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: 2020-04-
|
11
|
+
date: 2020-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|