google-cloud-service_directory-v1 0.5.0 → 0.7.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.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/README.md +3 -3
  4. data/lib/google/cloud/service_directory/v1/lookup_service/client.rb +2 -2
  5. data/lib/google/cloud/service_directory/v1/lookup_service/rest/client.rb +374 -0
  6. data/lib/google/cloud/service_directory/v1/lookup_service/rest/service_stub.rb +108 -0
  7. data/lib/google/cloud/service_directory/v1/lookup_service/rest.rb +52 -0
  8. data/lib/google/cloud/service_directory/v1/lookup_service.rb +7 -1
  9. data/lib/google/cloud/service_directory/v1/registration_service/client.rb +14 -20
  10. data/lib/google/cloud/service_directory/v1/registration_service/rest/client.rb +1706 -0
  11. data/lib/google/cloud/service_directory/v1/registration_service/rest/service_stub.rb +1143 -0
  12. data/lib/google/cloud/service_directory/v1/registration_service/rest.rb +66 -0
  13. data/lib/google/cloud/service_directory/v1/registration_service.rb +7 -1
  14. data/lib/google/cloud/service_directory/v1/rest.rb +38 -0
  15. data/lib/google/cloud/service_directory/v1/version.rb +1 -1
  16. data/lib/google/cloud/service_directory/v1.rb +7 -2
  17. data/lib/google/cloud/servicedirectory/v1/endpoint_pb.rb +24 -7
  18. data/lib/google/cloud/servicedirectory/v1/lookup_service_pb.rb +25 -9
  19. data/lib/google/cloud/servicedirectory/v1/namespace_pb.rb +24 -5
  20. data/lib/google/cloud/servicedirectory/v1/registration_service_pb.rb +28 -79
  21. data/lib/google/cloud/servicedirectory/v1/service_pb.rb +25 -6
  22. data/proto_docs/google/api/client.rb +381 -0
  23. data/proto_docs/google/api/launch_stage.rb +71 -0
  24. data/proto_docs/google/iam/v1/policy.rb +8 -4
  25. data/proto_docs/google/protobuf/duration.rb +98 -0
  26. data/proto_docs/google/protobuf/empty.rb +0 -2
  27. metadata +19 -8
@@ -340,13 +340,11 @@ module Google
340
340
  # # Call the list_namespaces method.
341
341
  # result = client.list_namespaces request
342
342
  #
343
- # # The returned object is of type Gapic::PagedEnumerable. You can
344
- # # iterate over all elements by calling #each, and the enumerable
345
- # # will lazily make API calls to fetch subsequent pages. Other
346
- # # methods are also available for managing paging directly.
347
- # result.each do |response|
343
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
344
+ # # over elements, and API calls will be issued to fetch pages as needed.
345
+ # result.each do |item|
348
346
  # # Each element is of type ::Google::Cloud::ServiceDirectory::V1::Namespace.
349
- # p response
347
+ # p item
350
348
  # end
351
349
  #
352
350
  def list_namespaces request, options = nil
@@ -817,13 +815,11 @@ module Google
817
815
  # # Call the list_services method.
818
816
  # result = client.list_services request
819
817
  #
820
- # # The returned object is of type Gapic::PagedEnumerable. You can
821
- # # iterate over all elements by calling #each, and the enumerable
822
- # # will lazily make API calls to fetch subsequent pages. Other
823
- # # methods are also available for managing paging directly.
824
- # result.each do |response|
818
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
819
+ # # over elements, and API calls will be issued to fetch pages as needed.
820
+ # result.each do |item|
825
821
  # # Each element is of type ::Google::Cloud::ServiceDirectory::V1::Service.
826
- # p response
822
+ # p item
827
823
  # end
828
824
  #
829
825
  def list_services request, options = nil
@@ -1296,13 +1292,11 @@ module Google
1296
1292
  # # Call the list_endpoints method.
1297
1293
  # result = client.list_endpoints request
1298
1294
  #
1299
- # # The returned object is of type Gapic::PagedEnumerable. You can
1300
- # # iterate over all elements by calling #each, and the enumerable
1301
- # # will lazily make API calls to fetch subsequent pages. Other
1302
- # # methods are also available for managing paging directly.
1303
- # result.each do |response|
1295
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1296
+ # # over elements, and API calls will be issued to fetch pages as needed.
1297
+ # result.each do |item|
1304
1298
  # # Each element is of type ::Google::Cloud::ServiceDirectory::V1::Endpoint.
1305
- # p response
1299
+ # p item
1306
1300
  # end
1307
1301
  #
1308
1302
  def list_endpoints request, options = nil
@@ -1919,9 +1913,9 @@ module Google
1919
1913
  # * (`String`) The path to a service account key file in JSON format
1920
1914
  # * (`Hash`) A service account key as a Hash
1921
1915
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1922
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1916
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1923
1917
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1924
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1918
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1925
1919
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1926
1920
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1927
1921
  # * (`nil`) indicating no credentials