lib/google/cloud/memcache/v1beta2/cloud_memcache.rb in google-cloud-memcache-v1beta2-0.4.0 vs lib/google/cloud/memcache/v1beta2/cloud_memcache.rb in google-cloud-memcache-v1beta2-0.5.0

- old
+ new

@@ -24,10 +24,11 @@ require "google/cloud/memcache/v1beta2/cloud_memcache/credentials" require "google/cloud/memcache/v1beta2/cloud_memcache/paths" require "google/cloud/memcache/v1beta2/cloud_memcache/operations" require "google/cloud/memcache/v1beta2/cloud_memcache/client" +require "google/cloud/memcache/v1beta2/cloud_memcache/rest" module Google module Cloud module Memcache module V1beta2 @@ -46,13 +47,18 @@ # `/projects/{project_id}/locations/{location_id}/instances/{instance_id}` # # Note that location_id must be a GCP `region`; for example: # * `projects/my-memcached-project/locations/us-central1/instances/my-memcached` # - # To load this service and instantiate a client: + # @example Load this service and instantiate a gRPC client # # require "google/cloud/memcache/v1beta2/cloud_memcache" # client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new + # + # @example Load this service and instantiate a REST client + # + # require "google/cloud/memcache/v1beta2/cloud_memcache/rest" + # client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Rest::Client.new # module CloudMemcache end end end