google-cloud-service_directory-v1beta1 0.9.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) 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/v1beta1/lookup_service/client.rb +2 -2
  5. data/lib/google/cloud/service_directory/v1beta1/lookup_service/rest/client.rb +389 -0
  6. data/lib/google/cloud/service_directory/v1beta1/lookup_service/rest/service_stub.rb +108 -0
  7. data/lib/google/cloud/service_directory/v1beta1/lookup_service/rest.rb +52 -0
  8. data/lib/google/cloud/service_directory/v1beta1/lookup_service.rb +7 -1
  9. data/lib/google/cloud/service_directory/v1beta1/registration_service/client.rb +14 -20
  10. data/lib/google/cloud/service_directory/v1beta1/registration_service/rest/client.rb +1743 -0
  11. data/lib/google/cloud/service_directory/v1beta1/registration_service/rest/service_stub.rb +1143 -0
  12. data/lib/google/cloud/service_directory/v1beta1/registration_service/rest.rb +66 -0
  13. data/lib/google/cloud/service_directory/v1beta1/registration_service.rb +7 -1
  14. data/lib/google/cloud/service_directory/v1beta1/rest.rb +38 -0
  15. data/lib/google/cloud/service_directory/v1beta1/version.rb +1 -1
  16. data/lib/google/cloud/service_directory/v1beta1.rb +7 -2
  17. data/lib/google/cloud/servicedirectory/v1beta1/endpoint_pb.rb +25 -11
  18. data/lib/google/cloud/servicedirectory/v1beta1/lookup_service_pb.rb +25 -9
  19. data/lib/google/cloud/servicedirectory/v1beta1/namespace_pb.rb +25 -8
  20. data/lib/google/cloud/servicedirectory/v1beta1/registration_service_pb.rb +28 -79
  21. data/lib/google/cloud/servicedirectory/v1beta1/service_pb.rb +26 -9
  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. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  28. metadata +19 -8
@@ -344,13 +344,11 @@ module Google
344
344
  # # Call the list_namespaces method.
345
345
  # result = client.list_namespaces request
346
346
  #
347
- # # The returned object is of type Gapic::PagedEnumerable. You can
348
- # # iterate over all elements by calling #each, and the enumerable
349
- # # will lazily make API calls to fetch subsequent pages. Other
350
- # # methods are also available for managing paging directly.
351
- # result.each do |response|
347
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
348
+ # # over elements, and API calls will be issued to fetch pages as needed.
349
+ # result.each do |item|
352
350
  # # Each element is of type ::Google::Cloud::ServiceDirectory::V1beta1::Namespace.
353
- # p response
351
+ # p item
354
352
  # end
355
353
  #
356
354
  def list_namespaces request, options = nil
@@ -837,13 +835,11 @@ module Google
837
835
  # # Call the list_services method.
838
836
  # result = client.list_services request
839
837
  #
840
- # # The returned object is of type Gapic::PagedEnumerable. You can
841
- # # iterate over all elements by calling #each, and the enumerable
842
- # # will lazily make API calls to fetch subsequent pages. Other
843
- # # methods are also available for managing paging directly.
844
- # result.each do |response|
838
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
839
+ # # over elements, and API calls will be issued to fetch pages as needed.
840
+ # result.each do |item|
845
841
  # # Each element is of type ::Google::Cloud::ServiceDirectory::V1beta1::Service.
846
- # p response
842
+ # p item
847
843
  # end
848
844
  #
849
845
  def list_services request, options = nil
@@ -1333,13 +1329,11 @@ module Google
1333
1329
  # # Call the list_endpoints method.
1334
1330
  # result = client.list_endpoints request
1335
1331
  #
1336
- # # The returned object is of type Gapic::PagedEnumerable. You can
1337
- # # iterate over all elements by calling #each, and the enumerable
1338
- # # will lazily make API calls to fetch subsequent pages. Other
1339
- # # methods are also available for managing paging directly.
1340
- # result.each do |response|
1332
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1333
+ # # over elements, and API calls will be issued to fetch pages as needed.
1334
+ # result.each do |item|
1341
1335
  # # Each element is of type ::Google::Cloud::ServiceDirectory::V1beta1::Endpoint.
1342
- # p response
1336
+ # p item
1343
1337
  # end
1344
1338
  #
1345
1339
  def list_endpoints request, options = nil
@@ -1956,9 +1950,9 @@ module Google
1956
1950
  # * (`String`) The path to a service account key file in JSON format
1957
1951
  # * (`Hash`) A service account key as a Hash
1958
1952
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1959
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1953
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1960
1954
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1961
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1955
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1962
1956
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1963
1957
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1964
1958
  # * (`nil`) indicating no credentials