google-apis-pubsub_v1 0.38.0 → 0.40.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: cc53e8f7177d7b64729ee2706e490a94b8890a280c7b09545b33ceb7973f8217
4
- data.tar.gz: 413c019559d65556122c8d9c864126430b485d38f1242a811d4bac5496adc2b5
3
+ metadata.gz: 589d4e6d2b03f87abd75bf7998f3407cfdf2d07c32bc599ab95cd4f6189d5f80
4
+ data.tar.gz: 3cb7818796a6cbf405dd4bc8260a5187117f73a7095551b7728c4434e2c757b1
5
5
  SHA512:
6
- metadata.gz: 04465e695856d2d7fde0f0f90d9418c65a0eb2a5995652b38ba7d80c0d14e710e706bf06789a8a9c453e4a507698a2d888736bd4021120f32d7c16a345bdaad3
7
- data.tar.gz: f867e709c0af85e9c676459bb7c76ca3610e6a8d37f51d9236a6235cef43306137fdfb4acea631b8cfbcf37feb6eabe3bf117fe6cd0e2bce2615fb767e46bde8
6
+ metadata.gz: 81280fecd7f484a2ee652780eb68fd0b2502010ea5f883b4006f4bdbaf13b7cb0aa448406f18408a98fcf5448cfeea4e8c8b47be7c750c532afa10a4b4a7c9d9
7
+ data.tar.gz: 81b301e000259eebba432b410f6d8f42b48946e95e7ef9b750423a68beae06ddc7ba4c5a7b95f0d4715c9588d5e6ca39c1738c3d6fb50c75163a8d378823cbcd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.40.0 (2023-07-09)
4
+
5
+ * Regenerated from discovery document revision 20230627
6
+
7
+ ### v0.39.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230620
10
+
3
11
  ### v0.38.0 (2023-06-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20230529
@@ -47,8 +47,8 @@ module Google
47
47
  class AvroConfig
48
48
  include Google::Apis::Core::Hashable
49
49
 
50
- # When true, write the subscription name, message_id, publish_time, attributes,
51
- # and ordering_key as additional fields in the output.
50
+ # Optional. When true, write the subscription name, message_id, publish_time,
51
+ # attributes, and ordering_key as additional fields in the output.
52
52
  # Corresponds to the JSON property `writeMetadata`
53
53
  # @return [Boolean]
54
54
  attr_accessor :write_metadata
@@ -68,9 +68,9 @@ module Google
68
68
  class BigQueryConfig
69
69
  include Google::Apis::Core::Hashable
70
70
 
71
- # When true and use_topic_schema is true, any fields that are a part of the
72
- # topic schema that are not part of the BigQuery table schema are dropped when
73
- # writing to BigQuery. Otherwise, the schemas must be kept in sync and any
71
+ # Optional. When true and use_topic_schema is true, any fields that are a part
72
+ # of the topic schema that are not part of the BigQuery table schema are dropped
73
+ # when writing to BigQuery. Otherwise, the schemas must be kept in sync and any
74
74
  # messages with extra fields are not written and remain in the subscription's
75
75
  # backlog.
76
76
  # Corresponds to the JSON property `dropUnknownFields`
@@ -84,24 +84,24 @@ module Google
84
84
  # @return [String]
85
85
  attr_accessor :state
86
86
 
87
- # The name of the table to which to write data, of the form `projectId`.`
88
- # datasetId`.`tableId`
87
+ # Optional. The name of the table to which to write data, of the form `projectId`
88
+ # .`datasetId`.`tableId`
89
89
  # Corresponds to the JSON property `table`
90
90
  # @return [String]
91
91
  attr_accessor :table
92
92
 
93
- # When true, use the topic's schema as the columns to write to in BigQuery, if
94
- # it exists.
93
+ # Optional. When true, use the topic's schema as the columns to write to in
94
+ # BigQuery, if it exists.
95
95
  # Corresponds to the JSON property `useTopicSchema`
96
96
  # @return [Boolean]
97
97
  attr_accessor :use_topic_schema
98
98
  alias_method :use_topic_schema?, :use_topic_schema
99
99
 
100
- # When true, write the subscription name, message_id, publish_time, attributes,
101
- # and ordering_key to additional columns in the table. The subscription name,
102
- # message_id, and publish_time fields are put in their own columns while all
103
- # other message properties (other than data) are written to a JSON object in the
104
- # attributes column.
100
+ # Optional. When true, write the subscription name, message_id, publish_time,
101
+ # attributes, and ordering_key to additional columns in the table. The
102
+ # subscription name, message_id, and publish_time fields are put in their own
103
+ # columns while all other message properties (other than data) are written to a
104
+ # JSON object in the attributes column.
105
105
  # Corresponds to the JSON property `writeMetadata`
106
106
  # @return [Boolean]
107
107
  attr_accessor :write_metadata
@@ -215,28 +215,29 @@ module Google
215
215
  # @return [String]
216
216
  attr_accessor :bucket
217
217
 
218
- # User-provided prefix for Cloud Storage filename. See the [object naming
219
- # requirements](https://cloud.google.com/storage/docs/objects#naming).
218
+ # Optional. User-provided prefix for Cloud Storage filename. See the [object
219
+ # naming requirements](https://cloud.google.com/storage/docs/objects#naming).
220
220
  # Corresponds to the JSON property `filenamePrefix`
221
221
  # @return [String]
222
222
  attr_accessor :filename_prefix
223
223
 
224
- # User-provided suffix for Cloud Storage filename. See the [object naming
225
- # requirements](https://cloud.google.com/storage/docs/objects#naming).
224
+ # Optional. User-provided suffix for Cloud Storage filename. See the [object
225
+ # naming requirements](https://cloud.google.com/storage/docs/objects#naming).
226
+ # Must not end in "/".
226
227
  # Corresponds to the JSON property `filenameSuffix`
227
228
  # @return [String]
228
229
  attr_accessor :filename_suffix
229
230
 
230
- # The maximum bytes that can be written to a Cloud Storage file before a new
231
- # file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in
232
- # cases where messages are larger than the limit.
231
+ # Optional. The maximum bytes that can be written to a Cloud Storage file before
232
+ # a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be
233
+ # exceeded in cases where messages are larger than the limit.
233
234
  # Corresponds to the JSON property `maxBytes`
234
235
  # @return [Fixnum]
235
236
  attr_accessor :max_bytes
236
237
 
