google-apis-pubsub_v1 0.63.0 → 0.64.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/pubsub_v1/classes.rb +22 -21
- data/lib/google/apis/pubsub_v1/gem_version.rb +2 -2
- data/lib/google/apis/pubsub_v1/service.rb +50 -48
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6918639dfd779a971b9749ed02dd5128a1a8574491ff1369014673b61ccde94
|
|
4
|
+
data.tar.gz: 57ff0875c4d4a4a212e2ed5da15810a6c1ea6d7cf75ebdf9b64e1b913c5e22ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5ab43a5820295125a79a6e207f10f70133934b39d3bb7c64673a5c6881183b40afa3518545edb2e2e6b08730ce82c2dfcad489fa4089b75ac1fbeb2570e6aa3
|
|
7
|
+
data.tar.gz: 3053173c917319d39965c37438041648704b5790c17619b027217f81c6e4dc689eda3236c37f077e5b140c73dab5d2239961d69636e6d883cd52a0fcad42e1b4
|
data/CHANGELOG.md
CHANGED
|
@@ -712,13 +712,13 @@ module Google
|
|
|
712
712
|
# @return [Hash<String,String>]
|
|
713
713
|
attr_accessor :labels
|
|
714
714
|
|
|
715
|
-
# Required. The subscription whose backlog the snapshot retains.
|
|
716
|
-
# the created snapshot is guaranteed to retain: (a) The existing
|
|
717
|
-
# subscription. More precisely, this is defined as the messages
|
|
718
|
-
# subscription's backlog that are unacknowledged upon the successful
|
|
719
|
-
# of the `CreateSnapshot` request; as well as: (b) Any messages
|
|
720
|
-
# subscription's topic following the successful completion of
|
|
721
|
-
# request. Format is `projects/`project`/subscriptions/`sub``.
|
|
715
|
+
# Required. Identifier. The subscription whose backlog the snapshot retains.
|
|
716
|
+
# Specifically, the created snapshot is guaranteed to retain: (a) The existing
|
|
717
|
+
# backlog on the subscription. More precisely, this is defined as the messages
|
|
718
|
+
# in the subscription's backlog that are unacknowledged upon the successful
|
|
719
|
+
# completion of the `CreateSnapshot` request; as well as: (b) Any messages
|
|
720
|
+
# published to the subscription's topic following the successful completion of
|
|
721
|
+
# the CreateSnapshot request. Format is `projects/`project`/subscriptions/`sub``.
|
|
722
722
|
# Corresponds to the JSON property `subscription`
|
|
723
723
|
# @return [String]
|
|
724
724
|
attr_accessor :subscription
|
|
@@ -2144,12 +2144,12 @@ module Google
|
|
|
2144
2144
|
# @return [Array<Google::Apis::PubsubV1::MessageTransform>]
|
|
2145
2145
|
attr_accessor :message_transforms
|
|
2146
2146
|
|
|
2147
|
-
# Required. The name of the subscription. It must have the format `"
|
|
2148
|
-
# project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
2149
|
-
# letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
2150
|
-
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
2151
|
-
#
|
|
2152
|
-
# with `"goog"`.
|
|
2147
|
+
# Required. Identifier. The name of the subscription. It must have the format `"
|
|
2148
|
+
# projects/`project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
2149
|
+
# with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
2150
|
+
# dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
2151
|
+
# percent signs (`%`). It must be between 3 and 255 characters in length, and it
|
|
2152
|
+
# must not start with `"goog"`.
|
|
2153
2153
|
# Corresponds to the JSON property `name`
|
|
2154
2154
|
# @return [String]
|
|
2155
2155
|
attr_accessor :name
|
|
@@ -2194,9 +2194,9 @@ module Google
|
|
|
2194
2194
|
# @return [Hash<String,String>]
|
|
2195
2195
|
attr_accessor :tags
|
|
2196
2196
|
|
|
2197
|
-
# Required. The name of the topic from which this subscription is
|
|
2198
|
-
# messages. Format is `projects/`project`/topics/`topic``. The value
|
|
2199
|
-
# field will be `_deleted-topic_` if the topic has been deleted.
|
|
2197
|
+
# Required. Identifier. The name of the topic from which this subscription is
|
|
2198
|
+
# receiving messages. Format is `projects/`project`/topics/`topic``. The value
|
|
2199
|
+
# of this field will be `_deleted-topic_` if the topic has been deleted.
|
|
2200
2200
|
# Corresponds to the JSON property `topic`
|
|
2201
2201
|
# @return [String]
|
|
2202
2202
|
attr_accessor :topic
|
|
@@ -2361,11 +2361,12 @@ module Google
|
|
|
2361
2361
|
# @return [Array<Google::Apis::PubsubV1::MessageTransform>]
|
|
2362
2362
|
attr_accessor :message_transforms
|
|
2363
2363
|
|
|
2364
|
-
# Required. The name of the topic. It must have the format `"
|
|
2365
|
-
# topics/`topic`"`. ``topic`` must start with a letter, and
|
|
2366
|
-
# (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
2367
|
-
# , tildes (`~`), plus (`+`) or percent signs (
|
|
2368
|
-
# 255 characters in length, and it must not start
|
|
2364
|
+
# Required. Identifier. The name of the topic. It must have the format `"
|
|
2365
|
+
# projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, and
|
|
2366
|
+
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
2367
|
+
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
|
|
2368
|
+
# `). It must be between 3 and 255 characters in length, and it must not start
|
|
2369
|
+
# with `"goog"`.
|
|
2369
2370
|
# Corresponds to the JSON property `name`
|
|
2370
2371
|
# @return [String]
|
|
2371
2372
|
attr_accessor :name
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module PubsubV1
|
|
18
18
|
# Version of the google-apis-pubsub_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.64.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251212"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -549,12 +549,12 @@ module Google
|
|
|
549
549
|
# object. Note that for REST API requests, you must specify a name in the
|
|
550
550
|
# request.
|
|
551
551
|
# @param [String] name
|
|
552
|
-
# Required. User-provided name for this snapshot. If the name is not
|
|
553
|
-
# the request, the server will assign a random name for this
|
|
554
|
-
# same project as the subscription. Note that for REST API
|
|
555
|
-
# specify a name. See the [resource name rules](https://cloud.
|
|
556
|
-
# docs/pubsub-basics#resource_names). Format is `projects/`
|
|
557
|
-
# snap``.
|
|
552
|
+
# Required. Identifier. User-provided name for this snapshot. If the name is not
|
|
553
|
+
# provided in the request, the server will assign a random name for this
|
|
554
|
+
# snapshot on the same project as the subscription. Note that for REST API
|
|
555
|
+
# requests, you must specify a name. See the [resource name rules](https://cloud.
|
|
556
|
+
# google.com/pubsub/docs/pubsub-basics#resource_names). Format is `projects/`
|
|
557
|
+
# project`/snapshots/`snap``.
|
|
558
558
|
# @param [Google::Apis::PubsubV1::CreateSnapshotRequest] create_snapshot_request_object
|
|
559
559
|
# @param [String] fields
|
|
560
560
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -594,8 +594,8 @@ module Google
|
|
|
594
594
|
# with the same name, but the new one has no association with the old snapshot
|
|
595
595
|
# or its subscription, unless the same subscription is specified.
|
|
596
596
|
# @param [String] snapshot
|
|
597
|
-
# Required. The name of the snapshot to delete. Format is `projects/`
|
|
598
|
-
# snapshots/`snap``.
|
|
597
|
+
# Required. Identifier. The name of the snapshot to delete. Format is `projects/`
|
|
598
|
+
# project`/snapshots/`snap``.
|
|
599
599
|
# @param [String] fields
|
|
600
600
|
# Selector specifying which fields to include in a partial response.
|
|
601
601
|
# @param [String] quota_user
|
|
@@ -629,8 +629,8 @@ module Google
|
|
|
629
629
|
# acknowledgment state of messages in an existing subscription to the state
|
|
630
630
|
# captured by a snapshot.
|
|
631
631
|
# @param [String] snapshot
|
|
632
|
-
# Required. The name of the snapshot to get. Format is `projects/`
|
|
633
|
-
# snapshots/`snap``.
|
|
632
|
+
# Required. Identifier. The name of the snapshot to get. Format is `projects/`
|
|
633
|
+
# project`/snapshots/`snap``.
|
|
634
634
|
# @param [String] fields
|
|
635
635
|
# Selector specifying which fields to include in a partial response.
|
|
636
636
|
# @param [String] quota_user
|
|
@@ -708,8 +708,8 @@ module Google
|
|
|
708
708
|
# message acknowledgments in bulk. That is, you can set the acknowledgment state
|
|
709
709
|
# of messages in an existing subscription to the state captured by a snapshot.
|
|
710
710
|
# @param [String] project
|
|
711
|
-
# Required. The name of the project in which to list snapshots.
|
|
712
|
-
# projects/`project-id``.
|
|
711
|
+
# Required. Identifier. The name of the project in which to list snapshots.
|
|
712
|
+
# Format is `projects/`project-id``.
|
|
713
713
|
# @param [Fixnum] page_size
|
|
714
714
|
# Optional. Maximum number of snapshots to return.
|
|
715
715
|
# @param [String] page_token
|
|
@@ -906,12 +906,12 @@ module Google
|
|
|
906
906
|
# is populated in the returned Subscription object. Note that for REST API
|
|
907
907
|
# requests, you must specify a name in the request.
|
|
908
908
|
# @param [String] name
|
|
909
|
-
# Required. The name of the subscription. It must have the format `"
|
|
910
|
-
# project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
911
|
-
# letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
912
|
-
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
913
|
-
#
|
|
914
|
-
# with `"goog"`.
|
|
909
|
+
# Required. Identifier. The name of the subscription. It must have the format `"
|
|
910
|
+
# projects/`project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
911
|
+
# with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
912
|
+
# dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
913
|
+
# percent signs (`%`). It must be between 3 and 255 characters in length, and it
|
|
914
|
+
# must not start with `"goog"`.
|
|
915
915
|
# @param [Google::Apis::PubsubV1::Subscription] subscription_object
|
|
916
916
|
# @param [String] fields
|
|
917
917
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -948,8 +948,8 @@ module Google
|
|
|
948
948
|
# but the new one has no association with the old subscription or its topic
|
|
949
949
|
# unless the same topic is specified.
|
|
950
950
|
# @param [String] subscription
|
|
951
|
-
# Required. The subscription to delete. Format is `projects/`project
|
|
952
|
-
# subscriptions/`sub``.
|
|
951
|
+
# Required. Identifier. The subscription to delete. Format is `projects/`project`
|
|
952
|
+
# /subscriptions/`sub``.
|
|
953
953
|
# @param [String] fields
|
|
954
954
|
# Selector specifying which fields to include in a partial response.
|
|
955
955
|
# @param [String] quota_user
|
|
@@ -1013,8 +1013,8 @@ module Google
|
|
|
1013
1013
|
|
|
1014
1014
|
# Gets the configuration details of a subscription.
|
|
1015
1015
|
# @param [String] subscription
|
|
1016
|
-
# Required. The name of the subscription to get. Format is `projects
|
|
1017
|
-
# subscriptions/`sub``.
|
|
1016
|
+
# Required. Identifier. The name of the subscription to get. Format is `projects/
|
|
1017
|
+
# `project`/subscriptions/`sub``.
|
|
1018
1018
|
# @param [String] fields
|
|
1019
1019
|
# Selector specifying which fields to include in a partial response.
|
|
1020
1020
|
# @param [String] quota_user
|
|
@@ -1089,8 +1089,8 @@ module Google
|
|
|
1089
1089
|
|
|
1090
1090
|
# Lists matching subscriptions.
|
|
1091
1091
|
# @param [String] project
|
|
1092
|
-
# Required. The name of the project in which to list subscriptions.
|
|
1093
|
-
# projects/`project-id``.
|
|
1092
|
+
# Required. Identifier. The name of the project in which to list subscriptions.
|
|
1093
|
+
# Format is `projects/`project-id``.
|
|
1094
1094
|
# @param [Fixnum] page_size
|
|
1095
1095
|
# Optional. Maximum number of subscriptions to return.
|
|
1096
1096
|
# @param [String] page_token
|
|
@@ -1206,12 +1206,12 @@ module Google
|
|
|
1206
1206
|
# update mask. Note that certain properties of a subscription, such as its topic,
|
|
1207
1207
|
# are not modifiable.
|
|
1208
1208
|
# @param [String] name
|
|
1209
|
-
# Required. The name of the subscription. It must have the format `"
|
|
1210
|
-
# project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
1211
|
-
# letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
1212
|
-
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
1213
|
-
#
|
|
1214
|
-
# with `"goog"`.
|
|
1209
|
+
# Required. Identifier. The name of the subscription. It must have the format `"
|
|
1210
|
+
# projects/`project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
1211
|
+
# with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
1212
|
+
# dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
1213
|
+
# percent signs (`%`). It must be between 3 and 255 characters in length, and it
|
|
1214
|
+
# must not start with `"goog"`.
|
|
1215
1215
|
# @param [Google::Apis::PubsubV1::UpdateSubscriptionRequest] update_subscription_request_object
|
|
1216
1216
|
# @param [String] fields
|
|
1217
1217
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1394,11 +1394,12 @@ module Google
|
|
|
1394
1394
|
# Creates the given topic with the given name. See the [resource name rules] (
|
|
1395
1395
|
# https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
|
|
1396
1396
|
# @param [String] name
|
|
1397
|
-
# Required. The name of the topic. It must have the format `"
|
|
1398
|
-
# topics/`topic`"`. ``topic`` must start with a letter, and
|
|
1399
|
-
# (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
1400
|
-
# , tildes (`~`), plus (`+`) or percent signs (
|
|
1401
|
-
# 255 characters in length, and it must not start
|
|
1397
|
+
# Required. Identifier. The name of the topic. It must have the format `"
|
|
1398
|
+
# projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, and
|
|
1399
|
+
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
1400
|
+
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
|
|
1401
|
+
# `). It must be between 3 and 255 characters in length, and it must not start
|
|
1402
|
+
# with `"goog"`.
|
|
1402
1403
|
# @param [Google::Apis::PubsubV1::Topic] topic_object
|
|
1403
1404
|
# @param [String] fields
|
|
1404
1405
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1435,8 +1436,8 @@ module Google
|
|
|
1435
1436
|
# subscriptions. Existing subscriptions to this topic are not deleted, but their
|
|
1436
1437
|
# `topic` field is set to `_deleted-topic_`.
|
|
1437
1438
|
# @param [String] topic
|
|
1438
|
-
# Required. Name of the topic to delete. Format is `projects/`
|
|
1439
|
-
# topic``.
|
|
1439
|
+
# Required. Identifier. Name of the topic to delete. Format is `projects/`
|
|
1440
|
+
# project`/topics/`topic``.
|
|
1440
1441
|
# @param [String] fields
|
|
1441
1442
|
# Selector specifying which fields to include in a partial response.
|
|
1442
1443
|
# @param [String] quota_user
|
|
@@ -1466,8 +1467,8 @@ module Google
|
|
|
1466
1467
|
|
|
1467
1468
|
# Gets the configuration of a topic.
|
|
1468
1469
|
# @param [String] topic
|
|
1469
|
-
# Required. The name of the topic to get. Format is `projects/`
|
|
1470
|
-
# topic``.
|
|
1470
|
+
# Required. Identifier. The name of the topic to get. Format is `projects/`
|
|
1471
|
+
# project`/topics/`topic``.
|
|
1471
1472
|
# @param [String] fields
|
|
1472
1473
|
# Selector specifying which fields to include in a partial response.
|
|
1473
1474
|
# @param [String] quota_user
|
|
@@ -1542,8 +1543,8 @@ module Google
|
|
|
1542
1543
|
|
|
1543
1544
|
# Lists matching topics.
|
|
1544
1545
|
# @param [String] project
|
|
1545
|
-
# Required. The name of the project in which to list topics. Format
|
|
1546
|
-
# `project-id``.
|
|
1546
|
+
# Required. Identifier. The name of the project in which to list topics. Format
|
|
1547
|
+
# is `projects/`project-id``.
|
|
1547
1548
|
# @param [Fixnum] page_size
|
|
1548
1549
|
# Optional. Maximum number of topics to return.
|
|
1549
1550
|
# @param [String] page_token
|
|
@@ -1582,11 +1583,12 @@ module Google
|
|
|
1582
1583
|
# Updates an existing topic by updating the fields specified in the update mask.
|
|
1583
1584
|
# Note that certain properties of a topic are not modifiable.
|
|
1584
1585
|
# @param [String] name
|
|
1585
|
-
# Required. The name of the topic. It must have the format `"
|
|
1586
|
-
# topics/`topic`"`. ``topic`` must start with a letter, and
|
|
1587
|
-
# (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
1588
|
-
# , tildes (`~`), plus (`+`) or percent signs (
|
|
1589
|
-
# 255 characters in length, and it must not start
|
|
1586
|
+
# Required. Identifier. The name of the topic. It must have the format `"
|
|
1587
|
+
# projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, and
|
|
1588
|
+
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
1589
|
+
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
|
|
1590
|
+
# `). It must be between 3 and 255 characters in length, and it must not start
|
|
1591
|
+
# with `"goog"`.
|
|
1590
1592
|
# @param [Google::Apis::PubsubV1::UpdateTopicRequest] update_topic_request_object
|
|
1591
1593
|
# @param [String] fields
|
|
1592
1594
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1620,8 +1622,8 @@ module Google
|
|
|
1620
1622
|
# Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does
|
|
1621
1623
|
# not exist.
|
|
1622
1624
|
# @param [String] topic
|
|
1623
|
-
# Required. The messages in the request will be published on this
|
|
1624
|
-
# is `projects/`project`/topics/`topic``.
|
|
1625
|
+
# Required. Identifier. The messages in the request will be published on this
|
|
1626
|
+
# topic. Format is `projects/`project`/topics/`topic``.
|
|
1625
1627
|
# @param [Google::Apis::PubsubV1::PublishRequest] publish_request_object
|
|
1626
1628
|
# @param [String] fields
|
|
1627
1629
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-pubsub_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.64.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.64.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|