google-cloud-api_hub-v1 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +1 -27
  4. data/lib/google/cloud/api_hub/v1/api_hub.rb +0 -7
  5. data/lib/google/cloud/api_hub/v1/api_hub_dependencies.rb +0 -7
  6. data/lib/google/cloud/api_hub/v1/api_hub_plugin.rb +0 -7
  7. data/lib/google/cloud/api_hub/v1/host_project_registration_service.rb +0 -7
  8. data/lib/google/cloud/api_hub/v1/linting_service.rb +0 -7
  9. data/lib/google/cloud/api_hub/v1/provisioning.rb +0 -8
  10. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service.rb +0 -7
  11. data/lib/google/cloud/api_hub/v1/version.rb +1 -1
  12. data/lib/google/cloud/api_hub/v1.rb +0 -5
  13. data/proto_docs/google/cloud/apihub/v1/apihub_service.rb +47 -47
  14. data/proto_docs/google/cloud/apihub/v1/common_fields.rb +1 -1
  15. data/proto_docs/google/cloud/apihub/v1/host_project_registration_service.rb +4 -4
  16. data/proto_docs/google/cloud/apihub/v1/plugin_service.rb +3 -3
  17. data/proto_docs/google/cloud/apihub/v1/provisioning_service.rb +4 -4
  18. data/proto_docs/google/cloud/apihub/v1/runtime_project_attachment_service.rb +7 -7
  19. metadata +2 -10
  20. data/lib/google/cloud/api_hub/v1/api_hub/client.rb +0 -4514
  21. data/lib/google/cloud/api_hub/v1/api_hub_dependencies/client.rb +0 -906
  22. data/lib/google/cloud/api_hub/v1/api_hub_plugin/client.rb +0 -640
  23. data/lib/google/cloud/api_hub/v1/host_project_registration_service/client.rb +0 -689
  24. data/lib/google/cloud/api_hub/v1/linting_service/client.rb +0 -744
  25. data/lib/google/cloud/api_hub/v1/provisioning/client.rb +0 -676
  26. data/lib/google/cloud/api_hub/v1/provisioning/operations.rb +0 -809
  27. data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/client.rb +0 -885
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ada8ff30bcc7b1fad53f954820bccdee3fbf8876788c293a531392c66504b1a
4
- data.tar.gz: 6d0ffcd84a822a97cde73e2b9bfbfe321915b5c931e012059f241bdcc47ad653
3
+ metadata.gz: d1bf41a283c08bd0449f6ad1a4a72dc03620810ccd66697f931de51f2a915f33
4
+ data.tar.gz: 2794aafbd6bf6356f908e84b4a7a291259735340144465af3933cbe327e57fc1
5
5
  SHA512:
6
- metadata.gz: b787961dd525b0acbe230f4cf1d70c63df738767e89458256e7c4e787d986722a49bdb2794430245cacdae32245f3dec64655c2dd74c79250726a86596219ff7
7
- data.tar.gz: c0d01b78f26a4062e326d4d85e7148918186d8ed09fd3487b8d07f86fe85017c2fc388a2ee5137d67f062be54cc894b482c6f2483e7abd73e6dbdbc63eae78f5
6
+ metadata.gz: e49056bbd0fe3cc1b9dbad2563f770a444e7ab99b7e755af928359c021f2e31f6b75f0b11de641beb1f9ce8f0229ecee0b03c7907cc0ee7f390074da6f2ac531
7
+ data.tar.gz: 7b90efd60173df61c8572ade0a417008f4406839b9db193e5dd31232622ce71be294f0fcdf44cc002f7511744b7f3159ad942af7ae81ce45c440fc6c8f29df21
data/AUTHENTICATION.md CHANGED
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
56
56
  ```ruby
57
57
  require "google/cloud/api_hub/v1"
58
58
 
59
- client = ::Google::Cloud::ApiHub::V1::ApiHub::Client.new do |config|
59
+ client = ::Google::Cloud::ApiHub::V1::ApiHub::Rest::Client.new do |config|
60
60
  config.credentials = "path/to/credentialfile.json"
61
61
  end
62
62
  ```
@@ -66,11 +66,11 @@ To configure a credentials file globally for all clients:
66
66
  ```ruby
67
67
  require "google/cloud/api_hub/v1"
68
68
 
69
- ::Google::Cloud::ApiHub::V1::ApiHub::Client.configure do |config|
69
+ ::Google::Cloud::ApiHub::V1::ApiHub::Rest::Client.configure do |config|
70
70
  config.credentials = "path/to/credentialfile.json"
71
71
  end
72
72
 
73
- client = ::Google::Cloud::ApiHub::V1::ApiHub::Client.new
73
+ client = ::Google::Cloud::ApiHub::V1::ApiHub::Rest::Client.new
74
74
  ```
75
75
 
76
76
  ### Environment Variables
@@ -100,7 +100,7 @@ require "google/cloud/api_hub/v1"
100
100
 
101
101
  ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
102
102
 
