google-cloud-pubsub-v1 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20d47bf223f21d94ee61e469782fc6edde8925ac281cd2f14c56c6ccdf68cd27
4
- data.tar.gz: bd929c7bbe9ce143dd10cc2eb3c1fb65091beea2aeb6ff4798045b4395c49bd9
3
+ metadata.gz: 6710837e853d4027d03202b0a6aeafb80c332693577d2c5bad77d50137ea0f56
4
+ data.tar.gz: c1ca2cb0eafbfe4749ec2f35c7779fe8b50046aff0f70b418f67676be7017753
5
5
  SHA512:
6
- metadata.gz: 5091cfd7ef79c315beacec26919f5ea360e618b6511086eeaafed355d627356ade29d41901cdeb4507c2170f6b9a5b3f3d3a0504d6a1ea45dfd3f2b9b8a6dd87
7
- data.tar.gz: a460c298e7e6643aa312a0d2c474c14b3556aa2d5b3ef592844366b19bc4fa694a5cc01a509ecc57b115032169f124abfd0a1e0565c7754879eb9f5f3e512193
6
+ metadata.gz: 12b133bb8c20323c506ec8442a0a2cb355c0128b517787e060b677e95c75f3ab5ba90f20ed7e83840a3e6a09ddef90cd0e2461530f921b44dc1e4e01b53fed94
7
+ data.tar.gz: 65ad71d44e145074e09dc2afc70a048a33b5c537dcb13c803be9ab5ecbf8b100d3c418592cf1273e922785a0b6e089b277b03aee14459c239cfa577e10fe7349
@@ -255,7 +255,7 @@ module Google
255
255
  # timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time)
256
256
  # that is up to `message_retention_duration` in the past. If this field is
257
257
  # not set, message retention is controlled by settings on individual
258
- # subscriptions. Cannot be more than 7 days or less than 10 minutes.
258
+ # subscriptions. Cannot be more than 31 days or less than 10 minutes.
259
259
  #
260
260
  # @yield [response, operation] Access the result along with the RPC operation
261
261
  # @yieldparam response [::Google::Cloud::PubSub::V1::Topic]
@@ -636,13 +636,11 @@ module Google
636
636
  # # Call the list_topics method.
637
637
  # result = client.list_topics request
638
638
  #
639
- # # The returned object is of type Gapic::PagedEnumerable. You can
640
- # # iterate over all elements by calling #each, and the enumerable
641
- # # will lazily make API calls to fetch subsequent pages. Other
642
- # # methods are also available for managing paging directly.
643
- # result.each do |response|
639
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
640
+ # # over elements, and API calls will be issued to fetch pages as needed.
641
+ # result.each do |item|
644
642
  # # Each element is of type ::Google::Cloud::PubSub::V1::Topic.
645
- # p response
643
+ # p item
646
644
  # end
647
645
  #
648
646
  def list_topics request, options = nil
@@ -397,13 +397,11 @@ module Google
397
397
  # # Call the list_schemas method.
398
398
  # result = client.list_schemas request
399
399
  #
400
- # # The returned object is of type Gapic::PagedEnumerable. You can
401
- # # iterate over all elements by calling #each, and the enumerable
402
- # # will lazily make API calls to fetch subsequent pages. Other
403
- # # methods are also available for managing paging directly.
404
- # result.each do |response|
400
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
401
+ # # over elements, and API calls will be issued to fetch pages as needed.
402
+ # result.each do |item|
405
403
  # # Each element is of type ::Google::Cloud::PubSub::V1::Schema.
406
- # p response
404
+ # p item
407
405
  # end
408
406
  #
409
407
  def list_schemas request, options = nil
@@ -498,13 +496,11 @@ module Google
498
496
  # # Call the list_schema_revisions method.
499
497
  # result = client.list_schema_revisions request
500
498
  #
501
- # # The returned object is of type Gapic::PagedEnumerable. You can
502
- # # iterate over all elements by calling #each, and the enumerable
503
- # # will lazily make API calls to fetch subsequent pages. Other
504
- # # methods are also available for managing paging directly.
505
- # result.each do |response|
499
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
500
+ # # over elements, and API calls will be issued to fetch pages as needed.
501
+ # result.each do |item|
506
502
  # # Each element is of type ::Google::Cloud::PubSub::V1::Schema.
