lib/google/cloud/shell/v1/cloud_shell_service.rb in google-cloud-shell-v1-0.3.0 vs lib/google/cloud/shell/v1/cloud_shell_service.rb in google-cloud-shell-v1-0.4.0
- old
+ new
@@ -24,10 +24,11 @@
require "google/cloud/shell/v1/cloud_shell_service/credentials"
require "google/cloud/shell/v1/cloud_shell_service/paths"
require "google/cloud/shell/v1/cloud_shell_service/operations"
require "google/cloud/shell/v1/cloud_shell_service/client"
+require "google/cloud/shell/v1/cloud_shell_service/rest"
module Google
module Cloud
module Shell
module V1
@@ -38,13 +39,18 @@
# directory containing the user's data that will remain across sessions.
# Clients use this API to start and fetch information about their environment,
# which can then be used to connect to that environment via a separate SSH
# client.
#
- # To load this service and instantiate a client:
+ # @example Load this service and instantiate a gRPC client
#
# require "google/cloud/shell/v1/cloud_shell_service"
# client = ::Google::Cloud::Shell::V1::CloudShellService::Client.new
+ #
+ # @example Load this service and instantiate a REST client
+ #
+ # require "google/cloud/shell/v1/cloud_shell_service/rest"
+ # client = ::Google::Cloud::Shell::V1::CloudShellService::Rest::Client.new
#
module CloudShellService
end
end
end