google-cloud-dataplex-v1 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +72 -99
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +33 -8
- data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +35 -7
- data/lib/google/cloud/dataplex/v1/content_service/rest/service_stub.rb +14 -2
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +34 -8
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +28 -6
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +36 -7
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +33 -8
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +14 -2
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +34 -8
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +28 -6
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +36 -7
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +33 -8
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/service_stub.rb +14 -2
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +34 -8
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +28 -6
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +36 -7
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +33 -8
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +14 -2
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +33 -8
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +35 -7
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/service_stub.rb +14 -2
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -0
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +6 -1
- data/proto_docs/google/cloud/dataplex/v1/metadata.rb +2 -0
- metadata +8 -8
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# partitions.
|
36
36
|
#
|
37
37
|
class Client
|
38
|
+
# @private
|
39
|
+
DEFAULT_ENDPOINT_TEMPLATE = "dataplex.$UNIVERSE_DOMAIN$"
|
40
|
+
|
38
41
|
include Paths
|
39
42
|
|
40
43
|
# @private
|
@@ -125,6 +128,15 @@ module Google
|
|
125
128
|
@config
|
126
129
|
end
|
127
130
|
|
131
|
+
##
|
132
|
+
# The effective universe domain
|
133
|
+
#
|
134
|
+
# @return [String]
|
135
|
+
#
|
136
|
+
def universe_domain
|
137
|
+
@metadata_service_stub.universe_domain
|
138
|
+
end
|
139
|
+
|
128
140
|
##
|
129
141
|
# Create a new MetadataService REST client object.
|
130
142
|
#
|
@@ -152,8 +164,9 @@ module Google
|
|
152
164
|
credentials = @config.credentials
|
153
165
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
154
166
|
# but only if the default endpoint does not have a region prefix.
|
155
|
-
enable_self_signed_jwt = @config.endpoint
|
156
|
-
|
167
|
+
enable_self_signed_jwt = @config.endpoint.nil? ||
|
168
|
+
(@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
169
|
+
!@config.endpoint.split(".").first.include?("-"))
|
157
170
|
credentials ||= Credentials.default scope: @config.scope,
|
158
171
|
enable_self_signed_jwt: enable_self_signed_jwt
|
159
172
|
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
@@ -167,6 +180,7 @@ module Google
|
|
167
180
|
config.credentials = credentials
|
168
181
|
config.quota_project = @quota_project_id
|
169
182
|
config.endpoint = @config.endpoint
|
183
|
+
config.universe_domain = @config.universe_domain
|
170
184
|
config.bindings_override = @config.bindings_override
|
171
185
|
end
|
172
186
|
|
@@ -174,10 +188,16 @@ module Google
|
|
174
188
|
config.credentials = credentials
|
175
189
|
config.quota_project = @quota_project_id
|
176
190
|
config.endpoint = @config.endpoint
|
191
|
+
config.universe_domain = @config.universe_domain
|
177
192
|
config.bindings_override = @config.bindings_override
|
178
193
|
end
|
179
194
|
|
180
|
-
@metadata_service_stub = ::Google::Cloud::Dataplex::V1::MetadataService::Rest::ServiceStub.new
|
195
|
+
@metadata_service_stub = ::Google::Cloud::Dataplex::V1::MetadataService::Rest::ServiceStub.new(
|
196
|
+
endpoint: @config.endpoint,
|
197
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
198
|
+
universe_domain: @config.universe_domain,
|
199
|
+
credentials: credentials
|
200
|
+
)
|
181
201
|
end
|
182
202
|
|
183
203
|
##
|
@@ -1023,9 +1043,9 @@ module Google
|
|
1023
1043
|
# end
|
1024
1044
|
#
|
1025
1045
|
# @!attribute [rw] endpoint
|
1026
|
-
#
|
1027
|
-
#
|
1028
|
-
# @return [::String]
|
1046
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
1047
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
1048
|
+
# @return [::String,nil]
|
1029
1049
|
# @!attribute [rw] credentials
|
1030
1050
|
# Credentials to send with calls. You may provide any of the following types:
|
1031
1051
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -1062,13 +1082,20 @@ module Google
|
|
1062
1082
|
# @!attribute [rw] quota_project
|
1063
1083
|
# A separate project against which to charge quota.
|
1064
1084
|
# @return [::String]
|
1085
|
+
# @!attribute [rw] universe_domain
|
1086
|
+
# The universe domain within which to make requests. This determines the
|
1087
|
+
# default endpoint URL. The default value of nil uses the environment
|
1088
|
+
# universe (usually the default "googleapis.com" universe).
|
1089
|
+
# @return [::String,nil]
|
1065
1090
|
#
|
1066
1091
|
class Configuration
|
1067
1092
|
extend ::Gapic::Config
|
1068
1093
|
|
1094
|
+
# @private
|
1095
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
1069
1096
|
DEFAULT_ENDPOINT = "dataplex.googleapis.com"
|
1070
1097
|
|
1071
|
-
config_attr :endpoint,
|
1098
|
+
config_attr :endpoint, nil, ::String, nil
|
1072
1099
|
config_attr :credentials, nil do |value|
|
1073
1100
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1074
1101
|
allowed.any? { |klass| klass === value }
|
@@ -1080,6 +1107,7 @@ module Google
|
|
1080
1107
|
config_attr :metadata, nil, ::Hash, nil
|
1081
1108
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
1082
1109
|
config_attr :quota_project, nil, ::String, nil
|
1110
|
+
config_attr :universe_domain, nil, ::String, nil
|
1083
1111
|
|
1084
1112
|
# @private
|
1085
1113
|
# Overrides for http bindings for the RPCs of this service
|
@@ -30,16 +30,28 @@ module Google
|
|
30
30
|
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
|
-
def initialize endpoint:, credentials:
|
33
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
|
34
34
|
# These require statements are intentionally placed here to initialize
|
35
35
|
# the REST modules only when it's required.
|
36
36
|
require "gapic/rest"
|
37
37
|
|
38
|
-
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
38
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
39
|
+
endpoint_template: endpoint_template,
|
40
|
+
universe_domain: universe_domain,
|
41
|
+
credentials: credentials,
|
39
42
|
numeric_enums: true,
|
40
43
|
raise_faraday_errors: false
|
41
44
|
end
|
42
45
|
|
46
|
+
##
|
47
|
+
# The effective universe domain
|
48
|
+
#
|
49
|
+
# @return [String]
|
50
|
+
#
|
51
|
+
def universe_domain
|
52
|
+
@client_stub.universe_domain
|
53
|
+
end
|
54
|
+
|
43
55
|
##
|
44
56
|
# Baseline implementation for the create_entity REST call
|
45
57
|
#
|
@@ -21,6 +21,7 @@ module Google
|
|
21
21
|
module Api
|
22
22
|
# Required information for every language.
|
23
23
|
# @!attribute [rw] reference_docs_uri
|
24
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
24
25
|
# @return [::String]
|
25
26
|
# Link to automatically generated reference documentation. Example:
|
26
27
|
# https://cloud.google.com/nodejs/docs/reference/asset/latest
|
@@ -259,7 +259,12 @@ module Google
|
|
259
259
|
# `ignore_null` is `true`. In that case, such `null` rows are trivially
|
260
260
|
# considered passing.
|
261
261
|
#
|
262
|
-
# This field is only valid for
|
262
|
+
# This field is only valid for the following type of rules:
|
263
|
+
#
|
264
|
+
# * RangeExpectation
|
265
|
+
# * RegexExpectation
|
266
|
+
# * SetExpectation
|
267
|
+
# * UniquenessExpectation
|
263
268
|
# @!attribute [rw] dimension
|
264
269
|
# @return [::String]
|
265
270
|
# Required. The dimension a rule belongs to. Results are also aggregated at
|
@@ -227,6 +227,7 @@ module Google
|
|
227
227
|
# The \\{partition_value_path} segment consists of an ordered sequence of
|
228
228
|
# partition values separated by "/". All values must be provided.
|
229
229
|
# @!attribute [rw] etag
|
230
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
230
231
|
# @return [::String]
|
231
232
|
# Optional. The etag associated with the partition.
|
232
233
|
class DeletePartitionRequest
|
@@ -395,6 +396,7 @@ module Google
|
|
395
396
|
# for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
|
396
397
|
# `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
|
397
398
|
# @!attribute [rw] etag
|
399
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
398
400
|
# @return [::String]
|
399
401
|
# Optional. The etag for this partition.
|
400
402
|
class Partition
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataplex-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.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: 2024-01-
|
11
|
+
date: 2024-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.21.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.21.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.7'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.a
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
63
|
+
version: '0.7'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
@@ -70,7 +70,7 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '0.
|
73
|
+
version: '0.7'
|
74
74
|
- - "<"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 2.a
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0.
|
83
|
+
version: '0.7'
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 2.a
|