google-cloud-pubsub 0.32.0 → 0.32.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,7 @@
19
19
  # For the short term, the refresh process will only be runnable by Google
20
20
  # engineers.
21
21
 
22
+
22
23
  require "json"
23
24
  require "pathname"
24
25
 
@@ -41,6 +42,7 @@ module Google
41
42
  # @!attribute [r] subscriber_stub
42
43
  # @return [Google::Pubsub::V1::Subscriber::Stub]
43
44
  class SubscriberClient
45
+ # @private
44
46
  attr_reader :iam_policy_stub, :subscriber_stub
45
47
 
46
48
  # The default address of the service.
@@ -363,14 +365,14 @@ module Google
363
365
  #
364
366
  # @param name [String]
365
367
  # The name of the subscription. It must have the format
366
- # +"projects/{project}/subscriptions/{subscription}"+. +{subscription}+ must
368
+ # +"projects/\\{project}/subscriptions/\\{subscription}"+. +\\{subscription}+ must
367
369
  # start with a letter, and contain only letters (+[A-Za-z]+), numbers
368
370
  # (+[0-9]+), dashes (+-+), underscores (+_+), periods (+.+), tildes (+~+),
369
371
  # plus (+++) or percent signs (+%+). It must be between 3 and 255 characters
370
372
  # in length, and it must not start with +"goog"+
371
373
  # @param topic [String]
372
374
  # The name of the topic from which this subscription is receiving messages.
373
- # Format is +projects/{project}/topics/{topic}+.
375
+ # Format is +projects/\\{project}/topics/\\{topic}+.
374
376
  # The value of this field will be +_deleted-topic_+ if the topic has been
375
377
  # deleted.
376
378
  # @param push_config [Google::Pubsub::V1::PushConfig | Hash]
@@ -465,7 +467,7 @@ module Google
465
467
  #
466
468
  # @param subscription [String]
467
469
  # The name of the subscription to get.
468
- # Format is +projects/{project}/subscriptions/{sub}+.
470
+ # Format is +projects/\\{project}/subscriptions/\\{sub}+.
469
471
  # @param options [Google::Gax::CallOptions]
470
472
  # Overrides the default settings for this call, e.g, timeout,
471
473
  # retries, etc.
@@ -540,7 +542,7 @@ module Google
540
542
  #
541
543
  # @param project [String]
542
544
  # The name of the cloud project that subscriptions belong to.
543
- # Format is +projects/{project}+.
545
+ # Format is +projects/\\{project}+.
544
546
  # @param page_size [Integer]
545
547
  # The maximum number of resources contained in the underlying API
546
548
  # response. If page streaming is performed per-resource, this
@@ -599,7 +601,7 @@ module Google
599
601
  #
600
602
  # @param subscription [String]
601
603
  # The subscription to delete.
602
- # Format is +projects/{project}/subscriptions/{sub}+.
604
+ # Format is +projects/\\{project}/subscriptions/\\{sub}+.
603
605
  # @param options [Google::Gax::CallOptions]
604
606
  # Overrides the default settings for this call, e.g, timeout,
605
607
  # retries, etc.
@@ -634,7 +636,7 @@ module Google
634
636
  #
635
637
  # @param subscription [String]
636
638
  # The name of the subscription.
637
- # Format is +projects/{project}/subscriptions/{sub}+.
639
+ # Format is +projects/\\{project}/subscriptions/\\{sub}+.
638
640
  # @param ack_ids [Array<String>]
639
641
  # List of acknowledgment IDs.
640
642
  # @param ack_deadline_seconds [Integer]
@@ -691,7 +693,7 @@ module Google
691
693
  #
692
694
  # @param subscription [String]
693
695
  # The subscription whose message is being acknowledged.
694
- # Format is +projects/{project}/subscriptions/{sub}+.
696
+ # Format is +projects/\\{project}/subscriptions/\\{sub}+.
695
697
  # @param ack_ids [Array<String>]
696
698
  # The acknowledgment ID for the messages being acknowledged that was returned
697
699
  # by the Pub/Sub system in the +Pull+ response. Must not be empty.
@@ -733,7 +735,7 @@ module Google
733
735
  #
734
736
  # @param subscription [String]
735
737
  # The subscription from which messages should be pulled.
736
- # Format is +projects/{project}/subscriptions/{sub}+.
738
+ # Format is +projects/\\{project}/subscriptions/\\{sub}+.
737
739
  # @param max_messages [Integer]
738
740
  # The maximum number of messages returned for this request. The Pub/Sub
739
741
  # system may return fewer than the number specified.
@@ -830,7 +832,7 @@ module Google
830
832
  #
831
833
  # @param subscription [String]
832
834
  # The name of the subscription.
833
- # Format is +projects/{project}/subscriptions/{sub}+.
835
+ # Format is +projects/\\{project}/subscriptions/\\{sub}+.
834
836
  # @param push_config [Google::Pubsub::V1::PushConfig | Hash]
835
837
  # The push configuration for future deliveries.
836
838
  #
@@ -878,7 +880,7 @@ module Google
878
880
  #
