google-cloud-network_security-v1beta1 0.7.0 → 0.7.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: 46e07e87d006044f08fb8f91383f088f5be1a2def6fcec1b1fee97201b378e7e
4
- data.tar.gz: 7926384808a4216d81c7e63392f615c03345065c9db47b8d7011b5da6c28899a
3
+ metadata.gz: 46b95db98d86386459149afb40c3840d11569951e31111d9064d297153f65ede
4
+ data.tar.gz: 67d4f56769e2268fa997f388bbe3267cd8771c4de66ab1ce87efc69517a72d88
5
5
  SHA512:
6
- metadata.gz: 53de0ca41bf6e570a8e179480a020f448ba6d822fddf39c96b909f0acc41700aa0d49ed1d5df94aac3dc735cccdabae52318f14aa41e40319cd48232f65411a5
7
- data.tar.gz: b986d108e39ff9fe6dc41bc4f519421b911aabf1984083a7aeda8ce46294ff5829d5f1e803d596ebaf5feb6f5b1645122854491484f6f5331a87fd1f0ff346c4
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 = @config.endpoint
163
- config.universe_domain = @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 = @config.endpoint
171
- config.universe_domain = @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
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkSecurity
23
23
  module V1beta1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.1"
25
25
  end
26
26
  end
27
27
  end
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.0
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 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common