google-cloud-pubsub 0.20.1 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,6 +70,21 @@
70
70
  "timeout_millis": 60000,
71
71
  "retry_codes_name": "non_idempotent",
72
72
  "retry_params_name": "default"
73
+ },
74
+ "SetIamPolicy": {
75
+ "timeout_millis": 60000,
76
+ "retry_codes_name": "non_idempotent",
77
+ "retry_params_name": "default"
78
+ },
79
+ "GetIamPolicy": {
80
+ "timeout_millis": 60000,
81
+ "retry_codes_name": "idempotent",
82
+ "retry_params_name": "default"
83
+ },
84
+ "TestIamPermissions": {
85
+ "timeout_millis": 60000,
86
+ "retry_codes_name": "non_idempotent",
87
+ "retry_params_name": "default"
73
88
  }
74
89
  }
75
90
  }
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Pubsub
19
- VERSION = "0.20.1"
19
+ VERSION = "0.21.0"
20
20
  end
21
21
  end
22
22
  end
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/pubsub/v1/pubsub.proto for package 'google.pubsub.v1'
3
3
  # Original file comments:
4
- # Copyright (c) 2015, Google Inc.
4
+ # Copyright 2016 Google Inc.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -33,12 +33,13 @@ module Google
33
33
  self.unmarshal_class_method = :decode
34
34
  self.service_name = 'google.pubsub.v1.Subscriber'
35
35
 
36
- # Creates a subscription to a given topic for a given subscriber.
36
+ # Creates a subscription to a given topic.
37
37
  # If the subscription already exists, returns `ALREADY_EXISTS`.
38
38
  # If the corresponding topic doesn't exist, returns `NOT_FOUND`.
39
39
  #
40
40
  # If the name is not provided in the request, the server will assign a random
41
- # name for this subscription on the same project as the topic.
41
+ # name for this subscription on the same project as the topic. Note that
42
+ # for REST API requests, you must specify a name.
42
43
  rpc :CreateSubscription, Subscription, Subscription
43
44
  # Gets the configuration details of a subscription.
44
45
  rpc :GetSubscription, GetSubscriptionRequest, Subscription
@@ -53,7 +54,8 @@ module Google
53
54
  # Modifies the ack deadline for a specific message. This method is useful
54
55
  # to indicate that more time is needed to process a message by the
55
56
  # subscriber, or to make the message available for redelivery if the
56
- # processing was interrupted.
57
+ # processing was interrupted. Note that this does not modify the
58
+ # subscription-level `ackDeadlineSeconds` used for subsequent messages.
57
59
  rpc :ModifyAckDeadline, ModifyAckDeadlineRequest, Google::Protobuf::Empty
58
60
  # Acknowledges the messages associated with the `ack_ids` in the
59
61
  # `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
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.20.1
4
+ version: 0.21.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: 2016-09-02 00:00:00.000000000 Z
12
+ date: 2016-10-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 0.20.0
20
+ version: 0.21.0
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: 0.20.0
27
+ version: 0.21.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: grpc
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -59,28 +59,42 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '1.2'
62
+ version: '1.3'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '1.2'
69
+ version: '1.3'
70
+ - !ruby/object:Gem::Dependency
71
+ name: grpc-google-iam-v1
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: 0.6.8
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 0.6.8
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: google-gax
72
86
  requirement: !ruby/object:Gem::Requirement
73
87
  requirements:
74
88
  - - "~>"
75
89
  - !ruby/object:Gem::Version
76
- version: 0.4.4
90
+ version: 0.6.0
77
91
  type: :runtime
78
92
  prerelease: false
79
93
  version_requirements: !ruby/object:Gem::Requirement
80
94
  requirements:
81
95
  - - "~>"
82
96
  - !ruby/object:Gem::Version
83
- version: 0.4.4
97
+ version: 0.6.0
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: minitest
86
100
  requirement: !ruby/object:Gem::Requirement
