google-cloud-beyond_corp 0.1.0 → 1.0.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/AUTHENTICATION.md +1 -1
- data/README.md +7 -7
- data/lib/google/cloud/beyond_corp/app_connections.rb +9 -9
- data/lib/google/cloud/beyond_corp/app_connectors.rb +9 -9
- data/lib/google/cloud/beyond_corp/app_gateways.rb +9 -9
- data/lib/google/cloud/beyond_corp/client_connector_services.rb +9 -9
- data/lib/google/cloud/beyond_corp/client_gateways.rb +9 -9
- data/lib/google/cloud/beyond_corp/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '02907bdd814831500a3b618ea7fc2bf4479ca0e87f0d59a7d49c03d2b228db3c'
|
4
|
+
data.tar.gz: e18dd5ebdc7af39af6e7c501fde8151f41302015c3e9cdcbec2e440a1dd3f9bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc9324e0f25d9d2dfa659050bb7449f39bc234a4b10e525fc7a97794dd29e11687b20b4b2c7ec9d8697b50987bbc1b4522dd580e6793c167a1cc1bb7339a1f65
|
7
|
+
data.tar.gz: cf98a680b4b584e987811ecaa419b64e53d30c50cee47cccf412f50125a2249116bdc498e952b98522f94fd08797d5ceb4cd9f8cb89055cd43ff764dbbb8f845
|
data/AUTHENTICATION.md
CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
|
|
112
112
|
To configure your system for this, simply:
|
113
113
|
|
114
114
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
115
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
115
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
116
116
|
3. Write code as if already authenticated.
|
117
117
|
|
118
118
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
data/README.md
CHANGED
@@ -16,11 +16,11 @@ for this library, google-cloud-beyond_corp, to see the convenience methods for
|
|
16
16
|
constructing client objects. Reference documentation for the client objects
|
17
17
|
themselves can be found in the client library documentation for the versioned
|
18
18
|
client gems:
|
19
|
-
[google-cloud-beyond_corp-app_connections-v1](https://
|
20
|
-
[google-cloud-beyond_corp-app_connectors-v1](https://
|
21
|
-
[google-cloud-beyond_corp-app_gateways-v1](https://
|
22
|
-
[google-cloud-beyond_corp-client_connector_services-v1](https://
|
23
|
-
[google-cloud-beyond_corp-client_gateways-v1](https://
|
19
|
+
[google-cloud-beyond_corp-app_connections-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest),
|
20
|
+
[google-cloud-beyond_corp-app_connectors-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest),
|
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
|
+
[google-cloud-beyond_corp-client_gateways-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-client_gateways-v1/latest).
|
24
24
|
|
25
25
|
See also the [Product Documentation](https://cloud.google.com/beyondcorp/)
|
26
26
|
for more usage information.
|
@@ -41,8 +41,8 @@ In order to use this library, you first need to go through the following steps:
|
|
41
41
|
## Enabling Logging
|
42
42
|
|
43
43
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
44
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
45
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
44
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
45
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
46
46
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
47
47
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
48
48
|
|
@@ -49,21 +49,21 @@ module Google
|
|
49
49
|
# Create a new client object for AppConnectionsService.
|
50
50
|
#
|
51
51
|
# By default, this returns an instance of
|
52
|
-
# [Google::Cloud::BeyondCorp::AppConnections::V1::AppConnectionsService::Client](https://
|
53
|
-
# for version V1 of the API.
|
54
|
-
# However, you can specify
|
52
|
+
# [Google::Cloud::BeyondCorp::AppConnections::V1::AppConnectionsService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connections-v1/latest/Google-Cloud-BeyondCorp-AppConnections-V1-AppConnectionsService-Client)
|
53
|
+
# for a gRPC client for version V1 of the API.
|
54
|
+
# However, you can specify a different API version by passing it in the
|
55
55
|
# `version` parameter. If the AppConnectionsService service is
|
56
56
|
# supported by that API version, and the corresponding gem is available, the
|
57
57
|
# appropriate versioned client will be returned.
|
58
58
|
#
|
59
59
|
# ## About AppConnectionsService
|
60
60
|
#
|
61
|
-
#
|
61
|
+
# API Overview:
|
62
62
|
#
|
63
63
|
# The `beyondcorp.googleapis.com` service implements the Google Cloud
|
64
64
|
# BeyondCorp API.
|
65
65
|
#
|
66
|
-
#
|
66
|
+
# Data Model:
|
67
67
|
#
|
68
68
|
# The AppConnectionsService exposes the following resources:
|
69
69
|
#
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
77
77
|
# Defaults to `:v1`.
|
78
|
-
# @return [
|
78
|
+
# @return [::Object] A client object for the specified version.
|
79
79
|
#
|
80
80
|
def self.app_connections_service version: :v1, &block
|
81
81
|
require "google/cloud/beyond_corp/app_connections/#{version.to_s.downcase}"
|
@@ -84,8 +84,8 @@ module Google
|
|
84
84
|
.constants
|
85
85
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
86
86
|
.first
|
87
|
-
|
88
|
-
|
87
|
+
service_module = Google::Cloud::BeyondCorp::AppConnections.const_get(package_name).const_get(:AppConnectionsService)
|
88
|
+
service_module.const_get(:Client).new(&block)
|
89
89
|
end
|
90
90
|
|
91
91
|
##
|
@@ -105,7 +105,7 @@ module Google
|
|
105
105
|
# * `timeout` (*type:* `Numeric`) -
|
106
106
|
# Default timeout in seconds.
|
107
107
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
108
|
-
# Additional
|
108
|
+
# Additional headers to be sent with the call.
|
109
109
|
# * `retry_policy` (*type:* `Hash`) -
|
110
110
|
# The retry policy. The value is a hash with the following keys:
|
111
111
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
@@ -49,21 +49,21 @@ module Google
|
|
49
49
|
# Create a new client object for AppConnectorsService.
|
50
50
|
#
|
51
51
|
# By default, this returns an instance of
|
52
|
-
# [Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnectorsService::Client](https://
|
53
|
-
# for version V1 of the API.
|
54
|
-
# However, you can specify
|
52
|
+
# [Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnectorsService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest/Google-Cloud-BeyondCorp-AppConnectors-V1-AppConnectorsService-Client)
|
53
|
+
# for a gRPC client for version V1 of the API.
|
54
|
+
# However, you can specify a different API version by passing it in the
|
55
55
|
# `version` parameter. If the AppConnectorsService service is
|
56
56
|
# supported by that API version, and the corresponding gem is available, the
|
57
57
|
# appropriate versioned client will be returned.
|
58
58
|
#
|
59
59
|
# ## About AppConnectorsService
|
60
60
|
#
|
61
|
-
#
|
61
|
+
# API Overview:
|
62
62
|
#
|
63
63
|
# The `beyondcorp.googleapis.com` service implements the Google Cloud
|
64
64
|
# BeyondCorp API.
|
65
65
|
#
|
66
|
-
#
|
66
|
+
# Data Model:
|
67
67
|
#
|
68
68
|
# The AppConnectorsService exposes the following resource:
|
69
69
|
#
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
77
77
|
# Defaults to `:v1`.
|
78
|
-
# @return [
|
78
|
+
# @return [::Object] A client object for the specified version.
|
79
79
|
#
|
80
80
|
def self.app_connectors_service version: :v1, &block
|
81
81
|
require "google/cloud/beyond_corp/app_connectors/#{version.to_s.downcase}"
|
@@ -84,8 +84,8 @@ module Google
|
|
84
84
|
.constants
|
85
85
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
86
86
|
.first
|
87
|
-
|
88
|
-
|
87
|
+
service_module = Google::Cloud::BeyondCorp::AppConnectors.const_get(package_name).const_get(:AppConnectorsService)
|
88
|
+
service_module.const_get(:Client).new(&block)
|
89
89
|
end
|
90
90
|
|
91
91
|
##
|
@@ -105,7 +105,7 @@ module Google
|
|
105
105
|
# * `timeout` (*type:* `Numeric`) -
|
106
106
|
# Default timeout in seconds.
|
107
107
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
108
|
-
# Additional
|
108
|
+
# Additional headers to be sent with the call.
|
109
109
|
# * `retry_policy` (*type:* `Hash`) -
|
110
110
|
# The retry policy. The value is a hash with the following keys:
|
111
111
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
@@ -49,21 +49,21 @@ module Google
|
|
49
49
|
# Create a new client object for AppGatewaysService.
|
50
50
|
#
|
51
51
|
# By default, this returns an instance of
|
52
|
-
# [Google::Cloud::BeyondCorp::AppGateways::V1::AppGatewaysService::Client](https://
|
53
|
-
# for version V1 of the API.
|
54
|
-
# However, you can specify
|
52
|
+
# [Google::Cloud::BeyondCorp::AppGateways::V1::AppGatewaysService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/latest/Google-Cloud-BeyondCorp-AppGateways-V1-AppGatewaysService-Client)
|
53
|
+
# for a gRPC client for version V1 of the API.
|
54
|
+
# However, you can specify a different API version by passing it in the
|
55
55
|
# `version` parameter. If the AppGatewaysService service is
|
56
56
|
# supported by that API version, and the corresponding gem is available, the
|
57
57
|
# appropriate versioned client will be returned.
|
58
58
|
#
|
59
59
|
# ## About AppGatewaysService
|
60
60
|
#
|
61
|
-
#
|
61
|
+
# API Overview:
|
62
62
|
#
|
63
63
|
# The `beyondcorp.googleapis.com` service implements the Google Cloud
|
64
64
|
# BeyondCorp API.
|
65
65
|
#
|
66
|
-
#
|
66
|
+
# Data Model:
|
67
67
|
#
|
68
68
|
# The AppGatewaysService exposes the following resources:
|
69
69
|
#
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
77
77
|
# Defaults to `:v1`.
|
78
|
-
# @return [
|
78
|
+
# @return [::Object] A client object for the specified version.
|
79
79
|
#
|
80
80
|
def self.app_gateways_service version: :v1, &block
|
81
81
|
require "google/cloud/beyond_corp/app_gateways/#{version.to_s.downcase}"
|
@@ -84,8 +84,8 @@ module Google
|
|
84
84
|
.constants
|
85
85
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
86
86
|
.first
|
87
|
-
|
88
|
-
|
87
|
+
service_module = Google::Cloud::BeyondCorp::AppGateways.const_get(package_name).const_get(:AppGatewaysService)
|
88
|
+
service_module.const_get(:Client).new(&block)
|
89
89
|
end
|
90
90
|
|
91
91
|
##
|
@@ -105,7 +105,7 @@ module Google
|
|
105
105
|
# * `timeout` (*type:* `Numeric`) -
|
106
106
|
# Default timeout in seconds.
|
107
107
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
108
|
-
# Additional
|
108
|
+
# Additional headers to be sent with the call.
|
109
109
|
# * `retry_policy` (*type:* `Hash`) -
|
110
110
|
# The retry policy. The value is a hash with the following keys:
|
111
111
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
@@ -49,21 +49,21 @@ module Google
|
|
49
49
|
# Create a new client object for ClientConnectorServicesService.
|
50
50
|
#
|
51
51
|
# By default, this returns an instance of
|
52
|
-
# [Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorServicesService::Client](https://
|
53
|
-
# for version V1 of the API.
|
54
|
-
# However, you can specify
|
52
|
+
# [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)
|
53
|
+
# for a gRPC client for version V1 of the API.
|
54
|
+
# However, you can specify a different API version by passing it in the
|
55
55
|
# `version` parameter. If the ClientConnectorServicesService service is
|
56
56
|
# supported by that API version, and the corresponding gem is available, the
|
57
57
|
# appropriate versioned client will be returned.
|
58
58
|
#
|
59
59
|
# ## About ClientConnectorServicesService
|
60
60
|
#
|
61
|
-
#
|
61
|
+
# API Overview:
|
62
62
|
#
|
63
63
|
# The `beyondcorp.googleapis.com` service implements the Google Cloud
|
64
64
|
# BeyondCorp API.
|
65
65
|
#
|
66
|
-
#
|
66
|
+
# Data Model:
|
67
67
|
#
|
68
68
|
# The ClientConnectorServicesService exposes the following resources:
|
69
69
|
#
|
@@ -72,7 +72,7 @@ module Google
|
|
72
72
|
#
|
73
73
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
74
74
|
# Defaults to `:v1`.
|
75
|
-
# @return [
|
75
|
+
# @return [::Object] A client object for the specified version.
|
76
76
|
#
|
77
77
|
def self.client_connector_services_service version: :v1, &block
|
78
78
|
require "google/cloud/beyond_corp/client_connector_services/#{version.to_s.downcase}"
|
@@ -81,8 +81,8 @@ module Google
|
|
81
81
|
.constants
|
82
82
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
83
83
|
.first
|
84
|
-
|
85
|
-
|
84
|
+
service_module = Google::Cloud::BeyondCorp::ClientConnectorServices.const_get(package_name).const_get(:ClientConnectorServicesService)
|
85
|
+
service_module.const_get(:Client).new(&block)
|
86
86
|
end
|
87
87
|
|
88
88
|
##
|
@@ -102,7 +102,7 @@ module Google
|
|
102
102
|
# * `timeout` (*type:* `Numeric`) -
|
103
103
|
# Default timeout in seconds.
|
104
104
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
105
|
-
# Additional
|
105
|
+
# Additional headers to be sent with the call.
|
106
106
|
# * `retry_policy` (*type:* `Hash`) -
|
107
107
|
# The retry policy. The value is a hash with the following keys:
|
108
108
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
@@ -49,21 +49,21 @@ module Google
|
|
49
49
|
# Create a new client object for ClientGatewaysService.
|
50
50
|
#
|
51
51
|
# By default, this returns an instance of
|
52
|
-
# [Google::Cloud::BeyondCorp::ClientGateways::V1::ClientGatewaysService::Client](https://
|
53
|
-
# for version V1 of the API.
|
54
|
-
# However, you can specify
|
52
|
+
# [Google::Cloud::BeyondCorp::ClientGateways::V1::ClientGatewaysService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-client_gateways-v1/latest/Google-Cloud-BeyondCorp-ClientGateways-V1-ClientGatewaysService-Client)
|
53
|
+
# for a gRPC client for version V1 of the API.
|
54
|
+
# However, you can specify a different API version by passing it in the
|
55
55
|
# `version` parameter. If the ClientGatewaysService service is
|
56
56
|
# supported by that API version, and the corresponding gem is available, the
|
57
57
|
# appropriate versioned client will be returned.
|
58
58
|
#
|
59
59
|
# ## About ClientGatewaysService
|
60
60
|
#
|
61
|
-
#
|
61
|
+
# API Overview:
|
62
62
|
#
|
63
63
|
# The `beyondcorp.googleapis.com` service implements the Google Cloud
|
64
64
|
# BeyondCorp API.
|
65
65
|
#
|
66
|
-
#
|
66
|
+
# Data Model:
|
67
67
|
#
|
68
68
|
# The ClientGatewaysService exposes the following resources:
|
69
69
|
#
|
@@ -72,7 +72,7 @@ module Google
|
|
72
72
|
#
|
73
73
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
74
74
|
# Defaults to `:v1`.
|
75
|
-
# @return [
|
75
|
+
# @return [::Object] A client object for the specified version.
|
76
76
|
#
|
77
77
|
def self.client_gateways_service version: :v1, &block
|
78
78
|
require "google/cloud/beyond_corp/client_gateways/#{version.to_s.downcase}"
|
@@ -81,8 +81,8 @@ module Google
|
|
81
81
|
.constants
|
82
82
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
83
83
|
.first
|
84
|
-
|
85
|
-
|
84
|
+
service_module = Google::Cloud::BeyondCorp::ClientGateways.const_get(package_name).const_get(:ClientGatewaysService)
|
85
|
+
service_module.const_get(:Client).new(&block)
|
86
86
|
end
|
87
87
|
|
88
88
|
##
|
@@ -102,7 +102,7 @@ module Google
|
|
102
102
|
# * `timeout` (*type:* `Numeric`) -
|
103
103
|
# Default timeout in seconds.
|
104
104
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
105
|
-
# Additional
|
105
|
+
# Additional headers to be sent with the call.
|
106
106
|
# * `retry_policy` (*type:* `Hash`) -
|
107
107
|
# The retry policy. The value is a hash with the following keys:
|
108
108
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
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:
|
4
|
+
version: 1.0.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:
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-beyond_corp-app_connections-v1
|
@@ -281,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
281
|
- !ruby/object:Gem::Version
|
282
282
|
version: '0'
|
283
283
|
requirements: []
|
284
|
-
rubygems_version: 3.
|
284
|
+
rubygems_version: 3.4.2
|
285
285
|
signing_key:
|
286
286
|
specification_version: 4
|
287
287
|
summary: API client library for the BeyondCorp API
|