google-cloud-beyond_corp 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 612c400b501cca719c9eb0a2236bc9596b3f5830b0f6899a7438e34abd233c76
4
- data.tar.gz: 1678a8dc511c28bc182e4ad35c8da903ae2071b53b2f0a36e666fd2ed197b36d
3
+ metadata.gz: 3ab82125dfdb50d8659c955c007dc72245351c2fbabc353ff8a2cebcdac5b58c
4
+ data.tar.gz: 6ac94814bc7f99a7af25845416e9d519006ca7ac50df61b2e85cfd2d2279d79d
5
5
  SHA512:
6
- metadata.gz: dc7845798ebcc589cc3016b31404d24ae0f594f820cf9c48b40c5836d074b9d0a2a52085044cf63318faaebccc3fff1b1d8e012324ce6194982a47e4f66e2863
7
- data.tar.gz: d4867cf7efc5a5decdd57e592f6c61400c74b239c312dd5d9fb6385939c00dd6bf452b6a6361ead87f8b1fb64b524127df35e1aa3dd56bbce0406ab9688edfa1
6
+ metadata.gz: 8e344a5ffb04bda23b492acfd7841ca3e303f9ad7a79d19f15a486cdb6359a979d0ed35db88a6d6891a253b781f0c763c1ddcf8643318c838314fa4249752201
7
+ data.tar.gz: 457d770a91a16f571e70af2a287b72ca7a7a318856ee659df8633733ac0a4bc7ede94e465bb74d04ab2157d46ad4724810ff04debeb686a7af80c87a96379d16
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/)
@@ -132,3 +131,4 @@ The `google-apis-` clients have wide coverage across Google services, so you
132
131
  might need to use one if there is no modern client available for the service.
133
132
  However, if a modern client is available, we generally recommend it over the
134
133
  older `google-apis-` clients.
134
+
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module Cloud
19
19
  module BeyondCorp
20
- VERSION = "1.1.0"
20
+ VERSION = "1.2.0"
21
21
  end
22
22
  end
23
23
  end
@@ -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.1.0
4
+ version: 1.2.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-01-15 00:00:00.000000000 Z
11
+ date: 2024-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-beyond_corp-app_connections-v1
@@ -84,26 +84,6 @@ dependencies:
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
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
87
  - !ruby/object:Gem::Dependency
108
88
  name: google-cloud-beyond_corp-client_gateways-v1
109
89
  requirement: !ruby/object:Gem::Requirement
@@ -257,8 +237,6 @@ files:
257
237
  - lib/google/cloud/beyond_corp/app_connectors/version.rb
258
238
  - lib/google/cloud/beyond_corp/app_gateways.rb
259
239
  - 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
240
  - lib/google/cloud/beyond_corp/client_gateways.rb
263
241
  - lib/google/cloud/beyond_corp/client_gateways/version.rb
264
242
  - lib/google/cloud/beyond_corp/version.rb
@@ -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