879
881
  # @param project [String]
880
882
  # The name of the cloud project that snapshots belong to.
881
- # Format is +projects/{project}+.
883
+ # Format is +projects/\\{project}+.
882
884
  # @param page_size [Integer]
883
885
  # The maximum number of resources contained in the underlying API
884
886
  # response. If page streaming is performed per-resource, this
@@ -950,7 +952,7 @@ module Google
950
952
  # If the name is not provided in the request, the server will assign a random
951
953
  # name for this snapshot on the same project as the subscription.
952
954
  # Note that for REST API requests, you must specify a name.
953
- # Format is +projects/{project}/snapshots/{snap}+.
955
+ # Format is +projects/\\{project}/snapshots/\\{snap}+.
954
956
  # @param subscription [String]
955
957
  # The subscription whose backlog the snapshot retains.
956
958
  # Specifically, the created snapshot is guaranteed to retain:
@@ -960,7 +962,7 @@ module Google
960
962
  # +CreateSnapshot+ request; as well as:
961
963
  # (b) Any messages published to the subscription's topic following the
962
964
  # successful completion of the CreateSnapshot request.
963
- # Format is +projects/{project}/subscriptions/{sub}+.
965
+ # Format is +projects/\\{project}/subscriptions/\\{sub}+.
964
966
  # @param labels [Hash{String => String}]
965
967
  # User labels.
966
968
  # @param options [Google::Gax::CallOptions]
@@ -1053,7 +1055,7 @@ module Google
1053
1055
  #
1054
1056
  # @param snapshot [String]
1055
1057
  # The name of the snapshot to delete.
1056
- # Format is +projects/{project}/snapshots/{snap}+.
1058
+ # Format is +projects/\\{project}/snapshots/\\{snap}+.
1057
1059
  # @param options [Google::Gax::CallOptions]
1058
1060
  # Overrides the default settings for this call, e.g, timeout,
1059
1061
  # retries, etc.
@@ -1105,7 +1107,7 @@ module Google
1105
1107
  # @param snapshot [String]
1106
1108
  # The snapshot to seek to. The snapshot's topic must be the same as that of
1107
1109
  # the provided subscription.
1108
- # Format is +projects/{project}/snapshots/{snap}+.
1110
+ # Format is +projects/\\{project}/snapshots/\\{snap}+.
1109
1111
  # @param options [Google::Gax::CallOptions]
1110
1112
  # Overrides the default settings for this call, e.g, timeout,
1111
1113
  # retries, etc.
@@ -1142,7 +1144,7 @@ module Google
1142
1144
  # @param resource [String]
1143
1145
  # REQUIRED: The resource for which the policy is being specified.
1144
1146
  # +resource+ is usually specified as a path. For example, a Project
1145
- # resource is specified as +projects/{project}+.
1147
+ # resource is specified as +projects/\\{project}+.
1146
1148
  # @param policy [Google::Iam::V1::Policy | Hash]
1147
1149
  # REQUIRED: The complete policy to be applied to the +resource+. The size of
1148
1150
  # the policy is limited to a few 10s of KB. An empty policy is a
@@ -1188,7 +1190,7 @@ module Google
1188
1190
  # @param resource [String]
1189
1191
  # REQUIRED: The resource for which the policy is being requested.
1190
1192
  # +resource+ is usually specified as a path. For example, a Project
1191
- # resource is specified as +projects/{project}+.
1193
+ # resource is specified as +projects/\\{project}+.
1192
1194
  # @param options [Google::Gax::CallOptions]
1193
1195
  # Overrides the default settings for this call, e.g, timeout,
1194
1196
  # retries, etc.
@@ -1222,7 +1224,7 @@ module Google
1222
1224
  # @param resource [String]
1223
1225
  # REQUIRED: The resource for which the policy detail is being requested.
1224
1226
  # +resource+ is usually specified as a path. For example, a Project
1225
- # resource is specified as +projects/{project}+.
1227
+ # resource is specified as +projects/\\{project}+.
1226
1228
  # @param permissions [Array<String>]
1227
1229
  # The set of permissions to check for the +resource+. Permissions with
1228
1230
  # wildcards (such as '*' or 'storage.*') are not allowed. For more
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Pubsub
19
- VERSION = "0.32.0".freeze
19
+ VERSION = "0.32.1".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/pubsub/v1/pubsub.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/pubsub/v1/pubsub_pb'
21
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.32.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-08-17 00:00:00.000000000 Z
12
+ date: 2018-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -197,16 +197,16 @@ dependencies:
197
197
  name: yard-doctest
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - "<="
200
+ - - "~>"
201
201
  - !ruby/object:Gem::Version
202
- version: 0.1.8
202
+ version: 0.1.13
203
203
  type: :development
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - "<="
207
+ - - "~>"
208
208
  - !ruby/object:Gem::Version
209
- version: 0.1.8
209
+ version: 0.1.13
210
210
  description: google-cloud-pubsub is the official library for Google Cloud Pub/Sub.
211
211
  email:
212
212
  - mike@blowmage.com