google-cloud-beyond_corp 1.1.0 → 1.3.0
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/README.md +1 -2
- data/lib/google/cloud/beyond_corp/version.rb +1 -1
- data/lib/google-cloud-beyond_corp.rb +0 -1
- metadata +4 -198
- data/lib/google/cloud/beyond_corp/client_connector_services/version.rb +0 -29
- data/lib/google/cloud/beyond_corp/client_connector_services.rb +0 -128
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4930b178d0ae3df78b9793affc720c2f58982bc6c5868c1ba0ae3d9525c6e1ea
|
|
4
|
+
data.tar.gz: 157aa275d81a5deda5543db3908a7c9ddf3c7ae336d3707447c0fc2b4b3aaa01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84ab63b1e2f10ffd79a1c1d62b34d10153fa8829249a43dab798b270f779323d4250511d5a98d2175b7019123ad31241330dc569562a26e9f618420e3653989b
|
|
7
|
+
data.tar.gz: f74ddb7cf5e6cb2ed0947c9e8d0c34a0853919ff1489617c789d55233644a8e347001e06f9530e582527b008b93ca478700728b3c7b8ae8865c491bed400dce9
|
data/README.md
CHANGED
|
@@ -19,7 +19,6 @@ client gems:
|
|
|
19
19
|
[google-cloud-beyond_corp-app_connections-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest),
|
|
20
20
|
[google-cloud-beyond_corp-app_connectors-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest),
|
|
21
21
|
[google-cloud-beyond_corp-app_gateways-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/latest),
|
|
22
|
-
[google-cloud-beyond_corp-client_connector_services-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-client_connector_services-v1/latest),
|
|
23
22
|
[google-cloud-beyond_corp-client_gateways-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-client_gateways-v1/latest).
|
|
24
23
|
|
|
25
24
|
See also the [Product Documentation](https://cloud.google.com/beyondcorp/)
|
|
@@ -66,7 +65,7 @@ end
|
|
|
66
65
|
|
|
67
66
|
## Supported Ruby Versions
|
|
68
67
|
|
|
69
|
-
This library is supported on Ruby 2.
|
|
68
|
+
This library is supported on Ruby 2.7+.
|
|
70
69
|
|
|
71
70
|
Google provides official support for Ruby versions that are actively supported
|
|
72
71
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
@@ -19,5 +19,4 @@
|
|
|
19
19
|
require "google/cloud/beyond_corp" unless defined? Google::Cloud::BeyondCorp::VERSION
|
|
20
20
|
require "google/cloud/beyond_corp/app_connectors" unless defined? Google::Cloud::BeyondCorp::AppConnectors::VERSION
|
|
21
21
|
require "google/cloud/beyond_corp/app_gateways" unless defined? Google::Cloud::BeyondCorp::AppGateways::VERSION
|
|
22
|
-
require "google/cloud/beyond_corp/client_connector_services" unless defined? Google::Cloud::BeyondCorp::ClientConnectorServices::VERSION
|
|
23
22
|
require "google/cloud/beyond_corp/client_gateways" unless defined? Google::Cloud::BeyondCorp::ClientGateways::VERSION
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-beyond_corp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.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-
|
|
11
|
+
date: 2024-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-cloud-beyond_corp-app_connections-v1
|
|
@@ -44,198 +44,6 @@ dependencies:
|
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '1.6'
|
|
47
|
-
- !ruby/object:Gem::Dependency
|
|
48
|
-
name: google-cloud-beyond_corp-app_connectors-v1
|
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
|
50
|
-
requirements:
|
|
51
|
-
- - ">="
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: '0.4'
|
|
54
|
-
- - "<"
|
|
55
|
-
- !ruby/object:Gem::Version
|
|
56
|
-
version: 2.a
|
|
57
|
-
type: :runtime
|
|
58
|
-
prerelease: false
|
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
60
|
-
requirements:
|
|
61
|
-
- - ">="
|
|
62
|
-
- !ruby/object:Gem::Version
|
|
63
|
-
version: '0.4'
|
|
64
|
-
- - "<"
|
|
65
|
-
- !ruby/object:Gem::Version
|
|
66
|
-
version: 2.a
|
|
67
|
-
- !ruby/object:Gem::Dependency
|
|
68
|
-
name: google-cloud-beyond_corp-app_gateways-v1
|
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
|
70
|
-
requirements:
|
|
71
|
-
- - ">="
|
|
72
|
-
- !ruby/object:Gem::Version
|
|
73
|
-
version: '0.4'
|
|
74
|
-
- - "<"
|
|
75
|
-
- !ruby/object:Gem::Version
|
|
76
|
-
version: 2.a
|
|
77
|
-
type: :runtime
|
|
78
|
-
prerelease: false
|
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
80
|
-
requirements:
|
|
81
|
-
- - ">="
|
|
82
|
-
- !ruby/object:Gem::Version
|
|
83
|
-
version: '0.4'
|
|
84
|
-
- - "<"
|
|
85
|
-
- !ruby/object:Gem::Version
|
|
86
|
-
version: 2.a
|
|
87
|
-
- !ruby/object:Gem::Dependency
|
|
88
|
-
name: google-cloud-beyond_corp-client_connector_services-v1
|
|
89
|
-
requirement: !ruby/object:Gem::Requirement
|
|
90
|
-
requirements:
|
|
91
|
-
- - ">="
|
|
92
|
-
- !ruby/object:Gem::Version
|
|
93
|
-
version: '0.4'
|
|
94
|
-
- - "<"
|
|
95
|
-
- !ruby/object:Gem::Version
|
|
96
|
-
version: 2.a
|
|
97
|
-
type: :runtime
|
|
98
|
-
prerelease: false
|
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - ">="
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: '0.4'
|
|
104
|
-
- - "<"
|
|
105
|
-
- !ruby/object:Gem::Version
|
|
106
|
-
version: 2.a
|
|
107
|
-
- !ruby/object:Gem::Dependency
|
|
108
|
-
name: google-cloud-beyond_corp-client_gateways-v1
|
|
109
|
-
requirement: !ruby/object:Gem::Requirement
|
|
110
|
-
requirements:
|
|
111
|
-
- - ">="
|
|
112
|
-
- !ruby/object:Gem::Version
|
|
113
|
-
version: '0.4'
|
|
114
|
-
- - "<"
|
|
115
|
-
- !ruby/object:Gem::Version
|
|
116
|
-
version: 2.a
|
|
117
|
-
type: :runtime
|
|
118
|
-
prerelease: false
|
|
119
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
120
|
-
requirements:
|
|
121
|
-
- - ">="
|
|
122
|
-
- !ruby/object:Gem::Version
|
|
123
|
-
version: '0.4'
|
|
124
|
-
- - "<"
|
|
125
|
-
- !ruby/object:Gem::Version
|
|
126
|
-
version: 2.a
|
|
127
|
-
- !ruby/object:Gem::Dependency
|
|
128
|
-
name: google-style
|
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
|
130
|
-
requirements:
|
|
131
|
-
- - "~>"
|
|
132
|
-
- !ruby/object:Gem::Version
|
|
133
|
-
version: 1.26.1
|
|
134
|
-
type: :development
|
|
135
|
-
prerelease: false
|
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
137
|
-
requirements:
|
|
138
|
-
- - "~>"
|
|
139
|
-
- !ruby/object:Gem::Version
|
|
140
|
-
version: 1.26.1
|
|
141
|
-
- !ruby/object:Gem::Dependency
|
|
142
|
-
name: minitest
|
|
143
|
-
requirement: !ruby/object:Gem::Requirement
|
|
144
|
-
requirements:
|
|
145
|
-
- - "~>"
|
|
146
|
-
- !ruby/object:Gem::Version
|
|
147
|
-
version: '5.16'
|
|
148
|
-
type: :development
|
|
149
|
-
prerelease: false
|
|
150
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
151
|
-
requirements:
|
|
152
|
-
- - "~>"
|
|
153
|
-
- !ruby/object:Gem::Version
|
|
154
|
-
version: '5.16'
|
|
155
|
-
- !ruby/object:Gem::Dependency
|
|
156
|
-
name: minitest-focus
|
|
157
|
-
requirement: !ruby/object:Gem::Requirement
|
|
158
|
-
requirements:
|
|
159
|
-
- - "~>"
|
|
160
|
-
- !ruby/object:Gem::Version
|
|
161
|
-
version: '1.1'
|
|
162
|
-
type: :development
|
|
163
|
-
prerelease: false
|
|
164
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
165
|
-
requirements:
|
|
166
|
-
- - "~>"
|
|
167
|
-
- !ruby/object:Gem::Version
|
|
168
|
-
version: '1.1'
|
|
169
|
-
- !ruby/object:Gem::Dependency
|
|
170
|
-
name: minitest-rg
|
|
171
|
-
requirement: !ruby/object:Gem::Requirement
|
|
172
|
-
requirements:
|
|
173
|
-
- - "~>"
|
|
174
|
-
- !ruby/object:Gem::Version
|
|
175
|
-
version: '5.2'
|
|
176
|
-
type: :development
|
|
177
|
-
prerelease: false
|
|
178
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
179
|
-
requirements:
|
|
180
|
-
- - "~>"
|
|
181
|
-
- !ruby/object:Gem::Version
|
|
182
|
-
version: '5.2'
|
|
183
|
-
- !ruby/object:Gem::Dependency
|
|
184
|
-
name: rake
|
|
185
|
-
requirement: !ruby/object:Gem::Requirement
|
|
186
|
-
requirements:
|
|
187
|
-
- - ">="
|
|
188
|
-
- !ruby/object:Gem::Version
|
|
189
|
-
version: '13.0'
|
|
190
|
-
type: :development
|
|
191
|
-
prerelease: false
|
|
192
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
193
|
-
requirements:
|
|
194
|
-
- - ">="
|
|
195
|
-
- !ruby/object:Gem::Version
|
|
196
|
-
version: '13.0'
|
|
197
|
-
- !ruby/object:Gem::Dependency
|
|
198
|
-
name: redcarpet
|
|
199
|
-
requirement: !ruby/object:Gem::Requirement
|
|
200
|
-
requirements:
|
|
201
|
-
- - "~>"
|
|
202
|
-
- !ruby/object:Gem::Version
|
|
203
|
-
version: '3.0'
|
|
204
|
-
type: :development
|
|
205
|
-
prerelease: false
|
|
206
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
207
|
-
requirements:
|
|
208
|
-
- - "~>"
|
|
209
|
-
- !ruby/object:Gem::Version
|
|
210
|
-
version: '3.0'
|
|
211
|
-
- !ruby/object:Gem::Dependency
|
|
212
|
-
name: simplecov
|
|
213
|
-
requirement: !ruby/object:Gem::Requirement
|
|
214
|
-
requirements:
|
|
215
|
-
- - "~>"
|
|
216
|
-
- !ruby/object:Gem::Version
|
|
217
|
-
version: '0.9'
|
|
218
|
-
type: :development
|
|
219
|
-
prerelease: false
|
|
220
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
221
|
-
requirements:
|
|
222
|
-
- - "~>"
|
|
223
|
-
- !ruby/object:Gem::Version
|
|
224
|
-
version: '0.9'
|
|
225
|
-
- !ruby/object:Gem::Dependency
|
|
226
|
-
name: yard
|
|
227
|
-
requirement: !ruby/object:Gem::Requirement
|
|
228
|
-
requirements:
|
|
229
|
-
- - "~>"
|
|
230
|
-
- !ruby/object:Gem::Version
|
|
231
|
-
version: '0.9'
|
|
232
|
-
type: :development
|
|
233
|
-
prerelease: false
|
|
234
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
235
|
-
requirements:
|
|
236
|
-
- - "~>"
|
|
237
|
-
- !ruby/object:Gem::Version
|
|
238
|
-
version: '0.9'
|
|
239
47
|
description: Beyondcorp Enterprise provides identity and context aware access controls
|
|
240
48
|
for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise
|
|
241
49
|
APIs, enterprises can set up multi-cloud and on-prem connectivity using the App
|
|
@@ -257,8 +65,6 @@ files:
|
|
|
257
65
|
- lib/google/cloud/beyond_corp/app_connectors/version.rb
|
|
258
66
|
- lib/google/cloud/beyond_corp/app_gateways.rb
|
|
259
67
|
- lib/google/cloud/beyond_corp/app_gateways/version.rb
|
|
260
|
-
- lib/google/cloud/beyond_corp/client_connector_services.rb
|
|
261
|
-
- lib/google/cloud/beyond_corp/client_connector_services/version.rb
|
|
262
68
|
- lib/google/cloud/beyond_corp/client_gateways.rb
|
|
263
69
|
- lib/google/cloud/beyond_corp/client_gateways/version.rb
|
|
264
70
|
- lib/google/cloud/beyond_corp/version.rb
|
|
@@ -274,14 +80,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
274
80
|
requirements:
|
|
275
81
|
- - ">="
|
|
276
82
|
- !ruby/object:Gem::Version
|
|
277
|
-
version: '2.
|
|
83
|
+
version: '2.7'
|
|
278
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
279
85
|
requirements:
|
|
280
86
|
- - ">="
|
|
281
87
|
- !ruby/object:Gem::Version
|
|
282
88
|
version: '0'
|
|
283
89
|
requirements: []
|
|
284
|
-
rubygems_version: 3.5.
|
|
90
|
+
rubygems_version: 3.5.6
|
|
285
91
|
signing_key:
|
|
286
92
|
specification_version: 4
|
|
287
93
|
summary: API client library for the BeyondCorp API
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# Copyright 2022 Google LLC
|
|
4
|
-
#
|
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
# you may not use this file except in compliance with the License.
|
|
7
|
-
# You may obtain a copy of the License at
|
|
8
|
-
#
|
|
9
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
#
|
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
# See the License for the specific language governing permissions and
|
|
15
|
-
# limitations under the License.
|
|
16
|
-
|
|
17
|
-
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
module Google
|
|
21
|
-
module Cloud
|
|
22
|
-
module BeyondCorp
|
|
23
|
-
module ClientConnectorServices
|
|
24
|
-
# @private Unused
|
|
25
|
-
VERSION = ""
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# Copyright 2022 Google LLC
|
|
4
|
-
#
|
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
# you may not use this file except in compliance with the License.
|
|
7
|
-
# You may obtain a copy of the License at
|
|
8
|
-
#
|
|
9
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
#
|
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
# See the License for the specific language governing permissions and
|
|
15
|
-
# limitations under the License.
|
|
16
|
-
|
|
17
|
-
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
-
|
|
19
|
-
# Require this file early so that the version constant gets defined before
|
|
20
|
-
# requiring "google/cloud". This is because google-cloud-core will load the
|
|
21
|
-
# entrypoint (gem name) file, which in turn re-requires this file (hence
|
|
22
|
-
# causing a require cycle) unless the version constant is already defined.
|
|
23
|
-
require "google/cloud/beyond_corp/client_connector_services/version"
|
|
24
|
-
|
|
25
|
-
require "googleauth"
|
|
26
|
-
gem "google-cloud-core"
|
|
27
|
-
require "google/cloud" unless defined? ::Google::Cloud.new
|
|
28
|
-
require "google/cloud/config"
|
|
29
|
-
|
|
30
|
-
# Set the default configuration
|
|
31
|
-
::Google::Cloud.configure.add_config! :beyond_corp_client_connector_services do |config|
|
|
32
|
-
config.add_field! :endpoint, nil, match: ::String
|
|
33
|
-
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
|
|
34
|
-
config.add_field! :scope, nil, match: [::Array, ::String]
|
|
35
|
-
config.add_field! :lib_name, nil, match: ::String
|
|
36
|
-
config.add_field! :lib_version, nil, match: ::String
|
|
37
|
-
config.add_field! :interceptors, nil, match: ::Array
|
|
38
|
-
config.add_field! :timeout, nil, match: ::Numeric
|
|
39
|
-
config.add_field! :metadata, nil, match: ::Hash
|
|
40
|
-
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
|
|
41
|
-
config.add_field! :quota_project, nil, match: ::String
|
|
42
|
-
config.add_field! :universe_domain, nil, match: ::String
|
|
43
|
-
end
|
|
44
|
-
|
|
45
|
-
module Google
|
|
46
|
-
module Cloud
|
|
47
|
-
module BeyondCorp
|
|
48
|
-
module ClientConnectorServices
|
|
49
|
-
##
|
|
50
|
-
# Create a new client object for ClientConnectorServicesService.
|
|
51
|
-
#
|
|
52
|
-
# By default, this returns an instance of
|
|
53
|
-
# [Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorServicesService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-client_connector_services-v1/latest/Google-Cloud-BeyondCorp-ClientConnectorServices-V1-ClientConnectorServicesService-Client)
|
|
54
|
-
# for a gRPC client for version V1 of the API.
|
|
55
|
-
# However, you can specify a different API version by passing it in the
|
|
56
|
-
# `version` parameter. If the ClientConnectorServicesService service is
|
|
57
|
-
# supported by that API version, and the corresponding gem is available, the
|
|
58
|
-
# appropriate versioned client will be returned.
|
|
59
|
-
#
|
|
60
|
-
# ## About ClientConnectorServicesService
|
|
61
|
-
#
|
|
62
|
-
# API Overview:
|
|
63
|
-
#
|
|
64
|
-
# The `beyondcorp.googleapis.com` service implements the Google Cloud
|
|
65
|
-
# BeyondCorp API.
|
|
66
|
-
#
|
|
67
|
-
# Data Model:
|
|
68
|
-
#
|
|
69
|
-
# The ClientConnectorServicesService exposes the following resources:
|
|
70
|
-
#
|
|
71
|
-
# * Client Connector Services, named as follows:
|
|
72
|
-
# `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`.
|
|
73
|
-
#
|
|
74
|
-
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
75
|
-
# Defaults to `:v1`.
|
|
76
|
-
# @return [::Object] A client object for the specified version.
|
|
77
|
-
#
|
|
78
|
-
def self.client_connector_services_service version: :v1, &block
|
|
79
|
-
require "google/cloud/beyond_corp/client_connector_services/#{version.to_s.downcase}"
|
|
80
|
-
|
|
81
|
-
package_name = Google::Cloud::BeyondCorp::ClientConnectorServices
|
|
82
|
-
.constants
|
|
83
|
-
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
84
|
-
.first
|
|
85
|
-
service_module = Google::Cloud::BeyondCorp::ClientConnectorServices.const_get(package_name).const_get(:ClientConnectorServicesService)
|
|
86
|
-
service_module.const_get(:Client).new(&block)
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
##
|
|
90
|
-
# Configure the google-cloud-beyond_corp-client_connector_services library.
|
|
91
|
-
#
|
|
92
|
-
# The following configuration parameters are supported:
|
|
93
|
-
#
|
|
94
|
-
# * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
|
|
95
|
-
# The path to the keyfile as a String, the contents of the keyfile as a
|
|
96
|
-
# Hash, or a Google::Auth::Credentials object.
|
|
97
|
-
# * `lib_name` (*type:* `String`) -
|
|
98
|
-
# The library name as recorded in instrumentation and logging.
|
|
99
|
-
# * `lib_version` (*type:* `String`) -
|
|
100
|
-
# The library version as recorded in instrumentation and logging.
|
|
101
|
-
# * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
|
|
102
|
-
# An array of interceptors that are run before calls are executed.
|
|
103
|
-
# * `timeout` (*type:* `Numeric`) -
|
|
104
|
-
# Default timeout in seconds.
|
|
105
|
-
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
|
106
|
-
# Additional headers to be sent with the call.
|
|
107
|
-
# * `retry_policy` (*type:* `Hash`) -
|
|
108
|
-
# The retry policy. The value is a hash with the following keys:
|
|
109
|
-
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
110
|
-
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
111
|
-
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
112
|
-
# * `:retry_codes` (*type:* `Array<String>`) -
|
|
113
|
-
# The error codes that should trigger a retry.
|
|
114
|
-
#
|
|
115
|
-
# @return [::Google::Cloud::Config] The default configuration used by this library
|
|
116
|
-
#
|
|
117
|
-
def self.configure
|
|
118
|
-
yield ::Google::Cloud.configure.beyond_corp_client_connector_services if block_given?
|
|
119
|
-
|
|
120
|
-
::Google::Cloud.configure.beyond_corp_client_connector_services
|
|
121
|
-
end
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
end
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
helper_path = ::File.join __dir__, "client_connector_services", "helpers.rb"
|
|
128
|
-
require "google/cloud/beyond_corp/client_connector_services/helpers" if ::File.file? helper_path
|