507
- # p response
503
+ # p item
508
504
  # end
509
505
  #
510
506
  def list_schema_revisions request, options = nil
@@ -749,12 +745,11 @@ module Google
749
745
  # Required. The name of the schema revision to be deleted, with a revision ID
750
746
  # explicitly included.
751
747
  #
752
- # Example: projects/123/schemas/my-schema@c7cfa2a8
748
+ # Example: `projects/123/schemas/my-schema@c7cfa2a8`
753
749
  # @param revision_id [::String]
754
- # Required. The revision ID to roll back to.
755
- # It must be a revision of the same schema.
756
- #
757
- # Example: c7cfa2a8
750
+ # Optional. This field is deprecated and should not be used for specifying
751
+ # the revision ID. The revision ID should be specified via the `name`
752
+ # parameter.
758
753
  #
759
754
  # @yield [response, operation] Access the result along with the RPC operation
760
755
  # @yieldparam response [::Google::Cloud::PubSub::V1::Schema]
@@ -281,19 +281,15 @@ module Google
281
281
  # field will be `_deleted-topic_` if the topic has been deleted.
282
282
  # @param push_config [::Google::Cloud::PubSub::V1::PushConfig, ::Hash]
283
283
  # If push delivery is used with this subscription, this field is
284
- # used to configure it. Either `pushConfig` or `bigQueryConfig` can be set,
285
- # but not both. If both are empty, then the subscriber will pull and ack
286
- # messages using API methods.
284
+ # used to configure it.
287
285
  # @param bigquery_config [::Google::Cloud::PubSub::V1::BigQueryConfig, ::Hash]
288
286
  # If delivery to BigQuery is used with this subscription, this field is
289
- # used to configure it. Either `pushConfig` or `bigQueryConfig` can be set,
290
- # but not both. If both are empty, then the subscriber will pull and ack
291
- # messages using API methods.
287
+ # used to configure it.
292
288
  # @param ack_deadline_seconds [::Integer]
293
289
  # The approximate amount of time (on a best-effort basis) Pub/Sub waits for
294
290
  # the subscriber to acknowledge receipt before resending the message. In the
295
291
  # interval after the message is delivered and before it is acknowledged, it
296
- # is considered to be <i>outstanding</i>. During that time period, the
292
+ # is considered to be _outstanding_. During that time period, the
297
293
  # message will not be redelivered (on a best-effort basis).
298
294
  #
299
295
  # For pull subscriptions, this value is used as the initial value for the ack
@@ -325,8 +321,8 @@ module Google
325
321
  # can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10
326
322
  # minutes.
327
323
  # @param labels [::Hash{::String => ::String}]
328
- # See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
329
- # managing labels</a>.
324
+ # See [Creating and managing
325
+ # labels](https://cloud.google.com/pubsub/docs/labels).
330
326
  # @param enable_message_ordering [::Boolean]
331
327
  # If true, messages published with the same `ordering_key` in `PubsubMessage`
332
328
  # will be delivered to the subscribers in the order in which they
@@ -668,13 +664,11 @@ module Google
668
664
  # # Call the list_subscriptions method.
669
665
  # result = client.list_subscriptions request
670
666
  #
671
- # # The returned object is of type Gapic::PagedEnumerable. You can
672
- # # iterate over all elements by calling #each, and the enumerable
673
- # # will lazily make API calls to fetch subsequent pages. Other
674
- # # methods are also available for managing paging directly.
675
- # result.each do |response|
667
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
668
+ # # over elements, and API calls will be issued to fetch pages as needed.
669
+ # result.each do |item|
676
670
  # # Each element is of type ::Google::Cloud::PubSub::V1::Subscription.
677
- # p response
671
+ # p item
678
672
  # end
679
673
  #
680
674
  def list_subscriptions request, options = nil
@@ -1007,9 +1001,7 @@ module Google
1007
1001
  end
1008
1002
 
1009
1003
  ##
1010
- # Pulls messages from the server. The server may return `UNAVAILABLE` if
1011
- # there are too many concurrent pull requests pending for the given
1012
- # subscription.
1004
+ # Pulls messages from the server.
1013
1005
  #
1014
1006
  # @overload pull(request, options = nil)
1015
1007
  # Pass arguments to `pull` via a request object, either of type
@@ -1134,22 +1126,22 @@ module Google
1134
1126
  # # Create a client object. The client can be reused for multiple calls.
