Sha256: 37cedaf6c58cd04f7ab28cd83758effce0b38e584b4efbec362f50aed55f5cbf

Contents?: true

Size: 1.82 KB

Versions: 11

Compression:

Stored size: 1.82 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/pubsub/v1beta2/pubsub.proto for package 'google.pubsub.v1beta2'

require 'grpc'
require 'google/pubsub/v1beta2/pubsub'

module Google
  module Pubsub
    module V1beta2
      module Subscriber

        # TODO: add proto service documentation here
        class Service

          include GRPC::GenericService

          self.marshal_class_method = :encode
          self.unmarshal_class_method = :decode
          self.service_name = 'google.pubsub.v1beta2.Subscriber'

          rpc :CreateSubscription, Subscription, Subscription
          rpc :GetSubscription, GetSubscriptionRequest, Subscription
          rpc :ListSubscriptions, ListSubscriptionsRequest, ListSubscriptionsResponse
          rpc :DeleteSubscription, DeleteSubscriptionRequest, Empty
          rpc :ModifyAckDeadline, ModifyAckDeadlineRequest, Empty
          rpc :Acknowledge, AcknowledgeRequest, Empty
          rpc :Pull, PullRequest, PullResponse
          rpc :ModifyPushConfig, ModifyPushConfigRequest, Empty
        end

        Stub = Service.rpc_stub_class
      end
      module Publisher

        # TODO: add proto service documentation here
        class Service

          include GRPC::GenericService

          self.marshal_class_method = :encode
          self.unmarshal_class_method = :decode
          self.service_name = 'google.pubsub.v1beta2.Publisher'

          rpc :CreateTopic, Topic, Topic
          rpc :Publish, PublishRequest, PublishResponse
          rpc :GetTopic, GetTopicRequest, Topic
          rpc :ListTopics, ListTopicsRequest, ListTopicsResponse
          rpc :ListTopicSubscriptions, ListTopicSubscriptionsRequest, ListTopicSubscriptionsResponse
          rpc :DeleteTopic, DeleteTopicRequest, Empty
        end

        Stub = Service.rpc_stub_class
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gcloud-0.12.2 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.12.1 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.12.0 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.11.0 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.10.0 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.9.0 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.8.2 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.8.0 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.7.2 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.7.1 lib/google/pubsub/v1beta2/pubsub_services.rb
gcloud-0.7.0 lib/google/pubsub/v1beta2/pubsub_services.rb