237
- # The maximum duration that can elapse before a new Cloud Storage file is
238
- # created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the
239
- # subscription's acknowledgement deadline.
238
+ # Optional. The maximum duration that can elapse before a new Cloud Storage file
239
+ # is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed
240
+ # the subscription's acknowledgement deadline.
240
241
  # Corresponds to the JSON property `maxDuration`
241
242
  # @return [String]
242
243
  attr_accessor :max_duration
@@ -293,8 +294,8 @@ module Google
293
294
  class CreateSnapshotRequest
294
295
  include Google::Apis::Core::Hashable
295
296
 
296
- # See [Creating and managing labels](https://cloud.google.com/pubsub/docs/labels)
297
- # .
297
+ # Optional. See [Creating and managing labels](https://cloud.google.com/pubsub/
298
+ # docs/labels).
298
299
  # Corresponds to the JSON property `labels`
299
300
  # @return [Hash<String,String>]
300
301
  attr_accessor :labels
@@ -328,8 +329,8 @@ module Google
328
329
  class DeadLetterPolicy
329
330
  include Google::Apis::Core::Hashable
330
331
 
331
- # The name of the topic to which dead letter messages should be published.
332
- # Format is `projects/`project`/topics/`topic``.The Cloud Pub/Sub service
332
+ # Optional. The name of the topic to which dead letter messages should be
333
+ # published. Format is `projects/`project`/topics/`topic``.The Pub/Sub service
333
334
  # account associated with the enclosing subscription's parent project (i.e.,
334
335
  # service-`project_number`@gcp-sa-pubsub.iam.gserviceaccount.com) must have
335
336
  # permission to Publish() to this topic. The operation will fail if the topic
@@ -339,13 +340,13 @@ module Google
339
340
  # @return [String]
340
341
  attr_accessor :dead_letter_topic
341
342
 
342
- # The maximum number of delivery attempts for any message. The value must be
343
- # between 5 and 100. The number of delivery attempts is defined as 1 + (the sum
344
- # of number of NACKs and number of times the acknowledgement deadline has been
345
- # exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0
346
- # deadline. Note that client libraries may automatically extend ack_deadlines.
347
- # This field will be honored on a best effort basis. If this parameter is 0, a
348
- # default value of 5 is used.
343
+ # Optional. The maximum number of delivery attempts for any message. The value
344
+ # must be between 5 and 100. The number of delivery attempts is defined as 1 + (
345
+ # the sum of number of NACKs and number of times the acknowledgement deadline
346
+ # has been exceeded for the message). A NACK is any call to ModifyAckDeadline
347
+ # with a 0 deadline. Note that client libraries may automatically extend
348
+ # ack_deadlines. This field will be honored on a best effort basis. If this
349
+ # parameter is 0, a default value of 5 is used.
349
350
  # Corresponds to the JSON property `maxDeliveryAttempts`
350
351
  # @return [Fixnum]
351
352
  attr_accessor :max_delivery_attempts
@@ -395,11 +396,11 @@ module Google
395
396
  class ExpirationPolicy
396
397
  include Google::Apis::Core::Hashable
397
398
 
398
- # Specifies the "time-to-live" duration for an associated resource. The resource
399
- # expires if it is not active for a period of `ttl`. The definition of "activity"
400
- # depends on the type of the associated resource. The minimum and maximum
401
- # allowed values for `ttl` depend on the type of the associated resource, as
402
- # well. If `ttl` is not set, the associated resource never expires.
399
+ # Optional. Specifies the "time-to-live" duration for an associated resource.
400
+ # The resource expires if it is not active for a period of `ttl`. The definition
401
+ # of "activity" depends on the type of the associated resource. The minimum and
402
+ # maximum allowed values for `ttl` depend on the type of the associated resource,
403
+ # as well. If `ttl` is not set, the associated resource never expires.
403
404
  # Corresponds to the JSON property `ttl`
404
405
  # @return [String]
405
406
  attr_accessor :ttl
@@ -524,13 +525,13 @@ module Google
524
525
  class ListSnapshotsResponse
525
526
  include Google::Apis::Core::Hashable
526
527
 
527
- # If not empty, indicates that there may be more snapshot that match the request;
528
- # this value should be passed in a new `ListSnapshotsRequest`.
528
+ # Optional. If not empty, indicates that there may be more snapshot that match
529
+ # the request; this value should be passed in a new `ListSnapshotsRequest`.
529
530
  # Corresponds to the JSON property `nextPageToken`
530
531
  # @return [String]
531
532
  attr_accessor :next_page_token
532
533
 
533
- # The resulting snapshots.
534
+ # Optional. The resulting snapshots.
534
535
  # Corresponds to the JSON property `snapshots`
535
536
  # @return [Array<Google::Apis::PubsubV1::Snapshot>]
536
537
  attr_accessor :snapshots
@@ -550,14 +551,14 @@ module Google
550
551
  class ListSubscriptionsResponse
551
552
  include Google::Apis::Core::Hashable
552
553
 
553
- # If not empty, indicates that there may be more subscriptions that match the
554
- # request; this value should be passed in a new `ListSubscriptionsRequest` to
555
- # get more subscriptions.
554
+ # Optional. If not empty, indicates that there may be more subscriptions that
555
+ # match the request; this value should be passed in a new `
556
+ # ListSubscriptionsRequest` to get more subscriptions.
556
557
  # Corresponds to the JSON property `nextPageToken`
557
558
  # @return [String]
558
559
  attr_accessor :next_page_token
559
560
 
560
- # The subscriptions that match the request.
561
+ # Optional. The subscriptions that match the request.
561
562
  # Corresponds to the JSON property `subscriptions`
562
563
  # @return [Array<Google::Apis::PubsubV1::Subscription>]
563
564
  attr_accessor :subscriptions
@@ -577,14 +578,14 @@ module Google
577
578
  class ListTopicSnapshotsResponse
578
579
  include Google::Apis::Core::Hashable
579
580
 
580
- # If not empty, indicates that there may be more snapshots that match the
581
- # request; this value should be passed in a new `ListTopicSnapshotsRequest` to
582
- # get more snapshots.
581
+ # Optional. If not empty, indicates that there may be more snapshots that match
582
+ # the request; this value should be passed in a new `ListTopicSnapshotsRequest`
583
+ # to get more snapshots.
583
584
  # Corresponds to the JSON property `nextPageToken`
584
585
  # @return [String]
585
586
  attr_accessor :next_page_token
586
587
 
587
- # The names of the snapshots that match the request.
588
+ # Optional. The names of the snapshots that match the request.
588
589
  # Corresponds to the JSON property `snapshots`
