google-cloud-beyond_corp 0.1.0 → 1.0.0

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: eb07413879b28298294b86144a5a84643cc90701313841cc6c0116c81f56d638
4
- data.tar.gz: d342c981dbed47d3ea1531b5127003460d57ff4fc3f3e7b456e6f708c876ee8c
3
+ metadata.gz: '02907bdd814831500a3b618ea7fc2bf4479ca0e87f0d59a7d49c03d2b228db3c'
4
+ data.tar.gz: e18dd5ebdc7af39af6e7c501fde8151f41302015c3e9cdcbec2e440a1dd3f9bc
5
5
  SHA512:
6
- metadata.gz: 2164016a2e58c53470644cf73aed95d612c285ad4ec7523864003c81988deaf7218e48fdc0396839816fb6dd0e3fa483eb9b429703c1d7094f3fd9c9dfb30699
7
- data.tar.gz: 027ccb510f9fec45e86fc62b3dde3fc9bbb561ddf90653408db8768b9e5350b317087a0113aabe82fc6bdf0b567bfe0bbbd8e530513d0175b5ff7ae14574b1a1
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://googleapis.dev/ruby/google-cloud-beyond_corp-app_connections-v1/latest),
20
- [google-cloud-beyond_corp-app_connectors-v1](https://googleapis.dev/ruby/google-cloud-beyond_corp-app_connectors-v1/latest),
21
- [google-cloud-beyond_corp-app_gateways-v1](https://googleapis.dev/ruby/google-cloud-beyond_corp-app_gateways-v1/latest),
22
- [google-cloud-beyond_corp-client_connector_services-v1](https://googleapis.dev/ruby/google-cloud-beyond_corp-client_connector_services-v1/latest),
23
- [google-cloud-beyond_corp-client_gateways-v1](https://googleapis.dev/ruby/google-cloud-beyond_corp-client_gateways-v1/latest).
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/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
45
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
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://googleapis.dev/ruby/google-cloud-beyond_corp-app_connections-v1/latest/Google/Cloud/BeyondCorp/AppConnections/V1/AppConnectionsService/Client.html)
53
- # for version V1 of the API.
54
- # However, you can specify specify a different API version by passing it in the
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
- # ## API Overview
61
+ # API Overview:
62
62
  #
63
63
  # The `beyondcorp.googleapis.com` service implements the Google Cloud
64
64
  # BeyondCorp API.
65
65
  #
66
- # ## Data Model
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 [AppConnectionsService::Client] A client object for the specified version.
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
- package_module = Google::Cloud::BeyondCorp::AppConnections.const_get package_name
88
- package_module.const_get(:AppConnectionsService).const_get(:Client).new(&block)
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 gRPC headers to be sent with the call.
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://googleapis.dev/ruby/google-cloud-beyond_corp-app_connectors-v1/latest/Google/Cloud/BeyondCorp/AppConnectors/V1/AppConnectorsService/Client.html)
53
- # for version V1 of the API.
54
- # However, you can specify specify a different API version by passing it in the
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
- # ## API Overview
61
+ # API Overview:
62
62
  #
63
63
  # The `beyondcorp.googleapis.com` service implements the Google Cloud
64
64
  # BeyondCorp API.
65
65
  #
66
- # ## Data Model
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 [AppConnectorsService::Client] A client object for the specified version.
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
- package_module = Google::Cloud::BeyondCorp::AppConnectors.const_get package_name
88
- package_module.const_get(:AppConnectorsService).const_get(:Client).new(&block)
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 gRPC headers to be sent with the call.
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://googleapis.dev/ruby/google-cloud-beyond_corp-app_gateways-v1/latest/Google/Cloud/BeyondCorp/AppGateways/V1/AppGatewaysService/Client.html)
53
- # for version V1 of the API.
54
- # However, you can specify specify a different API version by passing it in the
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
- # ## API Overview
61
+ # API Overview:
62
62
  #
63
63
  # The `beyondcorp.googleapis.com` service implements the Google Cloud
64
64
  # BeyondCorp API.
65
65
  #
66
- # ## Data Model
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 [AppGatewaysService::Client] A client object for the specified version.
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
- package_module = Google::Cloud::BeyondCorp::AppGateways.const_get package_name
88
- package_module.const_get(:AppGatewaysService).const_get(:Client).new(&block)
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 gRPC headers to be sent with the call.
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://googleapis.dev/ruby/google-cloud-beyond_corp-client_connector_services-v1/latest/Google/Cloud/BeyondCorp/ClientConnectorServices/V1/ClientConnectorServicesService/Client.html)
53
- # for version V1 of the API.
54
- # However, you can specify specify a different API version by passing it in the
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
- # ## API Overview
61
+ # API Overview:
62
62
  #
63
63
  # The `beyondcorp.googleapis.com` service implements the Google Cloud
64
64
  # BeyondCorp API.
65
65
  #
66
- # ## Data Model
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 [ClientConnectorServicesService::Client] A client object for the specified version.
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
- package_module = Google::Cloud::BeyondCorp::ClientConnectorServices.const_get package_name
85
- package_module.const_get(:ClientConnectorServicesService).const_get(:Client).new(&block)
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 gRPC headers to be sent with the call.
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://googleapis.dev/ruby/google-cloud-beyond_corp-client_gateways-v1/latest/Google/Cloud/BeyondCorp/ClientGateways/V1/ClientGatewaysService/Client.html)
53
- # for version V1 of the API.
54
- # However, you can specify specify a different API version by passing it in the
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
- # ## API Overview
61
+ # API Overview:
62
62
  #
63
63
  # The `beyondcorp.googleapis.com` service implements the Google Cloud
64
64
  # BeyondCorp API.
65
65
  #
66
- # ## Data Model
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 [ClientGatewaysService::Client] A client object for the specified version.
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
- package_module = Google::Cloud::BeyondCorp::ClientGateways.const_get package_name
85
- package_module.const_get(:ClientGatewaysService).const_get(:Client).new(&block)
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 gRPC headers to be sent with the call.
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.
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module Cloud
19
19
  module BeyondCorp
20
- VERSION = "0.1.0"
20
+ VERSION = "1.0.0"
21
21
  end
22
22
  end
23
23
  end
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: 0.1.0
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: 2022-08-09 00:00:00.000000000 Z
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.3.14
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