@@ -193,6 +207,20 @@ dependencies:
193
207
  - - "~>"
194
208
  - !ruby/object:Gem::Version
195
209
  version: '0.9'
210
+ - !ruby/object:Gem::Dependency
211
+ name: yard-doctest
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - "~>"
215
+ - !ruby/object:Gem::Version
216
+ version: 0.1.6
217
+ type: :development
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - "~>"
222
+ - !ruby/object:Gem::Version
223
+ version: 0.1.6
196
224
  description: google-cloud-pubsub is the official library for Google Cloud Pub/Sub.
197
225
  email:
198
226
  - mike@blowmage.com
@@ -220,9 +248,6 @@ files:
220
248
  - lib/google/cloud/pubsub/v1/subscriber_api.rb
221
249
  - lib/google/cloud/pubsub/v1/subscriber_client_config.json
222
250
  - lib/google/cloud/pubsub/version.rb
223
- - lib/google/iam/v1/iam_policy.rb
224
- - lib/google/iam/v1/iam_policy_services.rb
225
- - lib/google/iam/v1/policy.rb
226
251
  - lib/google/pubsub/v1/pubsub_pb.rb
227
252
  - lib/google/pubsub/v1/pubsub_services_pb.rb
228
253
  homepage: http://googlecloudplatform.github.io/google-cloud-ruby/
@@ -1,33 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/iam/v1/iam_policy.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/iam/v1/policy'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.iam.v1.SetIamPolicyRequest" do
9
- optional :resource, :string, 1
10
- optional :policy, :message, 2, "google.iam.v1.Policy"
11
- end
12
- add_message "google.iam.v1.GetIamPolicyRequest" do
13
- optional :resource, :string, 1
14
- end
15
- add_message "google.iam.v1.TestIamPermissionsRequest" do
16
- optional :resource, :string, 1
17
- repeated :permissions, :string, 2
18
- end
19
- add_message "google.iam.v1.TestIamPermissionsResponse" do
20
- repeated :permissions, :string, 1
21
- end
22
- end
23
-
24
- module Google
25
- module Iam
26
- module V1
27
- SetIamPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.SetIamPolicyRequest").msgclass
28
- GetIamPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.GetIamPolicyRequest").msgclass
29
- TestIamPermissionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.TestIamPermissionsRequest").msgclass
30
- TestIamPermissionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.TestIamPermissionsResponse").msgclass
31
- end
32
- end
33
- end
@@ -1,30 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/iam/v1/iam_policy.proto for package 'google.iam.v1'
3
-
4
- require 'grpc'
5
- require 'google/iam/v1/iam_policy'
6
-
7
- module Google
8
- module Iam
9
- module V1
10
- module IAMPolicy
11
-
12
- # TODO: add proto service documentation here
13
- class Service
14
-
15
- include GRPC::GenericService
16
-
17
- self.marshal_class_method = :encode
18
- self.unmarshal_class_method = :decode
19
- self.service_name = 'google.iam.v1.IAMPolicy'
20
-
21
- rpc :SetIamPolicy, SetIamPolicyRequest, Policy
22
- rpc :GetIamPolicy, GetIamPolicyRequest, Policy
23
- rpc :TestIamPermissions, TestIamPermissionsRequest, TestIamPermissionsResponse
24
- end
25
-
26
- Stub = Service.rpc_stub_class
27
- end
28
- end
29
- end
30
- end
@@ -1,25 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/iam/v1/policy.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.iam.v1.Policy" do
8
- optional :version, :int32, 1
9
- repeated :bindings, :message, 4, "google.iam.v1.Binding"
10
- optional :etag, :bytes, 3
11
- end
12
- add_message "google.iam.v1.Binding" do
13
- optional :role, :string, 1
14
- repeated :members, :string, 2
15
- end
16
- end
17
-
18
- module Google
19
- module Iam
20
- module V1
21
- Policy = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Policy").msgclass
22
- Binding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Binding").msgclass
23
- end
24
- end
25
- end