google-cloud-data_catalog-v1 0.8.3 → 0.9.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 +15 -5
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +1 -2
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/common_pb.rb +1 -0
- data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +6 -2
- data/lib/google/cloud/datacatalog/v1/search_pb.rb +2 -0
- data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +1 -0
- data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +11 -4
- data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +2 -4
- data/proto_docs/google/cloud/datacatalog/v1/search.rb +7 -0
- data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +3 -0
- 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: 7544d4ffe9179a175e086dd6ce5a40f770b2b2e3343016e68bff84c04de8ddb3
|
4
|
+
data.tar.gz: d5c062763fd35b042d39b0dca399ba8e005973dec8ac1a82db72f4802695a57c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 588cfdec3988654cb50c182ecc76cc5336d64c38723934d7f67a312791222ed28cf0889da7165241b0e54f5780a4baf939991ae43ed00151a2b8c40adb8b0816
|
7
|
+
data.tar.gz: d5d15147e90f9c68e08c548d57d6fc0a5cec77ffcdbbc71976c2bc90f033cf465c965e47387105a77d849893ae8f58876f23b3104653d19c9269ec448abe3c36
|
@@ -228,7 +228,8 @@ module Google
|
|
228
228
|
# @param query [::String]
|
229
229
|
# Optional. The query string with a minimum of 3 characters and specific syntax.
|
230
230
|
# For more information, see
|
231
|
-
# [Data Catalog search
|
231
|
+
# [Data Catalog search
|
232
|
+
# syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
|
232
233
|
#
|
233
234
|
# An empty query string returns all data assets (in the specified scope)
|
234
235
|
# that you have access to.
|
@@ -1348,6 +1349,10 @@ module Google
|
|
1348
1349
|
##
|
1349
1350
|
# Lists entries.
|
1350
1351
|
#
|
1352
|
+
# Note: Currently, this method can list only custom entries.
|
1353
|
+
# To get a list of both custom and automatically created entries, use
|
1354
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#search_catalog SearchCatalog}.
|
1355
|
+
#
|
1351
1356
|
# @overload list_entries(request, options = nil)
|
1352
1357
|
# Pass arguments to `list_entries` via a request object, either of type
|
1353
1358
|
# {::Google::Cloud::DataCatalog::V1::ListEntriesRequest} or an equivalent Hash.
|
@@ -1665,12 +1670,17 @@ module Google
|
|
1665
1670
|
# Required. The template to update. The `name` field must be set.
|
1666
1671
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1667
1672
|
# Names of fields whose values to overwrite on a tag template. Currently,
|
1668
|
-
# only `display_name` can be overwritten.
|
1673
|
+
# only `display_name` and `is_publicly_readable` can be overwritten.
|
1669
1674
|
#
|
1670
1675
|
# If this parameter is absent or empty, all modifiable fields
|
1671
1676
|
# are overwritten. If such fields are non-required and omitted in the
|
1672
1677
|
# request body, their values are emptied.
|
1673
1678
|
#
|
1679
|
+
# Note: Updating the `is_publicly_readable` field may require up to 12
|
1680
|
+
# hours to take effect in search results. Additionally, it also requires
|
1681
|
+
# the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
|
1682
|
+
# permissions.
|
1683
|
+
#
|
1674
1684
|
# @yield [response, operation] Access the result along with the RPC operation
|
1675
1685
|
# @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplate]
|
1676
1686
|
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
@@ -2063,7 +2073,7 @@ module Google
|
|
2063
2073
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2064
2074
|
#
|
2065
2075
|
# @param name [::String]
|
2066
|
-
# Required. The name of the tag template.
|
2076
|
+
# Required. The name of the tag template field.
|
2067
2077
|
# @param new_tag_template_field_id [::String]
|
2068
2078
|
# Required. The new ID of this tag template field. For example, `my_new_field`.
|
2069
2079
|
#
|
@@ -2318,9 +2328,9 @@ module Google
|
|
2318
2328
|
# Creates a tag and assigns it to:
|
2319
2329
|
#
|
2320
2330
|
# * An {::Google::Cloud::DataCatalog::V1::Entry Entry} if the method name is
|
2321
|
-
#
|
2331
|
+
# `projects.locations.entryGroups.entries.tags.create`.
|
2322
2332
|
# * Or {::Google::Cloud::DataCatalog::V1::EntryGroup EntryGroup}if the method
|
2323
|
-
# name is
|
2333
|
+
# name is `projects.locations.entryGroups.tags.create`.
|
2324
2334
|
#
|
2325
2335
|
# Note: The project identified by the `parent` parameter for the [tag]
|
2326
2336
|
# (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
|
@@ -627,8 +627,7 @@ module Google
|
|
627
627
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
628
628
|
#
|
629
629
|
# @param parent [::String]
|
630
|
-
# Required. Resource name of the taxonomy that the policy tag will belong to
|
631
|
-
# />
|
630
|
+
# Required. Resource name of the taxonomy that the policy tag will belong to.
|
632
631
|
# @param policy_tag [::Google::Cloud::DataCatalog::V1::PolicyTag, ::Hash]
|
633
632
|
# The policy tag to create.
|
634
633
|
#
|
@@ -133,6 +133,10 @@ module Google
|
|
133
133
|
# The resource name comes from the source Google Cloud Platform service.
|
134
134
|
rpc :LookupEntry, ::Google::Cloud::DataCatalog::V1::LookupEntryRequest, ::Google::Cloud::DataCatalog::V1::Entry
|
135
135
|
# Lists entries.
|
136
|
+
#
|
137
|
+
# Note: Currently, this method can list only custom entries.
|
138
|
+
# To get a list of both custom and automatically created entries, use
|
139
|
+
# [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
|
136
140
|
rpc :ListEntries, ::Google::Cloud::DataCatalog::V1::ListEntriesRequest, ::Google::Cloud::DataCatalog::V1::ListEntriesResponse
|
137
141
|
# Creates a tag template.
|
138
142
|
#
|
@@ -194,9 +198,9 @@ module Google
|
|
194
198
|
# Creates a tag and assigns it to:
|
195
199
|
#
|
196
200
|
# * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
|
197
|
-
#
|
201
|
+
# `projects.locations.entryGroups.entries.tags.create`.
|
198
202
|
# * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
|
199
|
-
# name is
|
203
|
+
# name is `projects.locations.entryGroups.tags.create`.
|
200
204
|
#
|
201
205
|
# Note: The project identified by the `parent` parameter for the [tag]
|
202
206
|
# (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
|
@@ -15,6 +15,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
15
|
optional :linked_resource, :string, 4
|
16
16
|
optional :modify_time, :message, 7, "google.protobuf.Timestamp"
|
17
17
|
optional :fully_qualified_name, :string, 10
|
18
|
+
optional :display_name, :string, 12
|
19
|
+
optional :description, :string, 13
|
18
20
|
oneof :system do
|
19
21
|
optional :integrated_system, :enum, 8, "google.cloud.datacatalog.v1.IntegratedSystem"
|
20
22
|
optional :user_specified_system, :string, 9
|
@@ -24,6 +24,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
24
|
optional :dataset, :string, 1
|
25
25
|
optional :table_prefix, :string, 2
|
26
26
|
optional :shard_count, :int64, 3
|
27
|
+
optional :latest_shard_resource, :string, 4
|
27
28
|
end
|
28
29
|
add_enum "google.cloud.datacatalog.v1.TableSourceType" do
|
29
30
|
value :TABLE_SOURCE_TYPE_UNSPECIFIED, 0
|
@@ -34,7 +34,8 @@ module Google
|
|
34
34
|
# @return [::String]
|
35
35
|
# Optional. The query string with a minimum of 3 characters and specific syntax.
|
36
36
|
# For more information, see
|
37
|
-
# [Data Catalog search
|
37
|
+
# [Data Catalog search
|
38
|
+
# syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
|
38
39
|
#
|
39
40
|
# An empty query string returns all data assets (in the specified scope)
|
40
41
|
# that you have access to.
|
@@ -115,7 +116,7 @@ module Google
|
|
115
116
|
# explicit permissions on them to view them. For example, if you are the
|
116
117
|
# owner.
|
117
118
|
#
|
118
|
-
# Other scope fields, for example,
|
119
|
+
# Other scope fields, for example, `include_org_ids`,
|
119
120
|
# still restrict the returned public tag templates and at least one of
|
120
121
|
# them is required.
|
121
122
|
class Scope
|
@@ -424,6 +425,7 @@ module Google
|
|
424
425
|
# and read-only afterwards. Can be used for search and lookup of the entries.
|
425
426
|
#
|
426
427
|
#
|
428
|
+
#
|
427
429
|
# FQNs take two forms:
|
428
430
|
#
|
429
431
|
# * For non-regionalized resources:
|
@@ -729,11 +731,16 @@ module Google
|
|
729
731
|
# @!attribute [rw] update_mask
|
730
732
|
# @return [::Google::Protobuf::FieldMask]
|
731
733
|
# Names of fields whose values to overwrite on a tag template. Currently,
|
732
|
-
# only `display_name` can be overwritten.
|
734
|
+
# only `display_name` and `is_publicly_readable` can be overwritten.
|
733
735
|
#
|
734
736
|
# If this parameter is absent or empty, all modifiable fields
|
735
737
|
# are overwritten. If such fields are non-required and omitted in the
|
736
738
|
# request body, their values are emptied.
|
739
|
+
#
|
740
|
+
# Note: Updating the `is_publicly_readable` field may require up to 12
|
741
|
+
# hours to take effect in search results. Additionally, it also requires
|
742
|
+
# the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
|
743
|
+
# permissions.
|
737
744
|
class UpdateTagTemplateRequest
|
738
745
|
include ::Google::Protobuf::MessageExts
|
739
746
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -860,7 +867,7 @@ module Google
|
|
860
867
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#rename_tag_template_field RenameTagTemplateField}.
|
861
868
|
# @!attribute [rw] name
|
862
869
|
# @return [::String]
|
863
|
-
# Required. The name of the tag template.
|
870
|
+
# Required. The name of the tag template field.
|
864
871
|
# @!attribute [rw] new_tag_template_field_id
|
865
872
|
# @return [::String]
|
866
873
|
# Required. The new ID of this tag template field. For example, `my_new_field`.
|
@@ -105,8 +105,7 @@ module Google
|
|
105
105
|
# @return [::String]
|
106
106
|
# Output only. Resource name of this policy tag in the URL format.
|
107
107
|
#
|
108
|
-
# The policy tag manager generates unique taxonomy IDs and policy tag IDs
|
109
|
-
# /><br />
|
108
|
+
# The policy tag manager generates unique taxonomy IDs and policy tag IDs.
|
110
109
|
# @!attribute [rw] display_name
|
111
110
|
# @return [::String]
|
112
111
|
# Required. User-defined name of this policy tag.
|
@@ -228,8 +227,7 @@ module Google
|
|
228
227
|
# {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#create_policy_tag CreatePolicyTag}.
|
229
228
|
# @!attribute [rw] parent
|
230
229
|
# @return [::String]
|
231
|
-
# Required. Resource name of the taxonomy that the policy tag will belong to
|
232
|
-
# />
|
230
|
+
# Required. Resource name of the taxonomy that the policy tag will belong to.
|
233
231
|
# @!attribute [rw] policy_tag
|
234
232
|
# @return [::Google::Cloud::DataCatalog::V1::PolicyTag]
|
235
233
|
# The policy tag to create.
|
@@ -83,6 +83,13 @@ module Google
|
|
83
83
|
# Example for a DPMS table:
|
84
84
|
#
|
85
85
|
# `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
|
86
|
+
# @!attribute [rw] display_name
|
87
|
+
# @return [::String]
|
88
|
+
# The display name of the result.
|
89
|
+
# @!attribute [rw] description
|
90
|
+
# @return [::String]
|
91
|
+
# Entry description that can consist of several sentences or paragraphs that
|
92
|
+
# describe entry contents.
|
86
93
|
class SearchCatalogResult
|
87
94
|
include ::Google::Protobuf::MessageExts
|
88
95
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -83,6 +83,9 @@ module Google
|
|
83
83
|
# @!attribute [r] shard_count
|
84
84
|
# @return [::Integer]
|
85
85
|
# Output only. Total number of shards.
|
86
|
+
# @!attribute [r] latest_shard_resource
|
87
|
+
# @return [::String]
|
88
|
+
# Output only. BigQuery resource name of the latest shard.
|
86
89
|
class BigQueryDateShardedSpec
|
87
90
|
include ::Google::Protobuf::MessageExts
|
88
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.9.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: 2021-11-
|
11
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|