google-cloud-pubsub 1.6.0 → 1.6.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 350813891a25b960230adbe7a22dc40cd847065d368598650a0c663e81d66bc7
4
- data.tar.gz: 881a92aec3d136aef23bee956241bf400a5dd203a7f6c0a100e162a4c22c97d0
3
+ metadata.gz: 65b27ec5d2bc4fe8948301c5a6d56adb62e436bb0d5da35997cc77bb05e2af59
4
+ data.tar.gz: 9f7eba965695f834c77cb50f229b2a84ae9d0039528f203b5a0e9db6758e0ae9
5
5
  SHA512:
6
- metadata.gz: c364975f01a107d41f1282eecdbec83d25e1d3717abcb45252afebfb64c6d028b9651e9d054bfb5b1caeb6e179045505f79e5faf802c30071f202e7a42e576af
7
- data.tar.gz: 7a9d23c2d74e734ad184d6dbb3acabad3868a6dd74b5836d7aa149c4c03edb7c80b414e4d52b2fe8bed9ae4e6794a0634c90c1919a5471196cda408c423f2610
6
+ metadata.gz: 4cb430ff1c904e6ca3248f024e8b9f82aafc5c28ca90fd45f5265a86df70fc7e48cf68d93e0b71ef4d1946beb2319e898aa6c3c8ca4f78085490b330899f9991
7
+ data.tar.gz: 8b0af8b3bb8eed0dc11c5e30a61bfb0502758340f5f7062c5f040b371231f58c057bc2d154cdb5a572e81bb674f12c27ed2f734f267a3006f06cd53b2ee6bee8
@@ -1,5 +1,13 @@
1
1
  # Release History
2
2
 
3
+ ### 1.6.1 / 2020-05-06
4
+
5
+ #### Documentation
6
+
7
+ * Fix example in Emulator documentation
8
+ * Remove experimental notice from ReceivedMessage#delivery_attempt
9
+ * Wrap example URLs in backticks
10
+
3
11
  ### 1.6.0 / 2020-04-06
4
12
 
5
13
  #### Features
@@ -17,7 +17,7 @@ require "google/cloud/pubsub"
17
17
  # Make Pub/Sub use the emulator
18
18
  ENV["PUBSUB_EMULATOR_HOST"] = "localhost:8918"
19
19
 
20
- pubsub = Google::Cloud::PubSub.new "emulator-project-id"
20
+ pubsub = Google::Cloud::PubSub.new project_id:"emulator-project-id"
21
21
 
22
22
  # Get a topic in the current project
23
23
  my_topic = pubsub.new_topic "my-topic"
@@ -78,11 +78,6 @@ module Google
78
78
  # The first delivery of a given message will have this value as `1`. The value is calculated at best effort and
79
79
  # is approximate.
80
80
  #
81
- # EXPERIMENTAL: This feature is part of a closed alpha release and is available only to whitelisted partners.
82
- # This method will return `nil` if a dead letter policy is not set on the subscription. This API might be
83
- # changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA
84
- # or deprecation policy.
85
- #
86
81
  # @return [Integer, nil] A delivery attempt value of `1` or greater, or `nil` if a dead letter policy is not set
87
82
  # on the subscription.
88
83
  #
@@ -188,7 +188,7 @@ module Google
188
188
  ##
189
189
  # Returns the URL locating the endpoint to which messages should be
190
190
  # pushed. For example, a Webhook endpoint might use
191
- # "https://example.com/push".
191
+ # `https://example.com/push`.
192
192
  #
193
193
  # Makes an API call to retrieve the endpoint value when called on a
194
194
  # reference object. See {#reference?}.
@@ -202,7 +202,7 @@ module Google
202
202
 
203
203
  ##
204
204
  # Sets the URL locating the endpoint to which messages should be pushed.
205
- # For example, a Webhook endpoint might use "https://example.com/push".
205
+ # For example, a Webhook endpoint might use `https://example.com/push`.
206
206
  #
207
207
  # @param [String] new_endpoint The new endpoint value.
208
208
  #
@@ -52,7 +52,7 @@ module Google
52
52
 
53
53
  ##
54
54
  # A URL locating the endpoint to which messages should be pushed. For
55
- # example, a Webhook endpoint might use "https://example.com/push".
55
+ # example, a Webhook endpoint might use `https://example.com/push`.
56
56
  #
57
57
  # @return [String]
58
58
  def endpoint
@@ -62,7 +62,7 @@ module Google
62
62
  ##
63
63
  # Sets the URL locating the endpoint to which messages should be
64
64
  # pushed. For example, a Webhook endpoint might use
65
- # "https://example.com/push".
65
+ # `https://example.com/push`.
66
66
  #
67
67
  # @param [String, nil] new_endpoint New URL value
68
68
  def endpoint= new_endpoint
@@ -107,9 +107,9 @@ module Google
107
107
  # @return [Google::Protobuf::FieldMask]
108
108
  # Required. Indicates which fields in the provided topic to update. Must be