589
590
  # @return [Array<String>]
590
591
  attr_accessor :snapshots
@@ -604,14 +605,15 @@ module Google
604
605
  class ListTopicSubscriptionsResponse
605
606
  include Google::Apis::Core::Hashable
606
607
 
607
- # If not empty, indicates that there may be more subscriptions that match the
608
- # request; this value should be passed in a new `ListTopicSubscriptionsRequest`
609
- # to get more subscriptions.
608
+ # Optional. If not empty, indicates that there may be more subscriptions that
609
+ # match the request; this value should be passed in a new `
610
+ # ListTopicSubscriptionsRequest` to get more subscriptions.
610
611
  # Corresponds to the JSON property `nextPageToken`
611
612
  # @return [String]
612
613
  attr_accessor :next_page_token
613
614
 
614
- # The names of subscriptions attached to the topic specified in the request.
615
+ # Optional. The names of subscriptions attached to the topic specified in the
616
+ # request.
615
617
  # Corresponds to the JSON property `subscriptions`
616
618
  # @return [Array<String>]
617
619
  attr_accessor :subscriptions
@@ -631,13 +633,13 @@ module Google
631
633
  class ListTopicsResponse
632
634
  include Google::Apis::Core::Hashable
633
635
 
634
- # If not empty, indicates that there may be more topics that match the request;
635
- # this value should be passed in a new `ListTopicsRequest`.
636
+ # Optional. If not empty, indicates that there may be more topics that match the
637
+ # request; this value should be passed in a new `ListTopicsRequest`.
636
638
  # Corresponds to the JSON property `nextPageToken`
637
639
  # @return [String]
638
640
  attr_accessor :next_page_token
639
641
 
640
- # The resulting topics.
642
+ # Optional. The resulting topics.
641
643
  # Corresponds to the JSON property `topics`
642
644
  # @return [Array<Google::Apis::PubsubV1::Topic>]
643
645
  attr_accessor :topics
@@ -657,11 +659,11 @@ module Google
657
659
  class MessageStoragePolicy
658
660
  include Google::Apis::Core::Hashable
659
661
 
660
- # A list of IDs of GCP regions where messages that are published to the topic
661
- # may be persisted in storage. Messages published by publishers running in non-
662
- # allowed GCP regions (or running outside of GCP altogether) will be routed for
663
- # storage in one of the allowed regions. An empty list means that no regions are
664
- # allowed, and is not a valid configuration.
662
+ # Optional. A list of IDs of GCP regions where messages that are published to
663
+ # the topic may be persisted in storage. Messages published by publishers
664
+ # running in non-allowed GCP regions (or running outside of GCP altogether) will
665
+ # be routed for storage in one of the allowed regions. An empty list means that
666
+ # no regions are allowed, and is not a valid configuration.
665
667
  # Corresponds to the JSON property `allowedPersistenceRegions`
666
668
  # @return [Array<String>]
667
669
  attr_accessor :allowed_persistence_regions
@@ -731,9 +733,9 @@ module Google
731
733
  class NoWrapper
732
734
  include Google::Apis::Core::Hashable
733
735
 
734
- # When true, writes the Pub/Sub message metadata to `x-goog-pubsub-:` headers of
735
- # the HTTP request. Writes the Pub/Sub message attributes to `:` headers of the
736
- # HTTP request.
736
+ # Optional. When true, writes the Pub/Sub message metadata to `x-goog-pubsub-:`
737
+ # headers of the HTTP request. Writes the Pub/Sub message attributes to `:`
738
+ # headers of the HTTP request.
737
739
  # Corresponds to the JSON property `writeMetadata`
738
740
  # @return [Boolean]
739
741
  attr_accessor :write_metadata
@@ -754,20 +756,20 @@ module Google
754
756
  class OidcToken
755
757
  include Google::Apis::Core::Hashable
756
758
 
757
- # Audience to be used when generating OIDC token. The audience claim identifies
758
- # the recipients that the JWT is intended for. The audience value is a single
759
- # case-sensitive string. Having multiple values (array) for the audience field
760
- # is not supported. More info about the OIDC JWT token audience here: https://
761
- # tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push
762
- # endpoint URL will be used.
759
+ # Optional. Audience to be used when generating OIDC token. The audience claim
760
+ # identifies the recipients that the JWT is intended for. The audience value is
761
+ # a single case-sensitive string. Having multiple values (array) for the
762
+ # audience field is not supported. More info about the OIDC JWT token audience
763
+ # here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified,
764
+ # the Push endpoint URL will be used.
763
765
  # Corresponds to the JSON property `audience`
764
766
  # @return [String]
765
767
  attr_accessor :audience
766
768
 
767
- # [Service account email](https://cloud.google.com/iam/docs/service-accounts)
768
- # used for generating the OIDC token. For more information on setting up
769
- # authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/
770
- # push).
769
+ # Optional. [Service account email](https://cloud.google.com/iam/docs/service-
770
+ # accounts) used for generating the OIDC token. For more information on setting
771
+ # up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/
772
+ # docs/push).
771
773
  # Corresponds to the JSON property `serviceAccountEmail`
772
774
  # @return [String]
773
775
  attr_accessor :service_account_email
@@ -895,8 +897,9 @@ module Google
895
897
  class PublishResponse
896
898
  include Google::Apis::Core::Hashable
897
899
 
898
- # The server-assigned ID of each published message, in the same order as the
899
- # messages in the request. IDs are guaranteed to be unique within the topic.
900
+ # Optional. The server-assigned ID of each published message, in the same order
901
+ # as the messages in the request. IDs are guaranteed to be unique within the
902
+ # topic.
900
903
  # Corresponds to the JSON property `messageIds`
901
904
  # @return [Array<String>]
902
905
  attr_accessor :message_ids
@@ -921,30 +924,31 @@ module Google
921
924
  class Message
922
925
  include Google::Apis::Core::Hashable
923
926
 
924
- # Attributes for this message. If this field is empty, the message must contain
925
- # non-empty data. This can be used to filter messages on the subscription.
927
+ # Optional. Attributes for this message. If this field is empty, the message
928
+ # must contain non-empty data. This can be used to filter messages on the
929
+ # subscription.
926
930
  # Corresponds to the JSON property `attributes`
927
931
  # @return [Hash<String,String>]
928
932
  attr_accessor :attributes
929
933
 
