google-cloud-security-private_ca-v1 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/client.rb +14 -14
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/client.rb +11 -11
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/security/private_ca/v1/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: c4e2e6ba69df33494bfa1087d88c31bb3145706fdd093f0b7c7489571bc35cf9
|
4
|
+
data.tar.gz: 02bbee7b8ce9b47b22ea4cf0173efd528e2ef2df0867cc5ef23e699222dde81c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cff3d0b38141a15691ec13cdc7ad8e2f052012b5a54ed11e3804f70c971d51e805823b71108f9e6b8731c1cf6477c102898bbc5391db3243898d2f2c993c739
|
7
|
+
data.tar.gz: 3d95dc846407e046e2c8a2dc391ce89eee8813d262682ca2698df992fdf5ae4a48a515845165e4b910defdbd67a7457c95dcd040a8fbc2deb4f60d6148db7500
|
@@ -163,20 +163,6 @@ module Google
|
|
163
163
|
config.universe_domain = @config.universe_domain
|
164
164
|
end
|
165
165
|
|
166
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
167
|
-
config.credentials = credentials
|
168
|
-
config.quota_project = @quota_project_id
|
169
|
-
config.endpoint = @config.endpoint
|
170
|
-
config.universe_domain = @config.universe_domain
|
171
|
-
end
|
172
|
-
|
173
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
174
|
-
config.credentials = credentials
|
175
|
-
config.quota_project = @quota_project_id
|
176
|
-
config.endpoint = @config.endpoint
|
177
|
-
config.universe_domain = @config.universe_domain
|
178
|
-
end
|
179
|
-
|
180
166
|
@certificate_authority_service_stub = ::Gapic::ServiceStub.new(
|
181
167
|
::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Stub,
|
182
168
|
credentials: credentials,
|
@@ -187,6 +173,20 @@ module Google
|
|
187
173
|
interceptors: @config.interceptors,
|
188
174
|
channel_pool_config: @config.channel_pool
|
189
175
|
)
|
176
|
+
|
177
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
178
|
+
config.credentials = credentials
|
179
|
+
config.quota_project = @quota_project_id
|
180
|
+
config.endpoint = @certificate_authority_service_stub.endpoint
|
181
|
+
config.universe_domain = @certificate_authority_service_stub.universe_domain
|
182
|
+
end
|
183
|
+
|
184
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
185
|
+
config.credentials = credentials
|
186
|
+
config.quota_project = @quota_project_id
|
187
|
+
config.endpoint = @certificate_authority_service_stub.endpoint
|
188
|
+
config.universe_domain = @certificate_authority_service_stub.universe_domain
|
189
|
+
end
|
190
190
|
end
|
191
191
|
|
192
192
|
##
|
@@ -160,28 +160,28 @@ module Google
|
|
160
160
|
config.universe_domain = @config.universe_domain
|
161
161
|
end
|
162
162
|
|
163
|
+
@certificate_authority_service_stub = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Rest::ServiceStub.new(
|
164
|
+
endpoint: @config.endpoint,
|
165
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
166
|
+
universe_domain: @config.universe_domain,
|
167
|
+
credentials: credentials
|
168
|
+
)
|
169
|
+
|
163
170
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
164
171
|
config.credentials = credentials
|
165
172
|
config.quota_project = @quota_project_id
|
166
|
-
config.endpoint = @
|
167
|
-
config.universe_domain = @
|
173
|
+
config.endpoint = @certificate_authority_service_stub.endpoint
|
174
|
+
config.universe_domain = @certificate_authority_service_stub.universe_domain
|
168
175
|
config.bindings_override = @config.bindings_override
|
169
176
|
end
|
170
177
|
|
171
178
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
172
179
|
config.credentials = credentials
|
173
180
|
config.quota_project = @quota_project_id
|
174
|
-
config.endpoint = @
|
175
|
-
config.universe_domain = @
|
181
|
+
config.endpoint = @certificate_authority_service_stub.endpoint
|
182
|
+
config.universe_domain = @certificate_authority_service_stub.universe_domain
|
176
183
|
config.bindings_override = @config.bindings_override
|
177
184
|
end
|
178
|
-
|
179
|
-
@certificate_authority_service_stub = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Rest::ServiceStub.new(
|
180
|
-
endpoint: @config.endpoint,
|
181
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
182
|
-
universe_domain: @config.universe_domain,
|
183
|
-
credentials: credentials
|
184
|
-
)
|
185
185
|
end
|
186
186
|
|
187
187
|
##
|
data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/service_stub.rb
CHANGED
@@ -53,6 +53,15 @@ module Google
|
|
53
53
|
@client_stub.universe_domain
|
54
54
|
end
|
55
55
|
|
56
|
+
##
|
57
|
+
# The effective endpoint
|
58
|
+
#
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
def endpoint
|
62
|
+
@client_stub.endpoint
|
63
|
+
end
|
64
|
+
|
56
65
|
##
|
57
66
|
# Baseline implementation for the create_certificate REST call
|
58
67
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security-private_ca-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.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
|