1135
1127
  # client = Google::Cloud::PubSub::V1::Subscriber::Client.new
1136
1128
  #
1137
- # # Create an input stream
1129
+ # # Create an input stream.
1138
1130
  # input = Gapic::StreamInput.new
1139
1131
  #
1140
1132
  # # Call the streaming_pull method to start streaming.
1141
1133
  # output = client.streaming_pull input
1142
1134
  #
1143
- # # Send requests on the stream. For each request, pass in keyword
1144
- # # arguments to set fields. Be sure to close the stream when done.
1135
+ # # Send requests on the stream. For each request object, set fields by
1136
+ # # passing keyword arguments. Be sure to close the stream when done.
1145
1137
  # input << Google::Cloud::PubSub::V1::StreamingPullRequest.new
1146
1138
  # input << Google::Cloud::PubSub::V1::StreamingPullRequest.new
1147
1139
  # input.close
1148
1140
  #
1149
- # # Handle streamed responses. These may be interleaved with inputs.
1150
- # # Each response is of type ::Google::Cloud::PubSub::V1::StreamingPullResponse.
1151
- # output.each do |response|
1152
- # p response
1141
+ # # The returned object is a streamed enumerable yielding elements of type
1142
+ # # ::Google::Cloud::PubSub::V1::StreamingPullResponse
1143
+ # output.each do |current_response|
1144
+ # p current_response
1153
1145
  # end
1154
1146
  #
1155
1147
  def streaming_pull request, options = nil
@@ -1290,10 +1282,10 @@ module Google
1290
1282
 
1291
1283
  ##
1292
1284
  # Gets the configuration details of a snapshot. Snapshots are used in
1293
- # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
1294
- # operations, which allow you to manage message acknowledgments in bulk. That
1295
- # is, you can set the acknowledgment state of messages in an existing
1296
- # subscription to the state captured by a snapshot.
1285
+ # [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
1286
+ # which allow you to manage message acknowledgments in bulk. That is, you can
1287
+ # set the acknowledgment state of messages in an existing subscription to the
1288
+ # state captured by a snapshot.
1297
1289
  #
1298
1290
  # @overload get_snapshot(request, options = nil)
1299
1291
  # Pass arguments to `get_snapshot` via a request object, either of type
@@ -1430,13 +1422,11 @@ module Google
1430
1422
  # # Call the list_snapshots method.
1431
1423
  # result = client.list_snapshots request
1432
1424
  #
1433
- # # The returned object is of type Gapic::PagedEnumerable. You can
1434
- # # iterate over all elements by calling #each, and the enumerable
1435
- # # will lazily make API calls to fetch subsequent pages. Other
1436
- # # methods are also available for managing paging directly.
1437
- # result.each do |response|
1425
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1426
+ # # over elements, and API calls will be issued to fetch pages as needed.
1427
+ # result.each do |item|
1438
1428
  # # Each element is of type ::Google::Cloud::PubSub::V1::Snapshot.
1439
- # p response
1429
+ # p item
1440
1430
  # end
1441
1431
  #
1442
1432
  def list_snapshots request, options = nil
@@ -1518,9 +1508,9 @@ module Google
1518
1508
  # Required. User-provided name for this snapshot. If the name is not provided
1519
1509
  # in the request, the server will assign a random name for this snapshot on
1520
1510
  # the same project as the subscription. Note that for REST API requests, you
1521
- # must specify a name. See the <a
1522
- # href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource
1523
- # name rules</a>. Format is `projects/{project}/snapshots/{snap}`.
1511
+ # must specify a name. See the [resource name
1512
+ # rules](https://cloud.google.com/pubsub/docs/admin#resource_names). Format
1513
+ # is `projects/{project}/snapshots/{snap}`.
1524
1514
  # @param subscription [::String]
1525
1515
  # Required. The subscription whose backlog the snapshot retains.
1526
1516
  # Specifically, the created snapshot is guaranteed to retain:
@@ -1532,8 +1522,8 @@ module Google
1532
1522
  # successful completion of the CreateSnapshot request.
1533
1523
  # Format is `projects/{project}/subscriptions/{sub}`.
1534
1524
  # @param labels [::Hash{::String => ::String}]
1535
- # See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
1536
- # managing labels</a>.
1525
+ # See [Creating and managing
1526
+ # labels](https://cloud.google.com/pubsub/docs/labels).
1537
1527
  #