109
109
  # specified and non-empty. Note that if `update_mask` contains
110
- # "message_storage_policy" then the new value will be determined based on the
111
- # policy configured at the project or organization level. The
112
- # `message_storage_policy` must not be set in the `topic` provided above.
110
+ # "message_storage_policy" but the `message_storage_policy` is not set in
111
+ # the `topic` provided above, then the updated value is determined by the
112
+ # policy configured at the project or organization level.
113
113
  class UpdateTopicRequest; end
114
114
 
115
115
  # Request for the Publish method.
@@ -312,9 +312,6 @@ module Google
312
312
  # parent project (i.e.,
313
313
  # service-\\{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have
314
314
  # permission to Acknowledge() messages on this subscription.
315
- # <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This
316
- # API might be changed in backward-incompatible ways and is not recommended
317
- # for production use. It is not subject to any SLA or deprecation policy.
318
315
  # @!attribute [rw] retry_policy
319
316
  # @return [Google::Cloud::PubSub::V1::RetryPolicy]
320
317
  # A policy that specifies how Cloud Pub/Sub retries message delivery for this
@@ -407,9 +407,9 @@ module Google
407
407
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
408
408
  # Required. Indicates which fields in the provided topic to update. Must be
409
409
  # specified and non-empty. Note that if `update_mask` contains
410
- # "message_storage_policy" then the new value will be determined based on the
411
- # policy configured at the project or organization level. The
412
- # `message_storage_policy` must not be set in the `topic` provided above.
410
+ # "message_storage_policy" but the `message_storage_policy` is not set in
411
+ # the `topic` provided above, then the updated value is determined by the
412
+ # policy configured at the project or organization level.
413
413
  # A hash of the same form as `Google::Protobuf::FieldMask`
414
414
  # can also be provided.
415
415
  # @param options [Google::Gax::CallOptions]
@@ -725,8 +725,8 @@ module Google
725
725
  # Sets the access control policy on the specified resource. Replaces
726
726
  # any existing policy.
727
727
  #
728
- # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
729
- # PERMISSION_DENIED
728
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
729
+ # errors.
730
730
  #
731
731
  # @param resource [String]
732
732
  # REQUIRED: The resource for which the policy is being specified.
@@ -814,7 +814,7 @@ module Google
814
814
 
815
815
  # Returns permissions that a caller has on the specified resource. If the
816
816
  # resource does not exist, this will return an empty set of
817
- # permissions, not a NOT_FOUND error.
817
+ # permissions, not a `NOT_FOUND` error.
818
818
  #
819
819
  # Note: This operation is designed to be used for building
820
820
  # permission-aware UIs and command-line tools, not for authorization
@@ -526,9 +526,6 @@ module Google
526
526
  # parent project (i.e.,
527
527
  # service-\\{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have
528
528
  # permission to Acknowledge() messages on this subscription.
529
- # <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This
530
- # API might be changed in backward-incompatible ways and is not recommended
531
- # for production use. It is not subject to any SLA or deprecation policy.
532
529
  # A hash of the same form as `Google::Cloud::PubSub::V1::DeadLetterPolicy`
533
530
  # can also be provided.
534
531
  # @param retry_policy [Google::Cloud::PubSub::V1::RetryPolicy | Hash]
@@ -1322,8 +1319,8 @@ module Google
1322
1319
  # Sets the access control policy on the specified resource. Replaces
1323
1320
  # any existing policy.
1324
1321
  #
1325
- # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
1326
- # PERMISSION_DENIED
1322
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
1323
+ # errors.
1327
1324
  #
1328
1325
  # @param resource [String]
1329
1326
  # REQUIRED: The resource for which the policy is being specified.
@@ -1411,7 +1408,7 @@ module Google
1411
1408
 
1412
1409
  # Returns permissions that a caller has on the specified resource. If the
1413
1410
  # resource does not exist, this will return an empty set of
1414
- # permissions, not a NOT_FOUND error.
1411
+ # permissions, not a `NOT_FOUND` error.
1415
1412
  #
1416
1413
  # Note: This operation is designed to be used for building
1417
1414
  # permission-aware UIs and command-line tools, not for authorization
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PubSub
19
- VERSION = "1.6.0".freeze
19
+ VERSION = "1.6.1".freeze
20
20
  end
21
21
 
22
22
  Pubsub = PubSub unless const_defined? :Pubsub
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: 1.6.0
4
+ version: 1.6.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: 2020-04-06 00:00:00.000000000 Z
12
+ date: 2020-05-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: concurrent-ruby
@@ -141,14 +141,14 @@ dependencies:
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '5.10'
144
+ version: '5.14'
145
145
  type: :development
146
146
  prerelease: false
147
147
  version_requirements: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: '5.10'
151
+ version: '5.14'
152
152
  - !ruby/object:Gem::Dependency
153
153
  name: minitest-autotest
154
154
  requirement: !ruby/object:Gem::Requirement