google-cloud-network_security-v1beta1 0.7.0 → 0.7.1
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 +4 -4
- data/lib/google/cloud/network_security/v1beta1/network_security/client.rb +14 -14
- data/lib/google/cloud/network_security/v1beta1/network_security/rest/client.rb +11 -11
- data/lib/google/cloud/network_security/v1beta1/network_security/rest/service_stub.rb +9 -0
- data/lib/google/cloud/network_security/v1beta1/version.rb +1 -1
- 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: 46b95db98d86386459149afb40c3840d11569951e31111d9064d297153f65ede
|
|
4
|
+
data.tar.gz: 67d4f56769e2268fa997f388bbe3267cd8771c4de66ab1ce87efc69517a72d88
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0f4a3c925d3b24e5cbd6fae609b38f279b4949ec0b67ed7f4fe4d650cdda1b1624e4125173501c0ff2b2aa0763e1b15de54f452ed03b715e027b9516e2d598d
|
|
7
|
+
data.tar.gz: 20cf0b21ebf6b04436e1e0cbacb0e3981b917265bba9cf1cea3c73a669369141c62c266118e9f913ca11966daf95c2996f463e280d0631f792d0e88be486e214
|
|
@@ -159,20 +159,6 @@ module Google
|
|
|
159
159
|
config.universe_domain = @config.universe_domain
|
|
160
160
|
end
|
|
161
161
|
|
|
162
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
163
|
-
config.credentials = credentials
|
|
164
|
-
config.quota_project = @quota_project_id
|
|
165
|
-
config.endpoint = @config.endpoint
|
|
166
|
-
config.universe_domain = @config.universe_domain
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
|
170
|
-
config.credentials = credentials
|
|
171
|
-
config.quota_project = @quota_project_id
|
|
172
|
-
config.endpoint = @config.endpoint
|
|
173
|
-
config.universe_domain = @config.universe_domain
|
|
174
|
-
end
|
|
175
|
-
|
|
176
162
|
@network_security_stub = ::Gapic::ServiceStub.new(
|
|
177
163
|
::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Stub,
|
|
178
164
|
credentials: credentials,
|
|
@@ -183,6 +169,20 @@ module Google
|
|
|
183
169
|
interceptors: @config.interceptors,
|
|
184
170
|
channel_pool_config: @config.channel_pool
|
|
185
171
|
)
|
|
172
|
+
|
|
173
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
174
|
+
config.credentials = credentials
|
|
175
|
+
config.quota_project = @quota_project_id
|
|
176
|
+
config.endpoint = @network_security_stub.endpoint
|
|
177
|
+
config.universe_domain = @network_security_stub.universe_domain
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
|
181
|
+
config.credentials = credentials
|
|
182
|
+
config.quota_project = @quota_project_id
|
|
183
|
+
config.endpoint = @network_security_stub.endpoint
|
|
184
|
+
config.universe_domain = @network_security_stub.universe_domain
|
|
185
|
+
end
|
|
186
186
|
end
|
|
187
187
|
|
|
188
188
|
##
|
|
@@ -156,28 +156,28 @@ module Google
|
|
|
156
156
|
config.universe_domain = @config.universe_domain
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
+
@network_security_stub = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Rest::ServiceStub.new(
|
|
160
|
+
endpoint: @config.endpoint,
|
|
161
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
162
|
+
universe_domain: @config.universe_domain,
|
|
163
|
+
credentials: credentials
|
|
164
|
+
)
|
|
165
|
+
|
|
159
166
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
160
167
|
config.credentials = credentials
|
|
161
168
|
config.quota_project = @quota_project_id
|
|
162
|
-
config.endpoint = @
|
|
163
|
-
config.universe_domain = @
|
|
169
|
+
config.endpoint = @network_security_stub.endpoint
|
|
170
|
+
config.universe_domain = @network_security_stub.universe_domain
|
|
164
171
|
config.bindings_override = @config.bindings_override
|
|
165
172
|
end
|
|
166
173
|
|
|
167
174
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
|
168
175
|
config.credentials = credentials
|
|
169
176
|
config.quota_project = @quota_project_id
|
|
170
|
-
config.endpoint = @
|
|
171
|
-
config.universe_domain = @
|
|
177
|
+
config.endpoint = @network_security_stub.endpoint
|
|
178
|
+
config.universe_domain = @network_security_stub.universe_domain
|
|
172
179
|
config.bindings_override = @config.bindings_override
|
|
173
180
|
end
|
|
174
|
-
|
|
175
|
-
@network_security_stub = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Rest::ServiceStub.new(
|
|
176
|
-
endpoint: @config.endpoint,
|
|
177
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
178
|
-
universe_domain: @config.universe_domain,
|
|
179
|
-
credentials: credentials
|
|
180
|
-
)
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
##
|
|
@@ -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 list_authorization_policies REST call
|
|
57
66
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-network_security-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.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
|