1538
1528
  # @yield [response, operation] Access the result along with the RPC operation
1539
1529
  # @yieldparam response [::Google::Cloud::PubSub::V1::Snapshot]
@@ -1601,11 +1591,10 @@ module Google
1601
1591
 
1602
1592
  ##
1603
1593
  # Updates an existing snapshot. Snapshots are used in
1604
- # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
1605
- # operations, which allow
1606
- # you to manage message acknowledgments in bulk. That is, you can set the
1607
- # acknowledgment state of messages in an existing subscription to the state
1608
- # captured by a snapshot.
1594
+ # [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
1595
+ # which allow you to manage message acknowledgments in bulk. That is, you can
1596
+ # set the acknowledgment state of messages in an existing subscription to the
1597
+ # state captured by a snapshot.
1609
1598
  #
1610
1599
  # @overload update_snapshot(request, options = nil)
1611
1600
  # Pass arguments to `update_snapshot` via a request object, either of type
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PubSub
23
23
  module V1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.14.0"
25
25
  end
26
26
  end
27
27
  end
@@ -214,6 +214,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
214
214
  repeated :ack_ids, :string, 1
215
215
  repeated :invalid_ack_ids, :string, 2
216
216
  repeated :unordered_ack_ids, :string, 3
217
+ repeated :temporary_failed_ack_ids, :string, 4
217
218
  end
218
219
  add_message "google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation" do
219
220
  repeated :ack_ids, :string, 1
@@ -121,9 +121,7 @@ module Google
121
121
  # but such a message may be redelivered later. Acknowledging a message more
122
122
  # than once will not result in an error.
123
123
  rpc :Acknowledge, ::Google::Cloud::PubSub::V1::AcknowledgeRequest, ::Google::Protobuf::Empty
124
- # Pulls messages from the server. The server may return `UNAVAILABLE` if
125
- # there are too many concurrent pull requests pending for the given
126
- # subscription.
124
+ # Pulls messages from the server.
127
125
  rpc :Pull, ::Google::Cloud::PubSub::V1::PullRequest, ::Google::Cloud::PubSub::V1::PullResponse
128
126
  # Establishes a stream with the server, which sends messages down to the
129
127
  # client. The client streams acknowledgements and ack deadline modifications
@@ -141,10 +139,10 @@ module Google
141
139
  # continuously through the call regardless of changes to the `PushConfig`.
142
140
  rpc :ModifyPushConfig, ::Google::Cloud::PubSub::V1::ModifyPushConfigRequest, ::Google::Protobuf::Empty
143
141
  # Gets the configuration details of a snapshot. Snapshots are used in
144
- # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
145
- # operations, which allow you to manage message acknowledgments in bulk. That
146
- # is, you can set the acknowledgment state of messages in an existing
147
- # subscription to the state captured by a snapshot.
142
+ # [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
143
+ # which allow you to manage message acknowledgments in bulk. That is, you can
144
+ # set the acknowledgment state of messages in an existing subscription to the
145
+ # state captured by a snapshot.
148
146
  rpc :GetSnapshot, ::Google::Cloud::PubSub::V1::GetSnapshotRequest, ::Google::Cloud::PubSub::V1::Snapshot
149
147
  # Lists the existing snapshots. Snapshots are used in [Seek](
150
148
  # https://cloud.google.com/pubsub/docs/replay-overview) operations, which
@@ -170,11 +168,10 @@ module Google
170
168
  # REST API requests, you must specify a name in the request.
171
169
  rpc :CreateSnapshot, ::Google::Cloud::PubSub::V1::CreateSnapshotRequest, ::Google::Cloud::PubSub::V1::Snapshot
172
170
  # Updates an existing snapshot. Snapshots are used in
173
- # <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
174
- # operations, which allow
175
- # you to manage message acknowledgments in bulk. That is, you can set the
176
- # acknowledgment state of messages in an existing subscription to the state
177
- # captured by a snapshot.
171
+ # [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
172
+ # which allow you to manage message acknowledgments in bulk. That is, you can
173
+ # set the acknowledgment state of messages in an existing subscription to the
174
+ # state captured by a snapshot.
178
175
  rpc :UpdateSnapshot, ::Google::Cloud::PubSub::V1::UpdateSnapshotRequest, ::Google::Cloud::PubSub::V1::Snapshot
