lib/google/cloud/tasks/v2beta2/cloud_tasks.rb in google-cloud-tasks-v2beta2-0.7.0 vs lib/google/cloud/tasks/v2beta2/cloud_tasks.rb in google-cloud-tasks-v2beta2-0.8.0
- old
+ new
@@ -23,22 +23,28 @@
require "google/cloud/tasks/v2beta2/version"
require "google/cloud/tasks/v2beta2/cloud_tasks/credentials"
require "google/cloud/tasks/v2beta2/cloud_tasks/paths"
require "google/cloud/tasks/v2beta2/cloud_tasks/client"
+require "google/cloud/tasks/v2beta2/cloud_tasks/rest"
module Google
module Cloud
module Tasks
module V2beta2
##
# Cloud Tasks allows developers to manage the execution of background
# work in their applications.
#
- # To load this service and instantiate a client:
+ # @example Load this service and instantiate a gRPC client
#
# require "google/cloud/tasks/v2beta2/cloud_tasks"
# client = ::Google::Cloud::Tasks::V2beta2::CloudTasks::Client.new
+ #
+ # @example Load this service and instantiate a REST client
+ #
+ # require "google/cloud/tasks/v2beta2/cloud_tasks/rest"
+ # client = ::Google::Cloud::Tasks::V2beta2::CloudTasks::Rest::Client.new
#
module CloudTasks
end
end
end