103
- client = ::Google::Cloud::ApiHub::V1::ApiHub::Client.new
103
+ client = ::Google::Cloud::ApiHub::V1::ApiHub::Rest::Client.new
104
104
  ```
105
105
 
106
106
  ### Local ADC file
data/README.md CHANGED
@@ -32,7 +32,7 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/api_hub/v1"
34
34
 
35
- client = ::Google::Cloud::ApiHub::V1::ApiHub::Client.new
35
+ client = ::Google::Cloud::ApiHub::V1::ApiHub::Rest::Client.new
36
36
  request = ::Google::Cloud::ApiHub::V1::CreateApiRequest.new # (request fields as keyword arguments...)
37
37
  response = client.create_api request
38
38
  ```
@@ -43,32 +43,6 @@ for class and method documentation.
43
43
  See also the [Product Documentation](https://cloud.google.com/apigee/docs/apihub/what-is-api-hub)
44
44
  for general usage information.
45
45
 
46
- ## Enabling Logging
47
-
48
- To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
- 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)
52
- and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
-
54
- Configuring a Ruby stdlib logger:
55
-
56
- ```ruby
57
- require "logger"
58
-
59
- module MyLogger
60
- LOGGER = Logger.new $stderr, level: Logger::WARN
61
- def logger
62
- LOGGER
63
- end
64
- end
65
-
66
- # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
67
- module GRPC
68
- extend MyLogger
69
- end
70
- ```
71
-
72
46
 
73
47
  ## Google Cloud Samples
74
48
 
@@ -16,7 +16,6 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/common"
20
19
  require "gapic/config"
21
20
  require "gapic/config/method"
22
21
 
@@ -24,7 +23,6 @@ require "google/cloud/api_hub/v1/version"
24
23
 
25
24
  require "google/cloud/api_hub/v1/api_hub/credentials"
26
25
  require "google/cloud/api_hub/v1/api_hub/paths"
27
- require "google/cloud/api_hub/v1/api_hub/client"
28
26
  require "google/cloud/api_hub/v1/api_hub/rest"
29
27
 
30
28
  module Google
@@ -34,11 +32,6 @@ module Google
34
32
  ##
35
33
  # This service provides all methods related to the API hub.
36
34
  #
37
- # @example Load this service and instantiate a gRPC client
38
- #
39
- # require "google/cloud/api_hub/v1/api_hub"
40
- # client = ::Google::Cloud::ApiHub::V1::ApiHub::Client.new
41
- #
42
35
  # @example Load this service and instantiate a REST client
43
36
  #
44
37
  # require "google/cloud/api_hub/v1/api_hub/rest"
@@ -16,7 +16,6 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/common"
20
19
  require "gapic/config"
21
20
  require "gapic/config/method"
22
21
 
@@ -24,7 +23,6 @@ require "google/cloud/api_hub/v1/version"
24
23
 
25
24
  require "google/cloud/api_hub/v1/api_hub_dependencies/credentials"
26
25
  require "google/cloud/api_hub/v1/api_hub_dependencies/paths"
27
- require "google/cloud/api_hub/v1/api_hub_dependencies/client"
28
26
  require "google/cloud/api_hub/v1/api_hub_dependencies/rest"
29
27
 
30
28
  module Google
@@ -35,11 +33,6 @@ module Google
35
33
  # This service provides methods for various operations related to a
36
34
  # {::Google::Cloud::ApiHub::V1::Dependency Dependency} in the API hub.
37
35
  #
38
- # @example Load this service and instantiate a gRPC client
39
- #
40
- # require "google/cloud/api_hub/v1/api_hub_dependencies"
41
- # client = ::Google::Cloud::ApiHub::V1::ApiHubDependencies::Client.new
42
- #
43
36
  # @example Load this service and instantiate a REST client
44
37
  #
45
38
  # require "google/cloud/api_hub/v1/api_hub_dependencies/rest"
@@ -16,7 +16,6 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/common"
20
19
  require "gapic/config"
21
20
  require "gapic/config/method"
22
21
 
@@ -24,7 +23,6 @@ require "google/cloud/api_hub/v1/version"
24
23
 
25
24
  require "google/cloud/api_hub/v1/api_hub_plugin/credentials"
26
25
  require "google/cloud/api_hub/v1/api_hub_plugin/paths"
27
- require "google/cloud/api_hub/v1/api_hub_plugin/client"
28
26
  require "google/cloud/api_hub/v1/api_hub_plugin/rest"
29
27
 
30
28
  module Google
@@ -34,11 +32,6 @@ module Google
34
32
  ##
35
33
  # This service is used for managing plugins inside the API Hub.
36
34
  #
37
- # @example Load this service and instantiate a gRPC client
38
- #
39
- # require "google/cloud/api_hub/v1/api_hub_plugin"
40
- # client = ::Google::Cloud::ApiHub::V1::ApiHubPlugin::Client.new
41
- #
42
35
  # @example Load this service and instantiate a REST client
43
36
  #
44
37
  # require "google/cloud/api_hub/v1/api_hub_plugin/rest"
@@ -16,7 +16,6 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/common"
20
19
  require "gapic/config"
21
20
  require "gapic/config/method"
22
21
 