179
176
  # Removes an existing snapshot. Snapshots are used in [Seek]
180
177
  # (https://cloud.google.com/pubsub/docs/replay-overview) operations, which
@@ -99,7 +99,7 @@ module Google
99
99
  # timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time)
100
100
  # that is up to `message_retention_duration` in the past. If this field is
101
101
  # not set, message retention is controlled by settings on individual
102
- # subscriptions. Cannot be more than 7 days or less than 10 minutes.
102
+ # subscriptions. Cannot be more than 31 days or less than 10 minutes.
103
103
  class Topic
104
104
  include ::Google::Protobuf::MessageExts
105
105
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -336,7 +336,9 @@ module Google
336
336
  extend ::Google::Protobuf::MessageExts::ClassMethods
337
337
  end
338
338
 
339
- # A subscription resource.
339
+ # A subscription resource. If none of `push_config` or `bigquery_config` is
340
+ # set, then the subscriber will pull and ack messages using API methods. At
341
+ # most one of these fields may be set.
340
342
  # @!attribute [rw] name
341
343
  # @return [::String]
342
344
  # Required. The name of the subscription. It must have the format
@@ -353,21 +355,17 @@ module Google
353
355
  # @!attribute [rw] push_config
354
356
  # @return [::Google::Cloud::PubSub::V1::PushConfig]
355
357
  # If push delivery is used with this subscription, this field is
356
- # used to configure it. Either `pushConfig` or `bigQueryConfig` can be set,
357
- # but not both. If both are empty, then the subscriber will pull and ack
358
- # messages using API methods.
358
+ # used to configure it.
359
359
  # @!attribute [rw] bigquery_config
360
360
  # @return [::Google::Cloud::PubSub::V1::BigQueryConfig]
361
361
  # If delivery to BigQuery is used with this subscription, this field is
362
- # used to configure it. Either `pushConfig` or `bigQueryConfig` can be set,
363
- # but not both. If both are empty, then the subscriber will pull and ack
364
- # messages using API methods.
362
+ # used to configure it.
365
363
  # @!attribute [rw] ack_deadline_seconds
366
364
  # @return [::Integer]
367
365
  # The approximate amount of time (on a best-effort basis) Pub/Sub waits for
368
366
  # the subscriber to acknowledge receipt before resending the message. In the
369
367
  # interval after the message is delivered and before it is acknowledged, it
370
- # is considered to be <i>outstanding</i>. During that time period, the
368
+ # is considered to be _outstanding_. During that time period, the
371
369
  # message will not be redelivered (on a best-effort basis).
372
370
  #
373
371
  # For pull subscriptions, this value is used as the initial value for the ack
@@ -402,8 +400,8 @@ module Google
402
400
  # minutes.
403
401
  # @!attribute [rw] labels
404
402
  # @return [::Google::Protobuf::Map{::String => ::String}]
405
- # See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
406
- # managing labels</a>.
403
+ # See [Creating and managing
404
+ # labels](https://cloud.google.com/pubsub/docs/labels).
407
405
  # @!attribute [rw] enable_message_ordering
408
406
  # @return [::Boolean]
409
407
  # If true, messages published with the same `ordering_key` in `PubsubMessage`
@@ -606,7 +604,7 @@ module Google
606
604
  # * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
607
605
  #
608
606
  # For example:
609
- # <pre><code>attributes { "x-goog-version": "v1" } </code></pre>
607
+ # `attributes { "x-goog-version": "v1" }`
610
608
  # @!attribute [rw] oidc_token
611
609
  # @return [::Google::Cloud::PubSub::V1::PushConfig::OidcToken]
612
610
  # If specified, Pub/Sub will generate and attach an OIDC JWT token as an
@@ -652,7 +650,7 @@ module Google
652
650
  # @!attribute [rw] table
653
651
  # @return [::String]
654
652
  # The name of the table to which to write data, of the form
655
- # \\{projectId}:\\{datasetId}.\\{tableId}
653
+ # \\{projectId}.\\{datasetId}.\\{tableId}
656
654
  # @!attribute [rw] use_topic_schema
657
655
  # @return [::Boolean]
658
656
  # When true, use the topic's schema as the columns to write to in BigQuery,
@@ -688,6 +686,11 @@ module Google
688
686
  ACTIVE = 1
