lib/google/cloud/eventarc/publishing/v1/publisher.rb in google-cloud-eventarc-publishing-v1-0.4.0 vs lib/google/cloud/eventarc/publishing/v1/publisher.rb in google-cloud-eventarc-publishing-v1-0.5.0
- old
+ new
@@ -22,10 +22,11 @@
require "google/cloud/eventarc/publishing/v1/version"
require "google/cloud/eventarc/publishing/v1/publisher/credentials"
require "google/cloud/eventarc/publishing/v1/publisher/client"
+require "google/cloud/eventarc/publishing/v1/publisher/rest"
module Google
module Cloud
module Eventarc
module Publishing
@@ -54,13 +55,18 @@
# subscriber's Channel. A ChannelConnection has a one-to-one mapping with a
# Channel.
#
# Publisher allows an event provider to publish events to Eventarc.
#
- # To load this service and instantiate a client:
+ # @example Load this service and instantiate a gRPC client
#
# require "google/cloud/eventarc/publishing/v1/publisher"
# client = ::Google::Cloud::Eventarc::Publishing::V1::Publisher::Client.new
+ #
+ # @example Load this service and instantiate a REST client
+ #
+ # require "google/cloud/eventarc/publishing/v1/publisher/rest"
+ # client = ::Google::Cloud::Eventarc::Publishing::V1::Publisher::Rest::Client.new
#
module Publisher
end
end
end