930
- # The message data field. If this field is empty, the message must contain at
931
- # least one attribute.
934
+ # Optional. The message data field. If this field is empty, the message must
935
+ # contain at least one attribute.
932
936
  # Corresponds to the JSON property `data`
933
937
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
934
938
  # @return [String]
935
939
  attr_accessor :data
936
940
 
937
- # ID of this message, assigned by the server when the message is published.
938
- # Guaranteed to be unique within the topic. This value may be read by a
939
- # subscriber that receives a `PubsubMessage` via a `Pull` call or a push
941
+ # Optional. ID of this message, assigned by the server when the message is
942
+ # published. Guaranteed to be unique within the topic. This value may be read by
943
+ # a subscriber that receives a `PubsubMessage` via a `Pull` call or a push
940
944
  # delivery. It must not be populated by the publisher in a `Publish` call.
941
945
  # Corresponds to the JSON property `messageId`
942
946
  # @return [String]
943
947
  attr_accessor :message_id
944
948
 
945
- # If non-empty, identifies related messages for which publish order should be
946
- # respected. If a `Subscription` has `enable_message_ordering` set to `true`,
947
- # messages published with the same non-empty `ordering_key` value will be
949
+ # Optional. If non-empty, identifies related messages for which publish order
950
+ # should be respected. If a `Subscription` has `enable_message_ordering` set to `
951
+ # true`, messages published with the same non-empty `ordering_key` value will be
948
952
  # delivered to subscribers in the order in which they are received by the Pub/
949
953
  # Sub system. All `PubsubMessage`s published in a given `PublishRequest` must
950
954
  # specify the same `ordering_key` value. For more information, see [ordering
@@ -953,9 +957,9 @@ module Google
953
957
  # @return [String]
954
958
  attr_accessor :ordering_key
955
959
 
956
- # The time at which the message was published, populated by the server when it
957
- # receives the `Publish` call. It must not be populated by the publisher in a `
958
- # Publish` call.
960
+ # Optional. The time at which the message was published, populated by the server
961
+ # when it receives the `Publish` call. It must not be populated by the publisher
962
+ # in a `Publish` call.
959
963
  # Corresponds to the JSON property `publishTime`
960
964
  # @return [String]
961
965
  attr_accessor :publish_time
@@ -1027,11 +1031,11 @@ module Google
1027
1031
  class PullResponse
1028
1032
  include Google::Apis::Core::Hashable
1029
1033
 
1030
- # Received Pub/Sub messages. The list will be empty if there are no more
1031
- # messages available in the backlog, or if no messages could be returned before
1032
- # the request timeout. For JSON, the response can be entirely empty. The Pub/Sub
1033
- # system may return fewer than the `maxMessages` requested even if there are
1034
- # more messages available in the backlog.
1034
+ # Optional. Received Pub/Sub messages. The list will be empty if there are no
1035
+ # more messages available in the backlog, or if no messages could be returned
1036
+ # before the request timeout. For JSON, the response can be entirely empty. The
1037
+ # Pub/Sub system may return fewer than the `maxMessages` requested even if there
1038
+ # are more messages available in the backlog.
1035
1039
  # Corresponds to the JSON property `receivedMessages`
1036
1040
  # @return [Array<Google::Apis::PubsubV1::ReceivedMessage>]
1037
1041
  attr_accessor :received_messages
@@ -1050,19 +1054,19 @@ module Google
1050
1054
  class PushConfig
1051
1055
  include Google::Apis::Core::Hashable
1052
1056
 
1053
- # Endpoint configuration attributes that can be used to control different
1054
- # aspects of the message delivery. The only currently supported attribute is `x-
1055
- # goog-version`, which you can use to change the format of the pushed message.
1056
- # This attribute indicates the version of the data expected by the endpoint.
1057
- # This controls the shape of the pushed message (i.e., its fields and metadata).
1058
- # If not present during the `CreateSubscription` call, it will default to the
1059
- # version of the Pub/Sub API used to make such call. If not present in a `
1060
- # ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls
1061
- # will always return a valid version, even if the subscription was created
1062
- # without this attribute. The only supported values for the `x-goog-version`
1063
- # attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/
1064
- # Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub
1065
- # API. For example: `attributes ` "x-goog-version": "v1" ``
1057
+ # Optional. Endpoint configuration attributes that can be used to control
1058
+ # different aspects of the message delivery. The only currently supported
1059
+ # attribute is `x-goog-version`, which you can use to change the format of the
1060
+ # pushed message. This attribute indicates the version of the data expected by
1061
+ # the endpoint. This controls the shape of the pushed message (i.e., its fields
1062
+ # and metadata). If not present during the `CreateSubscription` call, it will
1063
+ # default to the version of the Pub/Sub API used to make such call. If not
1064
+ # present in a `ModifyPushConfig` call, its value will not be changed. `
1065
+ # GetSubscription` calls will always return a valid version, even if the
1066
+ # subscription was created without this attribute. The only supported values for
1067
+ # the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined
1068
+ # in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined
1069
+ # in the v1 Pub/Sub API. For example: `attributes ` "x-goog-version": "v1" ``
1066
1070
  # Corresponds to the JSON property `attributes`
1067
1071
  # @return [Hash<String,String>]
1068
1072
  attr_accessor :attributes
@@ -1085,8 +1089,8 @@ module Google
1085
1089
  # @return [Google::Apis::PubsubV1::PubsubWrapper]
1086
1090
  attr_accessor :pubsub_wrapper
1087
1091
 
1088
- # A URL locating the endpoint to which messages should be pushed. For example, a
1089
- # Webhook endpoint might use `https://example.com/push`.
1092
+ # Optional. A URL locating the endpoint to which messages should be pushed. For
1093
+ # example, a Webhook endpoint might use `https://example.com/push`.
1090
1094
  # Corresponds to the JSON property `pushEndpoint`
1091
1095
  # @return [String]
1092
1096
  attr_accessor :push_endpoint
@@ -1109,16 +1113,16 @@ module Google
1109
1113
  class ReceivedMessage
1110
1114
  include Google::Apis::Core::Hashable
1111
1115
 
1112
- # This ID can be used to acknowledge the received message.
1116
+ # Optional. This ID can be used to acknowledge the received message.
1113
1117
  # Corresponds to the JSON property `ackId`
1114
1118
  # @return [String]
1115
1119
  attr_accessor :ack_id
1116
1120
 
