lib/google/cloud/location/locations.rb in google-cloud-location-0.2.0 vs lib/google/cloud/location/locations.rb in google-cloud-location-0.3.beta.1

- old
+ new

@@ -22,22 +22,28 @@ require "google/cloud/location/version" require "google/cloud/location/locations/credentials" require "google/cloud/location/locations/client" +require "google/cloud/location/locations/rest" module Google module Cloud module Location ## # An abstract interface that provides location-related information for # a service. Service-specific metadata is provided through the # {::Google::Cloud::Location::Location#metadata Location.metadata} field. # - # To load this service and instantiate a client: + # To load this service and instantiate a GRPC client: # # require "google/cloud/location/locations" # client = ::Google::Cloud::Location::Locations::Client.new + # + # To load this service and instantiate a REST client: + # + # require "google/cloud/location/locations/rest" + # client = ::Google::Cloud::Location::Locations::Rest::Client.new # module Locations end end end