689
687
 
690
688
  # Cannot write to the BigQuery table because of permission denied errors.
689
+ # This can happen if
690
+ # - Pub/Sub SA has not been granted the [appropriate BigQuery IAM
691
+ # permissions](https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account)
692
+ # - bigquery.googleapis.com API is not enabled for the project
693
+ # ([instructions](https://cloud.google.com/service-usage/docs/enable-disable))
691
694
  PERMISSION_DENIED = 2
692
695
 
693
696
  # Cannot write to the BigQuery table because it does not exist.
@@ -839,7 +842,8 @@ module Google
839
842
  # @!attribute [rw] received_messages
840
843
  # @return [::Array<::Google::Cloud::PubSub::V1::ReceivedMessage>]
841
844
  # Received Pub/Sub messages. The list will be empty if there are no more
842
- # messages available in the backlog. For JSON, the response can be entirely
845
+ # messages available in the backlog, or if no messages could be returned
846
+ # before the request timeout. For JSON, the response can be entirely
843
847
  # empty. The Pub/Sub system may return fewer than the `maxMessages` requested
844
848
  # even if there are more messages available in the backlog.
845
849
  class PullResponse
@@ -994,6 +998,9 @@ module Google
994
998
  # @!attribute [rw] unordered_ack_ids
995
999
  # @return [::Array<::String>]
996
1000
  # List of acknowledgement IDs that were out of order.
1001
+ # @!attribute [rw] temporary_failed_ack_ids
1002
+ # @return [::Array<::String>]
1003
+ # List of acknowledgement IDs that failed processing with temporary issues.
997
1004
  class AcknowledgeConfirmation
998
1005
  include ::Google::Protobuf::MessageExts
999
1006
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1032,9 +1039,9 @@ module Google
1032
1039
  # Required. User-provided name for this snapshot. If the name is not provided
1033
1040
  # in the request, the server will assign a random name for this snapshot on
1034
1041
  # the same project as the subscription. Note that for REST API requests, you
1035
- # must specify a name. See the <a
1036
- # href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource
1037
- # name rules</a>. Format is `projects/{project}/snapshots/{snap}`.
1042
+ # must specify a name. See the [resource name
1043
+ # rules](https://cloud.google.com/pubsub/docs/admin#resource_names). Format
1044
+ # is `projects/{project}/snapshots/{snap}`.
1038
1045
  # @!attribute [rw] subscription
1039
1046
  # @return [::String]
1040
1047
  # Required. The subscription whose backlog the snapshot retains.
@@ -1048,8 +1055,8 @@ module Google
1048
1055
  # Format is `projects/{project}/subscriptions/{sub}`.
1049
1056
  # @!attribute [rw] labels
1050
1057
  # @return [::Google::Protobuf::Map{::String => ::String}]
1051
- # See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
1052
- # managing labels</a>.
1058
+ # See [Creating and managing
1059
+ # labels](https://cloud.google.com/pubsub/docs/labels).
1053
1060
  class CreateSnapshotRequest
1054
1061
  include ::Google::Protobuf::MessageExts
1055
1062
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -199,13 +199,12 @@ module Google
199
199
  # Required. The name of the schema revision to be deleted, with a revision ID
200
200
  # explicitly included.
201
201
  #
202
- # Example: projects/123/schemas/my-schema@c7cfa2a8
202
+ # Example: `projects/123/schemas/my-schema@c7cfa2a8`
203
203
  # @!attribute [rw] revision_id
204
204
  # @return [::String]
205
- # Required. The revision ID to roll back to.
206
- # It must be a revision of the same schema.
207
- #
208
- # Example: c7cfa2a8
205
+ # Optional. This field is deprecated and should not be used for specifying
206
+ # the revision ID. The revision ID should be specified via the `name`
207
+ # parameter.
209
208
  class DeleteSchemaRevisionRequest
210
209
  include ::Google::Protobuf::MessageExts
211
210
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-pubsub-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-12 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.16.0
19
+ version: 0.17.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.16.0
29
+ version: 0.17.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.0'
53
+ version: '0.4'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.0'
63
+ version: '0.4'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -70,14 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: 1.26.1
73
+ version: 1.26.3
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: 1.26.1
80
+ version: 1.26.3
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: minitest
83
83
  requirement: !ruby/object:Gem::Requirement