google-cloud-dlp-v2 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef4a65d5ecfdac76ad1643243d84354d7d7eec07a7e91ba0b8a8bb1eb8798237
|
4
|
+
data.tar.gz: 3ad43d0e7e9d10ba6da3527e297fffdca749dc22c3ffe621ee27ffef85aec190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d159d49544a54322a5bc7c0e2e2fe636049289f4aff4c2113b2cbea9ba6743e0de55238c4af8ff30523c4e132ebd3b47ddda8ea312cdd63c12830d2f8f5c0a19
|
7
|
+
data.tar.gz: e3a74f02f03e59d257258e2417472879c93ad1082be06547ac3a52b33cdb127e1aeb6d20a78338dbecaa17d39c3cff4f26c9dfc52b0055d10d09debccdd28570
|
@@ -302,13 +302,6 @@ module Google
|
|
302
302
|
@quota_project_id = @config.quota_project
|
303
303
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
304
304
|
|
305
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
306
|
-
config.credentials = credentials
|
307
|
-
config.quota_project = @quota_project_id
|
308
|
-
config.endpoint = @config.endpoint
|
309
|
-
config.universe_domain = @config.universe_domain
|
310
|
-
end
|
311
|
-
|
312
305
|
@dlp_service_stub = ::Gapic::ServiceStub.new(
|
313
306
|
::Google::Cloud::Dlp::V2::DlpService::Stub,
|
314
307
|
credentials: credentials,
|
@@ -319,6 +312,13 @@ module Google
|
|
319
312
|
interceptors: @config.interceptors,
|
320
313
|
channel_pool_config: @config.channel_pool
|
321
314
|
)
|
315
|
+
|
316
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
317
|
+
config.credentials = credentials
|
318
|
+
config.quota_project = @quota_project_id
|
319
|
+
config.endpoint = @dlp_service_stub.endpoint
|
320
|
+
config.universe_domain = @dlp_service_stub.universe_domain
|
321
|
+
end
|
322
322
|
end
|
323
323
|
|
324
324
|
##
|
@@ -299,19 +299,19 @@ module Google
|
|
299
299
|
@quota_project_id = @config.quota_project
|
300
300
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
301
301
|
|
302
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
303
|
-
config.credentials = credentials
|
304
|
-
config.quota_project = @quota_project_id
|
305
|
-
config.endpoint = @config.endpoint
|
306
|
-
config.universe_domain = @config.universe_domain
|
307
|
-
end
|
308
|
-
|
309
302
|
@dlp_service_stub = ::Google::Cloud::Dlp::V2::DlpService::Rest::ServiceStub.new(
|
310
303
|
endpoint: @config.endpoint,
|
311
304
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
312
305
|
universe_domain: @config.universe_domain,
|
313
306
|
credentials: credentials
|
314
307
|
)
|
308
|
+
|
309
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
310
|
+
config.credentials = credentials
|
311
|
+
config.quota_project = @quota_project_id
|
312
|
+
config.endpoint = @dlp_service_stub.endpoint
|
313
|
+
config.universe_domain = @dlp_service_stub.universe_domain
|
314
|
+
end
|
315
315
|
end
|
316
316
|
|
317
317
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the inspect_content REST call
|
57
66
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dlp-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.1
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|