@@ -24,7 +23,6 @@ require "google/cloud/api_hub/v1/version"
24
23
 
25
24
  require "google/cloud/api_hub/v1/host_project_registration_service/credentials"
26
25
  require "google/cloud/api_hub/v1/host_project_registration_service/paths"
27
- require "google/cloud/api_hub/v1/host_project_registration_service/client"
28
26
  require "google/cloud/api_hub/v1/host_project_registration_service/rest"
29
27
 
30
28
  module Google
@@ -34,11 +32,6 @@ module Google
34
32
  ##
35
33
  # This service is used for managing the host project registrations.
36
34
  #
37
- # @example Load this service and instantiate a gRPC client
38
- #
39
- # require "google/cloud/api_hub/v1/host_project_registration_service"
40
- # client = ::Google::Cloud::ApiHub::V1::HostProjectRegistrationService::Client.new
41
- #
42
35
  # @example Load this service and instantiate a REST client
43
36
  #
44
37
  # require "google/cloud/api_hub/v1/host_project_registration_service/rest"
@@ -16,7 +16,6 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/common"
20
19
  require "gapic/config"
21
20
  require "gapic/config/method"
22
21
 
@@ -24,7 +23,6 @@ require "google/cloud/api_hub/v1/version"
24
23
 
25
24
  require "google/cloud/api_hub/v1/linting_service/credentials"
26
25
  require "google/cloud/api_hub/v1/linting_service/paths"
27
- require "google/cloud/api_hub/v1/linting_service/client"
28
26
  require "google/cloud/api_hub/v1/linting_service/rest"
29
27
 
30
28
  module Google
@@ -34,11 +32,6 @@ module Google
34
32
  ##
35
33
  # This service provides all methods related to the 1p Linter.
36
34
  #
37
- # @example Load this service and instantiate a gRPC client
38
- #
39
- # require "google/cloud/api_hub/v1/linting_service"
40
- # client = ::Google::Cloud::ApiHub::V1::LintingService::Client.new
41
- #
42
35
  # @example Load this service and instantiate a REST client
43
36
  #
44
37
  # require "google/cloud/api_hub/v1/linting_service/rest"
@@ -16,7 +16,6 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/common"
20
19
  require "gapic/config"
21
20
  require "gapic/config/method"
22
21
 
@@ -24,8 +23,6 @@ require "google/cloud/api_hub/v1/version"
24
23
 
25
24
  require "google/cloud/api_hub/v1/provisioning/credentials"
26
25
  require "google/cloud/api_hub/v1/provisioning/paths"
27
- require "google/cloud/api_hub/v1/provisioning/operations"
28
- require "google/cloud/api_hub/v1/provisioning/client"
29
26
  require "google/cloud/api_hub/v1/provisioning/rest"
30
27
 
31
28
  module Google
@@ -35,11 +32,6 @@ module Google
35
32
  ##
36
33
  # This service is used for managing the data plane provisioning of the API hub.
37
34
  #
38
- # @example Load this service and instantiate a gRPC client
39
- #
40
- # require "google/cloud/api_hub/v1/provisioning"
41
- # client = ::Google::Cloud::ApiHub::V1::Provisioning::Client.new
42
- #
43
35
  # @example Load this service and instantiate a REST client
44
36
  #
45
37
  # require "google/cloud/api_hub/v1/provisioning/rest"
@@ -16,7 +16,6 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/common"
20
19
  require "gapic/config"
21
20
  require "gapic/config/method"
22
21
 
@@ -24,7 +23,6 @@ require "google/cloud/api_hub/v1/version"
24
23
 
25
24
  require "google/cloud/api_hub/v1/runtime_project_attachment_service/credentials"
26
25
  require "google/cloud/api_hub/v1/runtime_project_attachment_service/paths"
27
- require "google/cloud/api_hub/v1/runtime_project_attachment_service/client"
28
26
  require "google/cloud/api_hub/v1/runtime_project_attachment_service/rest"
29
27
 
30
28
  module Google
@@ -34,11 +32,6 @@ module Google
34
32
  ##
35
33
  # This service is used for managing the runtime project attachments.
36
34
  #
37
- # @example Load this service and instantiate a gRPC client
38
- #
39
- # require "google/cloud/api_hub/v1/runtime_project_attachment_service"
40
- # client = ::Google::Cloud::ApiHub::V1::RuntimeProjectAttachmentService::Client.new
41
- #
42
35
  # @example Load this service and instantiate a REST client
43
36
  #
44
37
  # require "google/cloud/api_hub/v1/runtime_project_attachment_service/rest"
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApiHub
23
23
  module V1
24
- VERSION = "0.1.1"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -31,11 +31,6 @@ module Google
31
31
  ##
32
32
  # API client module.
33
33
  #
34
- # @example Load this package, including all its services, and instantiate a gRPC client
35
- #
36
- # require "google/cloud/api_hub/v1"
37
- # client = ::Google::Cloud::ApiHub::V1::ApiHub::Client.new
38
- #
39
34
  # @example Load this package, including all its services, and instantiate a REST client
40
35
  #
41
36
  # require "google/cloud/api_hub/v1"