1117
- # The approximate number of times that Cloud Pub/Sub has attempted to deliver
1118
- # the associated message to a subscriber. More precisely, this is 1 + (number of
1119
- # NACKs) + (number of ack_deadline exceeds) for this message. A NACK is any call
1120
- # to ModifyAckDeadline with a 0 deadline. An ack_deadline exceeds event is
1121
- # whenever a message is not acknowledged within ack_deadline. Note that
1121
+ # Optional. The approximate number of times that Pub/Sub has attempted to
1122
+ # deliver the associated message to a subscriber. More precisely, this is 1 + (
1123
+ # number of NACKs) + (number of ack_deadline exceeds) for this message. A NACK
1124
+ # is any call to ModifyAckDeadline with a 0 deadline. An ack_deadline exceeds
1125
+ # event is whenever a message is not acknowledged within ack_deadline. Note that
1122
1126
  # ack_deadline is initially Subscription.ackDeadlineSeconds, but may get
1123
1127
  # extended automatically by the client library. Upon the first delivery of a
1124
1128
  # given message, `delivery_attempt` will have a value of 1. The value is
@@ -1151,24 +1155,24 @@ module Google
1151
1155
  end
1152
1156
  end
1153
1157
 
1154
- # A policy that specifies how Cloud Pub/Sub retries message delivery. Retry
1155
- # delay will be exponential based on provided minimum and maximum backoffs.
1156
- # https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be
1157
- # triggered on NACKs or acknowledgement deadline exceeded events for a given
1158
- # message. Retry Policy is implemented on a best effort basis. At times, the
1159
- # delay between consecutive deliveries may not match the configuration. That is,
1160
- # delay can be more or less than configured backoff.
1158
+ # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
1159
+ # be exponential based on provided minimum and maximum backoffs. https://en.
1160
+ # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
1161
+ # or acknowledgement deadline exceeded events for a given message. Retry Policy
1162
+ # is implemented on a best effort basis. At times, the delay between consecutive
1163
+ # deliveries may not match the configuration. That is, delay can be more or less
1164
+ # than configured backoff.
1161
1165
  class RetryPolicy
1162
1166
  include Google::Apis::Core::Hashable
1163
1167
 
1164
- # The maximum delay between consecutive deliveries of a given message. Value
1165
- # should be between 0 and 600 seconds. Defaults to 600 seconds.
1168
+ # Optional. The maximum delay between consecutive deliveries of a given message.
1169
+ # Value should be between 0 and 600 seconds. Defaults to 600 seconds.
1166
1170
  # Corresponds to the JSON property `maximumBackoff`
1167
1171
  # @return [String]
1168
1172
  attr_accessor :maximum_backoff
1169
1173
 
1170
- # The minimum delay between consecutive deliveries of a given message. Value
1171
- # should be between 0 and 600 seconds. Defaults to 10 seconds.
1174
+ # Optional. The minimum delay between consecutive deliveries of a given message.
1175
+ # Value should be between 0 and 600 seconds. Defaults to 10 seconds.
1172
1176
  # Corresponds to the JSON property `minimumBackoff`
1173
1177
  # @return [String]
1174
1178
  attr_accessor :minimum_backoff
@@ -1253,21 +1257,21 @@ module Google
1253
1257
  class SchemaSettings
1254
1258
  include Google::Apis::Core::Hashable
1255
1259
 
1256
- # The encoding of messages validated against `schema`.
1260
+ # Optional. The encoding of messages validated against `schema`.
1257
1261
  # Corresponds to the JSON property `encoding`
1258
1262
  # @return [String]
1259
1263
  attr_accessor :encoding
1260
1264
 
1261
- # The minimum (inclusive) revision allowed for validating messages. If empty or
1262
- # not present, allow any revision to be validated against last_revision or any
1263
- # revision created before.
1265
+ # Optional. The minimum (inclusive) revision allowed for validating messages. If
1266
+ # empty or not present, allow any revision to be validated against last_revision
1267
+ # or any revision created before.
1264
1268
  # Corresponds to the JSON property `firstRevisionId`
1265
1269
  # @return [String]
1266
1270
  attr_accessor :first_revision_id
1267
1271
 
1268
- # The maximum (inclusive) revision allowed for validating messages. If empty or
1269
- # not present, allow any revision to be validated against first_revision or any
1270
- # revision created after.
1272
+ # Optional. The maximum (inclusive) revision allowed for validating messages. If
1273
+ # empty or not present, allow any revision to be validated against
1274
+ # first_revision or any revision created after.
1271
1275
  # Corresponds to the JSON property `lastRevisionId`
1272
1276
  # @return [String]
1273
1277
  attr_accessor :last_revision_id
@@ -1296,21 +1300,23 @@ module Google
1296
1300
  class SeekRequest
1297
1301
  include Google::Apis::Core::Hashable
1298
1302
 
1299
- # The snapshot to seek to. The snapshot's topic must be the same as that of the
1300
- # provided subscription. Format is `projects/`project`/snapshots/`snap``.
1303
+ # Optional. The snapshot to seek to. The snapshot's topic must be the same as
1304
+ # that of the provided subscription. Format is `projects/`project`/snapshots/`
1305
+ # snap``.
1301
1306
  # Corresponds to the JSON property `snapshot`
1302
1307
  # @return [String]
1303
1308
  attr_accessor :snapshot
1304
1309
 
1305
- # The time to seek to. Messages retained in the subscription that were published
1306
- # before this time are marked as acknowledged, and messages retained in the
1307
- # subscription that were published after this time are marked as unacknowledged.
1308
- # Note that this operation affects only those messages retained in the
1309
- # subscription (configured by the combination of `message_retention_duration`
1310
- # and `retain_acked_messages`). For example, if `time` corresponds to a point
1311
- # before the message retention window (or to a point before the system's notion
1312
- # of the subscription creation time), only retained messages will be marked as
1313
- # unacknowledged, and already-expunged messages will not be restored.
1310
+ # Optional. The time to seek to. Messages retained in the subscription that were
1311
+ # published before this time are marked as acknowledged, and messages retained
1312
+ # in the subscription that were published after this time are marked as
1313
+ # unacknowledged. Note that this operation affects only those messages retained
1314
+ # in the subscription (configured by the combination of `
1315
+ # message_retention_duration` and `retain_acked_messages`). For example, if `
1316
+ # time` corresponds to a point before the message retention window (or to a
1317
+ # point before the system's notion of the subscription creation time), only
1318
+ # retained messages will be marked as unacknowledged, and already-expunged
1319
+ # messages will not be restored.
1314
1320
  # Corresponds to the JSON property `time`
1315
1321
  # @return [String]
1316
1322
  attr_accessor :time
