lib/google/cloud/gaming/v1/realms_service.rb in google-cloud-gaming-v1-0.5.0 vs lib/google/cloud/gaming/v1/realms_service.rb in google-cloud-gaming-v1-0.6.0

- old
+ new

@@ -24,22 +24,28 @@ require "google/cloud/gaming/v1/realms_service/credentials" require "google/cloud/gaming/v1/realms_service/paths" require "google/cloud/gaming/v1/realms_service/operations" require "google/cloud/gaming/v1/realms_service/client" +require "google/cloud/gaming/v1/realms_service/rest" module Google module Cloud module Gaming module V1 ## # A realm is a grouping of game server clusters that are considered # interchangeable. # - # To load this service and instantiate a client: + # @example Load this service and instantiate a gRPC client # # require "google/cloud/gaming/v1/realms_service" # client = ::Google::Cloud::Gaming::V1::RealmsService::Client.new + # + # @example Load this service and instantiate a REST client + # + # require "google/cloud/gaming/v1/realms_service/rest" + # client = ::Google::Cloud::Gaming::V1::RealmsService::Rest::Client.new # module RealmsService end end end