google-cloud-data_catalog-v1 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b87a898c82f17c95ec7718e04e2070340bb7ffe56766b315022d1117cf249c11
|
4
|
+
data.tar.gz: ca0576e0f4007bbdf4dc9b7e01721ff38ca2679c2b00eca54811aa8d68960abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fa80b5f857f68a0763b6e0ac2d90e3b0a443c1279050b5255debf8e5fc4f1ba17792d41eae7931cde8b6387096a21dca253be228853b2e0e083b1b5b5dae9fc
|
7
|
+
data.tar.gz: f6606d6bae511f00d021cca28a6f3dbc823bcd38d061d721b864db4d5345136e966c5f9450a974b94e6348f79606ba9658b2f24b3581c204c15342d042e3d047
|
@@ -197,7 +197,8 @@ module Google
|
|
197
197
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
198
198
|
credentials = Credentials.new credentials, scope: @config.scope
|
199
199
|
end
|
200
|
-
@quota_project_id =
|
200
|
+
@quota_project_id = @config.quota_project
|
201
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
201
202
|
|
202
203
|
@data_catalog_stub = ::Gapic::ServiceStub.new(
|
203
204
|
::Google::Cloud::DataCatalog::V1::DataCatalog::Stub,
|
@@ -249,7 +250,8 @@ module Google
|
|
249
250
|
# `include_gcp_public_datasets` is considered invalid. Data Catalog will
|
250
251
|
# return an error in such a case.
|
251
252
|
# @param query [::String]
|
252
|
-
# Required. The query string in search query syntax. The query must be
|
253
|
+
# Required. The query string in search query syntax. The query must be
|
254
|
+
# non-empty.
|
253
255
|
#
|
254
256
|
# Query strings can be simple as "x" or more qualified as:
|
255
257
|
#
|
@@ -266,8 +268,8 @@ module Google
|
|
266
268
|
# for page_size is 1000. Throws an invalid argument for page_size > 1000.
|
267
269
|
# @param page_token [::String]
|
268
270
|
# Optional. Pagination token returned in an earlier
|
269
|
-
# {::Google::Cloud::DataCatalog::V1::SearchCatalogResponse#next_page_token SearchCatalogResponse.next_page_token},
|
270
|
-
# indicates that this is a continuation of a prior
|
271
|
+
# {::Google::Cloud::DataCatalog::V1::SearchCatalogResponse#next_page_token SearchCatalogResponse.next_page_token},
|
272
|
+
# which indicates that this is a continuation of a prior
|
271
273
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#search_catalog SearchCatalogRequest}
|
272
274
|
# call, and that the system should return the next page of data. If empty,
|
273
275
|
# the first page is returned.
|
@@ -650,16 +652,16 @@ module Google
|
|
650
652
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
651
653
|
#
|
652
654
|
# @param parent [::String]
|
653
|
-
# Required. The name of the location that contains the entry groups, which
|
654
|
-
# provided in URL format. Example:
|
655
|
+
# Required. The name of the location that contains the entry groups, which
|
656
|
+
# can be provided in URL format. Example:
|
655
657
|
#
|
656
658
|
# * projects/\\{project_id}/locations/\\{location}
|
657
659
|
# @param page_size [::Integer]
|
658
|
-
# Optional. The maximum number of items to return. Default is 10. Max limit
|
659
|
-
# Throws an invalid argument for `page_size > 1000`.
|
660
|
+
# Optional. The maximum number of items to return. Default is 10. Max limit
|
661
|
+
# is 1000. Throws an invalid argument for `page_size > 1000`.
|
660
662
|
# @param page_token [::String]
|
661
|
-
# Optional. Token that specifies which page is requested. If empty, the first
|
662
|
-
# returned.
|
663
|
+
# Optional. Token that specifies which page is requested. If empty, the first
|
664
|
+
# page is returned.
|
663
665
|
#
|
664
666
|
# @yield [response, operation] Access the result along with the RPC operation
|
665
667
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::EntryGroup>]
|
@@ -1689,7 +1691,8 @@ module Google
|
|
1689
1691
|
#
|
1690
1692
|
# * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template_id}/fields/\\{tag_template_field_id}
|
1691
1693
|
# @param new_tag_template_field_id [::String]
|
1692
|
-
# Required. The new ID of this tag template field. For example,
|
1694
|
+
# Required. The new ID of this tag template field. For example,
|
1695
|
+
# `my_new_field`.
|
1693
1696
|
#
|
1694
1697
|
# @yield [response, operation] Access the result along with the RPC operation
|
1695
1698
|
# @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplateField]
|
@@ -1837,8 +1840,8 @@ module Google
|
|
1837
1840
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1838
1841
|
#
|
1839
1842
|
# @param parent [::String]
|
1840
|
-
# Required. The name of the resource to attach this tag to. Tags can be
|
1841
|
-
# Entries. Example:
|
1843
|
+
# Required. The name of the resource to attach this tag to. Tags can be
|
1844
|
+
# attached to Entries. Example:
|
1842
1845
|
#
|
1843
1846
|
# * projects/\\{project_id}/locations/\\{location}/entryGroups/\\{entry_group_id}/entries/\\{entry_id}
|
1844
1847
|
#
|
@@ -2048,8 +2051,8 @@ module Google
|
|
2048
2051
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2049
2052
|
#
|
2050
2053
|
# @param parent [::String]
|
2051
|
-
# Required. The name of the Data Catalog resource to list the tags of. The
|
2052
|
-
# could be an {::Google::Cloud::DataCatalog::V1::Entry Entry} or an
|
2054
|
+
# Required. The name of the Data Catalog resource to list the tags of. The
|
2055
|
+
# resource could be an {::Google::Cloud::DataCatalog::V1::Entry Entry} or an
|
2053
2056
|
# {::Google::Cloud::DataCatalog::V1::EntryGroup EntryGroup}.
|
2054
2057
|
#
|
2055
2058
|
# Examples:
|
@@ -2438,24 +2441,28 @@ module Google
|
|
2438
2441
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
2439
2442
|
# trigger a retry.
|
2440
2443
|
# @return [::Hash]
|
2444
|
+
# @!attribute [rw] quota_project
|
2445
|
+
# A separate project against which to charge quota.
|
2446
|
+
# @return [::String]
|
2441
2447
|
#
|
2442
2448
|
class Configuration
|
2443
2449
|
extend ::Gapic::Config
|
2444
2450
|
|
2445
|
-
config_attr :endpoint,
|
2446
|
-
config_attr :credentials,
|
2451
|
+
config_attr :endpoint, "datacatalog.googleapis.com", ::String
|
2452
|
+
config_attr :credentials, nil do |value|
|
2447
2453
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2448
2454
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
2449
2455
|
allowed.any? { |klass| klass === value }
|
2450
2456
|
end
|
2451
|
-
config_attr :scope,
|
2452
|
-
config_attr :lib_name,
|
2453
|
-
config_attr :lib_version,
|
2454
|
-
config_attr(:channel_args,
|
2455
|
-
config_attr :interceptors,
|
2456
|
-
config_attr :timeout,
|
2457
|
-
config_attr :metadata,
|
2458
|
-
config_attr :retry_policy,
|
2457
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
2458
|
+
config_attr :lib_name, nil, ::String, nil
|
2459
|
+
config_attr :lib_version, nil, ::String, nil
|
2460
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
2461
|
+
config_attr :interceptors, nil, ::Array, nil
|
2462
|
+
config_attr :timeout, nil, ::Numeric, nil
|
2463
|
+
config_attr :metadata, nil, ::Hash, nil
|
2464
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
2465
|
+
config_attr :quota_project, nil, ::String, nil
|
2459
2466
|
|
2460
2467
|
# @private
|
2461
2468
|
def initialize parent_config = nil
|
@@ -31,7 +31,8 @@ module Google
|
|
31
31
|
# return an error in such a case.
|
32
32
|
# @!attribute [rw] query
|
33
33
|
# @return [::String]
|
34
|
-
# Required. The query string in search query syntax. The query must be
|
34
|
+
# Required. The query string in search query syntax. The query must be
|
35
|
+
# non-empty.
|
35
36
|
#
|
36
37
|
# Query strings can be simple as "x" or more qualified as:
|
37
38
|
#
|
@@ -50,8 +51,8 @@ module Google
|
|
50
51
|
# @!attribute [rw] page_token
|
51
52
|
# @return [::String]
|
52
53
|
# Optional. Pagination token returned in an earlier
|
53
|
-
# {::Google::Cloud::DataCatalog::V1::SearchCatalogResponse#next_page_token SearchCatalogResponse.next_page_token},
|
54
|
-
# indicates that this is a continuation of a prior
|
54
|
+
# {::Google::Cloud::DataCatalog::V1::SearchCatalogResponse#next_page_token SearchCatalogResponse.next_page_token},
|
55
|
+
# which indicates that this is a continuation of a prior
|
55
56
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#search_catalog SearchCatalogRequest}
|
56
57
|
# call, and that the system should return the next page of data. If empty,
|
57
58
|
# the first page is returned.
|
@@ -217,18 +218,18 @@ module Google
|
|
217
218
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#list_entry_groups ListEntryGroups}.
|
218
219
|
# @!attribute [rw] parent
|
219
220
|
# @return [::String]
|
220
|
-
# Required. The name of the location that contains the entry groups, which
|
221
|
-
# provided in URL format. Example:
|
221
|
+
# Required. The name of the location that contains the entry groups, which
|
222
|
+
# can be provided in URL format. Example:
|
222
223
|
#
|
223
224
|
# * projects/\\{project_id}/locations/\\{location}
|
224
225
|
# @!attribute [rw] page_size
|
225
226
|
# @return [::Integer]
|
226
|
-
# Optional. The maximum number of items to return. Default is 10. Max limit
|
227
|
-
# Throws an invalid argument for `page_size > 1000`.
|
227
|
+
# Optional. The maximum number of items to return. Default is 10. Max limit
|
228
|
+
# is 1000. Throws an invalid argument for `page_size > 1000`.
|
228
229
|
# @!attribute [rw] page_token
|
229
230
|
# @return [::String]
|
230
|
-
# Optional. Token that specifies which page is requested. If empty, the first
|
231
|
-
# returned.
|
231
|
+
# Optional. Token that specifies which page is requested. If empty, the first
|
232
|
+
# page is returned.
|
232
233
|
class ListEntryGroupsRequest
|
233
234
|
include ::Google::Protobuf::MessageExts
|
234
235
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -407,8 +408,8 @@ module Google
|
|
407
408
|
# through Data Catalog must use `user_specified_type`.
|
408
409
|
# @!attribute [r] integrated_system
|
409
410
|
# @return [::Google::Cloud::DataCatalog::V1::IntegratedSystem]
|
410
|
-
# Output only. This field indicates the entry's source system that Data
|
411
|
-
# integrates with, such as BigQuery or Pub/Sub.
|
411
|
+
# Output only. This field indicates the entry's source system that Data
|
412
|
+
# Catalog integrates with, such as BigQuery or Pub/Sub.
|
412
413
|
# @!attribute [rw] user_specified_system
|
413
414
|
# @return [::String]
|
414
415
|
# This field indicates the entry's source system that Data Catalog does not
|
@@ -474,7 +475,8 @@ module Google
|
|
474
475
|
# string.
|
475
476
|
# @!attribute [r] data_catalog_timestamps
|
476
477
|
# @return [::Google::Cloud::DataCatalog::V1::SystemTimestamps]
|
477
|
-
# Output only. Timestamps about this EntryGroup. Default value is empty
|
478
|
+
# Output only. Timestamps about this EntryGroup. Default value is empty
|
479
|
+
# timestamps.
|
478
480
|
class EntryGroup
|
479
481
|
include ::Google::Protobuf::MessageExts
|
480
482
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -553,8 +555,8 @@ module Google
|
|
553
555
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#create_tag CreateTag}.
|
554
556
|
# @!attribute [rw] parent
|
555
557
|
# @return [::String]
|
556
|
-
# Required. The name of the resource to attach this tag to. Tags can be
|
557
|
-
# Entries. Example:
|
558
|
+
# Required. The name of the resource to attach this tag to. Tags can be
|
559
|
+
# attached to Entries. Example:
|
558
560
|
#
|
559
561
|
# * projects/\\{project_id}/locations/\\{location}/entryGroups/\\{entry_group_id}/entries/\\{entry_id}
|
560
562
|
#
|
@@ -659,7 +661,8 @@ module Google
|
|
659
661
|
# * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template_id}/fields/\\{tag_template_field_id}
|
660
662
|
# @!attribute [rw] new_tag_template_field_id
|
661
663
|
# @return [::String]
|
662
|
-
# Required. The new ID of this tag template field. For example,
|
664
|
+
# Required. The new ID of this tag template field. For example,
|
665
|
+
# `my_new_field`.
|
663
666
|
class RenameTagTemplateFieldRequest
|
664
667
|
include ::Google::Protobuf::MessageExts
|
665
668
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -686,8 +689,8 @@ module Google
|
|
686
689
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#list_tags ListTags}.
|
687
690
|
# @!attribute [rw] parent
|
688
691
|
# @return [::String]
|
689
|
-
# Required. The name of the Data Catalog resource to list the tags of. The
|
690
|
-
# could be an {::Google::Cloud::DataCatalog::V1::Entry Entry} or an
|
692
|
+
# Required. The name of the Data Catalog resource to list the tags of. The
|
693
|
+
# resource could be an {::Google::Cloud::DataCatalog::V1::Entry Entry} or an
|
691
694
|
# {::Google::Cloud::DataCatalog::V1::EntryGroup EntryGroup}.
|
692
695
|
#
|
693
696
|
# Examples:
|
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.4.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-05-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -78,14 +78,42 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '5.
|
81
|
+
version: '5.14'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '5.
|
88
|
+
version: '5.14'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: minitest-focus
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '1.1'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '1.1'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: minitest-rg
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '5.2'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '5.2'
|
89
117
|
- !ruby/object:Gem::Dependency
|
90
118
|
name: rake
|
91
119
|
requirement: !ruby/object:Gem::Requirement
|