@@ -1391,11 +1397,11 @@ module Google
1391
1397
  class Snapshot
1392
1398
  include Google::Apis::Core::Hashable
1393
1399
 
1394
- # The snapshot is guaranteed to exist up until this time. A newly-created
1395
- # snapshot expires no later than 7 days from the time of its creation. Its exact
1396
- # lifetime is determined at creation by the existing backlog in the source
1397
- # subscription. Specifically, the lifetime of the snapshot is `7 days - (age of
1398
- # oldest unacked message in the subscription)`. For example, consider a
1400
+ # Optional. The snapshot is guaranteed to exist up until this time. A newly-
1401
+ # created snapshot expires no later than 7 days from the time of its creation.
1402
+ # Its exact lifetime is determined at creation by the existing backlog in the
1403
+ # source subscription. Specifically, the lifetime of the snapshot is `7 days - (
1404
+ # age of oldest unacked message in the subscription)`. For example, consider a
1399
1405
  # subscription whose oldest unacked message is 3 days old. If a snapshot is
1400
1406
  # created from this subscription, the snapshot -- which will always capture this
1401
1407
  # 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The
@@ -1405,18 +1411,18 @@ module Google
1405
1411
  # @return [String]
1406
1412
  attr_accessor :expire_time
1407
1413
 
1408
- # See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/
1409
- # labels).
1414
+ # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/
1415
+ # docs/labels).
1410
1416
  # Corresponds to the JSON property `labels`
1411
1417
  # @return [Hash<String,String>]
1412
1418
  attr_accessor :labels
1413
1419
 
1414
- # The name of the snapshot.
1420
+ # Optional. The name of the snapshot.
1415
1421
  # Corresponds to the JSON property `name`
1416
1422
  # @return [String]
1417
1423
  attr_accessor :name
1418
1424
 
1419
- # The name of the topic from which this snapshot is retaining messages.
1425
+ # Optional. The name of the topic from which this snapshot is retaining messages.
1420
1426
  # Corresponds to the JSON property `topic`
1421
1427
  # @return [String]
1422
1428
  attr_accessor :topic
@@ -1440,14 +1446,14 @@ module Google
1440
1446
  class Subscription
1441
1447
  include Google::Apis::Core::Hashable
1442
1448
 
1443
- # The approximate amount of time (on a best-effort basis) Pub/Sub waits for the
1444
- # subscriber to acknowledge receipt before resending the message. In the
1445
- # interval after the message is delivered and before it is acknowledged, it is
1446
- # considered to be _outstanding_. During that time period, the message will not
1447
- # be redelivered (on a best-effort basis). For pull subscriptions, this value is
1448
- # used as the initial value for the ack deadline. To override this value for a
1449
- # given message, call `ModifyAckDeadline` with the corresponding `ack_id` if
1450
- # using non-streaming pull or send the `ack_id` in a `
1449
+ # Optional. The approximate amount of time (on a best-effort basis) Pub/Sub
1450
+ # waits for the subscriber to acknowledge receipt before resending the message.
1451
+ # In the interval after the message is delivered and before it is acknowledged,
1452
+ # it is considered to be _outstanding_. During that time period, the message
1453
+ # will not be redelivered (on a best-effort basis). For pull subscriptions, this
1454
+ # value is used as the initial value for the ack deadline. To override this
1455
+ # value for a given message, call `ModifyAckDeadline` with the corresponding `
1456
+ # ack_id` if using non-streaming pull or send the `ack_id` in a `
1451
1457
  # StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom
1452
1458
  # deadline you can specify is 10 seconds. The maximum custom deadline you can
1453
1459
  # specify is 600 seconds (10 minutes). If this parameter is 0, a default value
@@ -1477,32 +1483,33 @@ module Google
1477
1483
  # @return [Google::Apis::PubsubV1::DeadLetterPolicy]
1478
1484
  attr_accessor :dead_letter_policy
1479
1485
 
1480
- # Indicates whether the subscription is detached from its topic. Detached
1481
- # subscriptions don't receive messages from their topic and don't retain any
1482
- # backlog. `Pull` and `StreamingPull` requests will return FAILED_PRECONDITION.
1483
- # If the subscription is a push subscription, pushes to the endpoint will not be
1484
- # made.
1486
+ # Optional. Indicates whether the subscription is detached from its topic.
1487
+ # Detached subscriptions don't receive messages from their topic and don't
1488
+ # retain any backlog. `Pull` and `StreamingPull` requests will return
1489
+ # FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the
1490
+ # endpoint will not be made.
1485
1491
  # Corresponds to the JSON property `detached`
1486
1492
  # @return [Boolean]
1487
1493
  attr_accessor :detached
1488
1494
  alias_method :detached?, :detached
1489
1495
 
1490
- # If true, Pub/Sub provides the following guarantees for the delivery of a
1491
- # message with a given value of `message_id` on this subscription: * The message
1492
- # sent to a subscriber is guaranteed not to be resent before the message's
1493
- # acknowledgement deadline expires. * An acknowledged message will not be resent
1494
- # to a subscriber. Note that subscribers may still receive multiple copies of a
1495
- # message when `enable_exactly_once_delivery` is true if the message was
1496
- # published multiple times by a publisher client. These copies are considered
1497
- # distinct by Pub/Sub and have distinct `message_id` values.
1496
+ # Optional. If true, Pub/Sub provides the following guarantees for the delivery
1497
+ # of a message with a given value of `message_id` on this subscription: * The
1498
+ # message sent to a subscriber is guaranteed not to be resent before the message'
1499
+ # s acknowledgement deadline expires. * An acknowledged message will not be
1500
+ # resent to a subscriber. Note that subscribers may still receive multiple
1501
+ # copies of a message when `enable_exactly_once_delivery` is true if the message
1502
+ # was published multiple times by a publisher client. These copies are
1503
+ # considered distinct by Pub/Sub and have distinct `message_id` values.
1498
1504
  # Corresponds to the JSON property `enableExactlyOnceDelivery`
1499
1505
  # @return [Boolean]
1500
1506
  attr_accessor :enable_exactly_once_delivery
1501
1507
  alias_method :enable_exactly_once_delivery?, :enable_exactly_once_delivery
1502
1508
 
1503
- # If true, messages published with the same `ordering_key` in `PubsubMessage`
1504
- # will be delivered to the subscribers in the order in which they are received
1505
- # by the Pub/Sub system. Otherwise, they may be delivered in any order.
1509
+ # Optional. If true, messages published with the same `ordering_key` in `
1510
+ # PubsubMessage` will be delivered to the subscribers in the order in which they
1511
+ # are received by the Pub/Sub system. Otherwise, they may be delivered in any
1512
+ # order.
1506
1513
  # Corresponds to the JSON property `enableMessageOrdering`
