google-cloud-pubsub 0.27.2 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,8 +10,8 @@
10
10
  "pull": [
11
11
  "CANCELLED",
12
12
  "DEADLINE_EXCEEDED",
13
- "RESOURCE_EXHAUSTED",
14
13
  "INTERNAL",
14
+ "RESOURCE_EXHAUSTED",
15
15
  "UNAVAILABLE"
16
16
  ]
17
17
  },
@@ -105,6 +105,11 @@
105
105
  "retry_codes_name": "idempotent",
106
106
  "retry_params_name": "default"
107
107
  },
108
+ "UpdateSnapshot": {
109
+ "timeout_millis": 60000,
110
+ "retry_codes_name": "idempotent",
111
+ "retry_params_name": "default"
112
+ },
108
113
  "DeleteSnapshot": {
109
114
  "timeout_millis": 60000,
110
115
  "retry_codes_name": "idempotent",
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Pubsub
19
- VERSION = "0.27.2"
19
+ VERSION = "0.28.0"
20
20
  end
21
21
  end
22
22
  end
@@ -11,6 +11,7 @@ require 'google/protobuf/timestamp_pb'
11
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_message "google.pubsub.v1.Topic" do
13
13
  optional :name, :string, 1
14
+ map :labels, :string, :string, 2
14
15
  end
15
16
  add_message "google.pubsub.v1.PubsubMessage" do
16
17
  optional :data, :bytes, 1
@@ -21,6 +22,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
21
22
  add_message "google.pubsub.v1.GetTopicRequest" do
22
23
  optional :topic, :string, 1
23
24
  end
25
+ add_message "google.pubsub.v1.UpdateTopicRequest" do
26
+ optional :topic, :message, 1, "google.pubsub.v1.Topic"
27
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
28
+ end
24
29
  add_message "google.pubsub.v1.PublishRequest" do
25
30
  optional :topic, :string, 1
26
31
  repeated :messages, :message, 2, "google.pubsub.v1.PubsubMessage"
@@ -56,6 +61,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
56
61
  optional :ack_deadline_seconds, :int32, 5
57
62
  optional :retain_acked_messages, :bool, 7
58
63
  optional :message_retention_duration, :message, 8, "google.protobuf.Duration"
64
+ map :labels, :string, :string, 9
59
65
  end
60
66
  add_message "google.pubsub.v1.PushConfig" do
61
67
  optional :push_endpoint, :string, 1
@@ -119,10 +125,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
119
125
  optional :name, :string, 1
120
126
  optional :subscription, :string, 2
121
127
  end
128
+ add_message "google.pubsub.v1.UpdateSnapshotRequest" do
129
+ optional :snapshot, :message, 1, "google.pubsub.v1.Snapshot"
130
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
131
+ end
122
132
  add_message "google.pubsub.v1.Snapshot" do
123
133
  optional :name, :string, 1
124
134
  optional :topic, :string, 2
125
- optional :expiration_time, :message, 3, "google.protobuf.Timestamp"
135
+ optional :expire_time, :message, 3, "google.protobuf.Timestamp"
136
+ map :labels, :string, :string, 4
126
137
  end
127
138
  add_message "google.pubsub.v1.ListSnapshotsRequest" do
128
139
  optional :project, :string, 1
@@ -153,6 +164,7 @@ module Google
153
164
  Topic = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.Topic").msgclass
154
165
  PubsubMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PubsubMessage").msgclass
155
166
  GetTopicRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.GetTopicRequest").msgclass
167
+ UpdateTopicRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.UpdateTopicRequest").msgclass
156
168
  PublishRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PublishRequest").msgclass
157
169
  PublishResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PublishResponse").msgclass
158
170
  ListTopicsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ListTopicsRequest").msgclass
@@ -176,6 +188,7 @@ module Google
176
188
  StreamingPullRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.StreamingPullRequest").msgclass
177
189
  StreamingPullResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.StreamingPullResponse").msgclass
178
190
  CreateSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.CreateSnapshotRequest").msgclass
191
+ UpdateSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.UpdateSnapshotRequest").msgclass
179
192
  Snapshot = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.Snapshot").msgclass
180
193
  ListSnapshotsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ListSnapshotsRequest").msgclass
181
194
  ListSnapshotsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ListSnapshotsResponse").msgclass
@@ -48,6 +48,10 @@ module Google
48
48
  rpc :GetSubscription, GetSubscriptionRequest, Subscription
49
49
  # Updates an existing subscription. Note that certain properties of a
50
50
  # subscription, such as its topic, are not modifiable.
51
+ # NOTE: The style guide requires body: "subscription" instead of body: "*".
52
+ # Keeping the latter for internal consistency in V1, however it should be
53
+ # corrected in V2. See
54
+ # https://cloud.google.com/apis/design/standard_methods#update for details.
51
55
  rpc :UpdateSubscription, UpdateSubscriptionRequest, Subscription
52
56
  # Lists matching subscriptions.
53
57
  rpc :ListSubscriptions, ListSubscriptionsRequest, ListSubscriptionsResponse
@@ -109,6 +113,13 @@ module Google
109
113
  # The generated name is populated in the returned Snapshot object.
110
114
  # Note that for REST API requests, you must specify a name in the request.
111
115
  rpc :CreateSnapshot, CreateSnapshotRequest, Snapshot
116
+ # Updates an existing snapshot. Note that certain properties of a snapshot
117
+ # are not modifiable.
118
+ # NOTE: The style guide requires body: "snapshot" instead of body: "*".
119
+ # Keeping the latter for internal consistency in V1, however it should be
120
+ # corrected in V2. See
121
+ # https://cloud.google.com/apis/design/standard_methods#update for details.
122
+ rpc :UpdateSnapshot, UpdateSnapshotRequest, Snapshot
112
123
  # Removes an existing snapshot. All messages retained in the snapshot
113
124
  # are immediately dropped. After a snapshot is deleted, a new one may be
114
125
  # created with the same name, but the new one has no association with the old
@@ -134,6 +145,13 @@ module Google
134
145
 
135
146
  # Creates the given topic with the given name.
136
147
  rpc :CreateTopic, Topic, Topic
148
+ # Updates an existing topic. Note that certain properties of a topic are not
149
+ # modifiable. Options settings follow the style guide:
150
+ # NOTE: The style guide requires body: "topic" instead of body: "*".
151
+ # Keeping the latter for internal consistency in V1, however it should be
152
+ # corrected in V2. See
153
+ # https://cloud.google.com/apis/design/standard_methods#update for details.
154
+ rpc :UpdateTopic, UpdateTopicRequest, Topic
137
155
  # Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
138
156
  # does not exist. The message payload must not be empty; it must contain
139
157
  # either a non-empty data field, or at least one attribute.
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.27.2
4
+ version: 0.28.0
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: 2017-10-18 00:00:00.000000000 Z
12
+ date: 2017-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -17,56 +17,42 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.0'
20
+ version: '1.1'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '1.0'
27
+ version: '1.1'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: google-gax
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.8.0
34
+ version: 0.10.1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.8.0
41
+ version: 0.10.1
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: grpc-google-iam-v1
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 0.6.8
48
+ version: 0.6.9
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 0.6.8
56
- - !ruby/object:Gem::Dependency
57
- name: grpc
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '1.1'
63
- type: :runtime
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '1.1'
55
+ version: 0.6.9
70
56
  - !ruby/object:Gem::Dependency
71
57
  name: concurrent-ruby
72
58
  requirement: !ruby/object:Gem::Requirement
@@ -245,6 +231,7 @@ files:
245
231
  - lib/google/cloud/pubsub/v1/doc/google/protobuf/field_mask.rb
246
232
  - lib/google/cloud/pubsub/v1/doc/google/protobuf/timestamp.rb
247
233
  - lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb
234
+ - lib/google/cloud/pubsub/v1/doc/overview.rb
248
235
  - lib/google/cloud/pubsub/v1/publisher_client.rb
249
236
  - lib/google/cloud/pubsub/v1/publisher_client_config.json
250
237
  - lib/google/cloud/pubsub/v1/subscriber_client.rb
@@ -272,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
259
  version: '0'
273
260
  requirements: []
274
261
  rubyforge_project:
275
- rubygems_version: 2.6.14
262
+ rubygems_version: 2.7.2
276
263
  signing_key:
277
264
  specification_version: 4
278
265
  summary: API Client library for Google Cloud Pub/Sub