1507
1514
  # @return [Boolean]
1508
1515
  attr_accessor :enable_message_ordering
@@ -1514,24 +1521,24 @@ module Google
1514
1521
  # @return [Google::Apis::PubsubV1::ExpirationPolicy]
1515
1522
  attr_accessor :expiration_policy
1516
1523
 
1517
- # An expression written in the Pub/Sub [filter language](https://cloud.google.
1518
- # com/pubsub/docs/filtering). If non-empty, then only `PubsubMessage`s whose `
1519
- # attributes` field matches the filter are delivered on this subscription. If
1520
- # empty, then no messages are filtered out.
1524
+ # Optional. An expression written in the Pub/Sub [filter language](https://cloud.
1525
+ # google.com/pubsub/docs/filtering). If non-empty, then only `PubsubMessage`s
1526
+ # whose `attributes` field matches the filter are delivered on this subscription.
1527
+ # If empty, then no messages are filtered out.
1521
1528
  # Corresponds to the JSON property `filter`
1522
1529
  # @return [String]
1523
1530
  attr_accessor :filter
1524
1531
 
1525
- # See [Creating and managing labels](https://cloud.google.com/pubsub/docs/labels)
1526
- # .
1532
+ # Optional. See [Creating and managing labels](https://cloud.google.com/pubsub/
1533
+ # docs/labels).
1527
1534
  # Corresponds to the JSON property `labels`
1528
1535
  # @return [Hash<String,String>]
1529
1536
  attr_accessor :labels
1530
1537
 
1531
- # How long to retain unacknowledged messages in the subscription's backlog, from
1532
- # the moment a message is published. If `retain_acked_messages` is true, then
1533
- # this also configures the retention of acknowledged messages, and thus
1534
- # configures how far back in time a `Seek` can be done. Defaults to 7 days.
1538
+ # Optional. How long to retain unacknowledged messages in the subscription's
1539
+ # backlog, from the moment a message is published. If `retain_acked_messages` is
1540
+ # true, then this also configures the retention of acknowledged messages, and
1541
+ # thus configures how far back in time a `Seek` can be done. Defaults to 7 days.
1535
1542
  # Cannot be more than 7 days or less than 10 minutes.
1536
1543
  # Corresponds to the JSON property `messageRetentionDuration`
1537
1544
  # @return [String]
@@ -1552,24 +1559,24 @@ module Google
1552
1559
  # @return [Google::Apis::PubsubV1::PushConfig]
1553
1560
  attr_accessor :push_config
1554
1561
 
1555
- # Indicates whether to retain acknowledged messages. If true, then messages are
1556
- # not expunged from the subscription's backlog, even if they are acknowledged,
1557
- # until they fall out of the `message_retention_duration` window. This must be
1558
- # true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/
1559
- # pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-
1560
- # acknowledged messages.
1562
+ # Optional. Indicates whether to retain acknowledged messages. If true, then
1563
+ # messages are not expunged from the subscription's backlog, even if they are
1564
+ # acknowledged, until they fall out of the `message_retention_duration` window.
1565
+ # This must be true if you would like to [`Seek` to a timestamp] (https://cloud.
1566
+ # google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay
1567
+ # previously-acknowledged messages.
1561
1568
  # Corresponds to the JSON property `retainAckedMessages`
1562
1569
  # @return [Boolean]
1563
1570
  attr_accessor :retain_acked_messages
1564
1571
  alias_method :retain_acked_messages?, :retain_acked_messages
1565
1572
 
1566
- # A policy that specifies how Cloud Pub/Sub retries message delivery. Retry
1567
- # delay will be exponential based on provided minimum and maximum backoffs.
1568
- # https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be
1569
- # triggered on NACKs or acknowledgement deadline exceeded events for a given
1570
- # message. Retry Policy is implemented on a best effort basis. At times, the
1571
- # delay between consecutive deliveries may not match the configuration. That is,
1572
- # delay can be more or less than configured backoff.
1573
+ # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
1574
+ # be exponential based on provided minimum and maximum backoffs. https://en.
1575
+ # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
1576
+ # or acknowledgement deadline exceeded events for a given message. Retry Policy
1577
+ # is implemented on a best effort basis. At times, the delay between consecutive
1578
+ # deliveries may not match the configuration. That is, delay can be more or less
1579
+ # than configured backoff.
1573
1580
  # Corresponds to the JSON property `retryPolicy`
1574
1581
  # @return [Google::Apis::PubsubV1::RetryPolicy]
1575
1582
  attr_accessor :retry_policy
@@ -1682,27 +1689,27 @@ module Google
1682
1689
  class Topic
1683
1690
  include Google::Apis::Core::Hashable
1684
1691
 
1685
- # The resource name of the Cloud KMS CryptoKey to be used to protect access to
1686
- # messages published on this topic. The expected format is `projects/*/locations/
1687
- # */keyRings/*/cryptoKeys/*`.
1692
+ # Optional. The resource name of the Cloud KMS CryptoKey to be used to protect
1693
+ # access to messages published on this topic. The expected format is `projects/*/
1694
+ # locations/*/keyRings/*/cryptoKeys/*`.
1688
1695
  # Corresponds to the JSON property `kmsKeyName`
1689
1696
  # @return [String]
1690
1697
  attr_accessor :kms_key_name
1691
1698
 
1692
- # See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/
1693
- # labels).
1699
+ # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/
1700
+ # docs/labels).
1694
1701
  # Corresponds to the JSON property `labels`
1695
1702
  # @return [Hash<String,String>]
1696
1703
  attr_accessor :labels
1697
1704
 
1698
- # Indicates the minimum duration to retain a message after it is published to
1699
- # the topic. If this field is set, messages published to the topic in the last `
1700
- # message_retention_duration` are always available to subscribers. For instance,
1701
- # it allows any attached subscription to [seek to a timestamp](https://cloud.
1702
- # google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `
1703
- # message_retention_duration` in the past. If this field is not set, message
1704
- # retention is controlled by settings on individual subscriptions. Cannot be
1705
- # more than 31 days or less than 10 minutes.
1705
+ # Optional. Indicates the minimum duration to retain a message after it is
1706
+ # published to the topic. If this field is set, messages published to the topic
1707
+ # in the last `message_retention_duration` are always available to subscribers.
1708
+ # For instance, it allows any attached subscription to [seek to a timestamp](
1709
+ # https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is
1710
+ # up to `message_retention_duration` in the past. If this field is not set,
1711
+ # message retention is controlled by settings on individual subscriptions.
1712
+ # Cannot be more than 31 days or less than 10 minutes.
1706
1713
  # Corresponds to the JSON property `messageRetentionDuration`
1707
1714
  # @return [String]
1708
1715
  attr_accessor :message_retention_duration
@@ -1721,8 +1728,8 @@ module Google
1721
1728
  # @return [String]
1722
1729
  attr_accessor :name
1723
1730
 
1724
- # Reserved for future use. This field is set only in responses from the server;
1725
- # it is ignored if it is set in any requests.
1731
+ # Optional. Reserved for future use. This field is set only in responses from
1732
+ # the server; it is ignored if it is set in any requests.
1726
1733
  # Corresponds to the JSON property `satisfiesPzs`
1727
1734
  # @return [Boolean]
1728
1735
  attr_accessor :satisfies_pzs
@@ -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.38.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230529"
25
+ REVISION = "20230627"
26
26
  end
27
27
  end
28
28
  end
@@ -707,11 +707,11 @@ module Google
707
707
  # Required. The name of the project in which to list snapshots. Format is `
708
708
  # projects/`project-id``.
709
709
  # @param [Fixnum] page_size
710
- # Maximum number of snapshots to return.
710
+ # Optional. Maximum number of snapshots to return.
711
711
  # @param [String] page_token
712
- # The value returned by the last `ListSnapshotsResponse`; indicates that this is
713
- # a continuation of a prior `ListSnapshots` call, and that the system should
714
- # return the next page of data.
712
+ # Optional. The value returned by the last `ListSnapshotsResponse`; indicates
713
+ # that this is a continuation of a prior `ListSnapshots` call, and that the
714
+ # system should return the next page of data.
715
715
  # @param [String] fields
716
716
  # Selector specifying which fields to include in a partial response.
717
717
  # @param [String] quota_user
@@ -746,7 +746,7 @@ module Google
746
746
  # message acknowledgments in bulk. That is, you can set the acknowledgment state
747
747
  # of messages in an existing subscription to the state captured by a snapshot.
748
748
  # @param [String] name
749
- # The name of the snapshot.
749
+ # Optional. The name of the snapshot.
750
750
  # @param [Google::Apis::PubsubV1::UpdateSnapshotRequest] update_snapshot_request_object
751
751
  # @param [String] fields
752
752
  # Selector specifying which fields to include in a partial response.
@@ -1087,11 +1087,11 @@ module Google
1087
1087
  # Required. The name of the project in which to list subscriptions. Format is `
1088
1088
  # projects/`project-id``.
1089
1089
  # @param [Fixnum] page_size
1090
- # Maximum number of subscriptions to return.
1090
+ # Optional. Maximum number of subscriptions to return.
1091
1091
  # @param [String] page_token
1092
- # The value returned by the last `ListSubscriptionsResponse`; indicates that
1093
- # this is a continuation of a prior `ListSubscriptions` call, and that the
1094
- # system should return the next page of data.
1092
+ # Optional. The value returned by the last `ListSubscriptionsResponse`;
1093
+ # indicates that this is a continuation of a prior `ListSubscriptions` call, and
1094
+ # that the system should return the next page of data.
1095
1095
  # @param [String] fields
1096
1096
  # Selector specifying which fields to include in a partial response.
1097
1097
  # @param [String] quota_user
@@ -1539,11 +1539,11 @@ module Google
1539
1539
  # Required. The name of the project in which to list topics. Format is `projects/
1540
1540
  # `project-id``.
1541
1541
  # @param [Fixnum] page_size
1542
- # Maximum number of topics to return.
1542
+ # Optional. Maximum number of topics to return.
1543
1543
  # @param [String] page_token
1544
- # The value returned by the last `ListTopicsResponse`; indicates that this is a
1545
- # continuation of a prior `ListTopics` call, and that the system should return
1546
- # the next page of data.
1544
+ # Optional. The value returned by the last `ListTopicsResponse`; indicates that
1545
+ # this is a continuation of a prior `ListTopics` call, and that the system
1546
+ # should return the next page of data.
1547
1547
  # @param [String] fields
1548
1548
  # Selector specifying which fields to include in a partial response.
1549
1549
  # @param [String] quota_user
@@ -1731,11 +1731,11 @@ module Google
1731
1731
  # Required. The name of the topic that snapshots are attached to. Format is `
1732
1732
  # projects/`project`/topics/`topic``.
1733
1733
  # @param [Fixnum] page_size
1734
- # Maximum number of snapshot names to return.
1734
+ # Optional. Maximum number of snapshot names to return.
1735
1735
  # @param [String] page_token
1736
- # The value returned by the last `ListTopicSnapshotsResponse`; indicates that
1737
- # this is a continuation of a prior `ListTopicSnapshots` call, and that the
1738
- # system should return the next page of data.
1736
+ # Optional. The value returned by the last `ListTopicSnapshotsResponse`;
1737
+ # indicates that this is a continuation of a prior `ListTopicSnapshots` call,
1738
+ # and that the system should return the next page of data.
1739
1739
  # @param [String] fields
1740
1740
  # Selector specifying which fields to include in a partial response.
1741
1741
  # @param [String] quota_user
@@ -1770,11 +1770,11 @@ module Google
1770
1770
  # Required. The name of the topic that subscriptions are attached to. Format is `
1771
1771
  # projects/`project`/topics/`topic``.
1772
1772
  # @param [Fixnum] page_size
1773
- # Maximum number of subscription names to return.
1773
+ # Optional. Maximum number of subscription names to return.
1774
1774
  # @param [String] page_token
1775
- # The value returned by the last `ListTopicSubscriptionsResponse`; indicates
1776
- # that this is a continuation of a prior `ListTopicSubscriptions` call, and that
1777
- # the system should return the next page of data.
1775
+ # Optional. The value returned by the last `ListTopicSubscriptionsResponse`;
1776
+ # indicates that this is a continuation of a prior `ListTopicSubscriptions` call,
1777
+ # and that the system should return the next page of data.
1778
1778
  # @param [String] fields
1779
1779
  # Selector specifying which fields to include in a partial response.
1780
1780
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pubsub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.40.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-06-11 00:00:00.000000000 Z
11
+ date: 2023-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.40.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []