google-apis-pubsub_v1 0.71.0 → 0.73.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df23885f9d7e234b7fb85d413014926c8aeaa63dd0779e02c78f7dfc97269faf
4
- data.tar.gz: 4e3b32eb057fef4b28d8b5f44890f2364a414aff7032e4b860a904ef125b86ed
3
+ metadata.gz: 2a738e898021d2e7274a1de9de152c1dc025eaa012a1ebc08b6debbc63b744e9
4
+ data.tar.gz: 1c8ff101bad4b04f9c6fd3fc686a663b1c9a04736730566d677ea552e5b2e6a1
5
5
  SHA512:
6
- metadata.gz: b219cba4aed0dc7da95152295599e74ae1e48cc7de849e44485ac266ccdebe5239f2d36a60a6dab97e567495da9e9a4006204efb15148537ceedb481a58966fc
7
- data.tar.gz: c6174c3652f172f67acb8eee773f7fb7b8fb5be3d2fc3efeeaf80582aac72828ae359f733c8332202d847d9d7fb6209ac8fe868060c8efd802ab6ddb8e22d758
6
+ metadata.gz: ca2ee8db27267ea3b44036294d9af652b0db946b07a21618daa411af00a59fd46d1a734e60e5d5ce1ed3885f527d382980e664593ebaeae0f7a40e0db2276209
7
+ data.tar.gz: cc9346ed1475dffc5a003907d8adfeb360f7b6ef93b42c6dac6245e94558c89f30173e6c12e1fcaa9e2728555d771f1b85c5f84839caa0337973cc66b8fa284e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.73.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260924
6
+
7
+ ### v0.72.0 (2026-09-27)
8
+
9
+ * Regenerated from discovery document revision 20260915
10
+
3
11
  ### v0.71.0 (2026-09-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20260825
@@ -401,11 +401,9 @@ module Google
401
401
  end
402
402
  end
403
403
 
404
- # Configuration for a Bigtable subscription. The Pub/Sub message will be written
405
- # to a Bigtable row as follows: - row key: subscription name, message ID hash,
406
- # and message ID delimited by `#`. - columns: message bytes written to a single
407
- # column family `data` with an empty-string column qualifier. - cell timestamp:
408
- # the message publish timestamp.
404
+ # Configuration for a Bigtable subscription, which will write a Pub/Sub message
405
+ # to a Bigtable row. See the ColumnFamilyMapping documentation below for details
406
+ # on how the row keys and columns will be written.
409
407
  class BigtableConfig
410
408
  include Google::Apis::Core::Hashable
411
409
 
@@ -416,6 +414,24 @@ module Google
416
414
  # @return [String]
417
415
  attr_accessor :app_profile_id
418
416
 
417
+ # Configuration for writing a Pub/Sub message to a Bigtable row with a user-
418
+ # defined key and writing to column families. If this field is set: - The
419
+ # subscription messages must be formatted as JSON. - The row key mapping is
420
+ # configured in the `key_definition` section. - The top-level fields will be
421
+ # written either: - By default, they will be written to the `data` column family
422
+ # with the field name as the column qualifier. - But if the field name matches
423
+ # an existing column family (except for the default `data` column), then that
424
+ # field will be written to that column family, either as a scalar or its next
425
+ # level nested fields if it's a JSON object. - The cell timestamp will be the
426
+ # message publish timestamp. If the field is not set, the default behavior is to
427
+ # write: - row key: subscription name, message ID hash, and message ID delimited
428
+ # by `#`. - columns: message bytes written to a single column family `data` with
429
+ # an empty-string column qualifier. - cell timestamp: the message publish
430
+ # timestamp.
431
+ # Corresponds to the JSON property `columnFamilyMapping`
432
+ # @return [Google::Apis::PubsubV1::ColumnFamilyMapping]
433
+ attr_accessor :column_family_mapping
434
+
419
435
  # Optional. The service account to use to write to Bigtable. The subscription
420
436
  # creator or updater that specifies this field must have `iam.serviceAccounts.
421
437
  # actAs` permission on the service account. If not specified, the Pub/Sub [
@@ -455,6 +471,7 @@ module Google
455
471
  # Update properties of this object
456
472
  def update!(**args)
457
473
  @app_profile_id = args[:app_profile_id] if args.key?(:app_profile_id)
474
+ @column_family_mapping = args[:column_family_mapping] if args.key?(:column_family_mapping)
458
475
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
459
476
  @state = args[:state] if args.key?(:state)
460
477
  @table = args[:table] if args.key?(:table)
@@ -730,6 +747,48 @@ module Google
730
747
  end
731
748
  end
732
749
 
750
+ # Configuration for writing a Pub/Sub message to a Bigtable row with a user-
751
+ # defined key and writing to column families. If this field is set: - The
752
+ # subscription messages must be formatted as JSON. - The row key mapping is
753
+ # configured in the `key_definition` section. - The top-level fields will be
754
+ # written either: - By default, they will be written to the `data` column family
755
+ # with the field name as the column qualifier. - But if the field name matches
756
+ # an existing column family (except for the default `data` column), then that
757
+ # field will be written to that column family, either as a scalar or its next
758
+ # level nested fields if it's a JSON object. - The cell timestamp will be the
759
+ # message publish timestamp. If the field is not set, the default behavior is to
760
+ # write: - row key: subscription name, message ID hash, and message ID delimited
761
+ # by `#`. - columns: message bytes written to a single column family `data` with
762
+ # an empty-string column qualifier. - cell timestamp: the message publish
763
+ # timestamp.
764
+ class ColumnFamilyMapping
765
+ include Google::Apis::Core::Hashable
766
+
767
+ # Row key definition based on fields from the message.
768
+ # Corresponds to the JSON property `delimitedKey`
769
+ # @return [Google::Apis::PubsubV1::DelimitedKey]
770
+ attr_accessor :delimited_key
771
+
772
+ # Row key definition that reads the input message fields based on the field
773
+ # names of the table's structured row key (`$universe.dns_names.
774
+ # final_documentation_domain`/bigtable/docs/manage-row-key-schemas). Note that
775
+ # if the field is nullable in the structured row key, then it need not be
776
+ # present in the message; null will be used instead.
777
+ # Corresponds to the JSON property `rowKeySchema`
778
+ # @return [Google::Apis::PubsubV1::RowKeySchema]
779
+ attr_accessor :row_key_schema
780
+
781
+ def initialize(**args)
782
+ update!(**args)
783
+ end
784
+
785
+ # Update properties of this object
786
+ def update!(**args)
787
+ @delimited_key = args[:delimited_key] if args.key?(:delimited_key)
788
+ @row_key_schema = args[:row_key_schema] if args.key?(:row_key_schema)
789
+ end
790
+ end
791
+
733
792
  # Request for CommitSchema method.
734
793
  class CommitSchemaRequest
735
794
  include Google::Apis::Core::Hashable
@@ -937,6 +996,36 @@ module Google
937
996
  end
938
997
  end
939
998
 
999
+ # Row key definition based on fields from the message.
1000
+ class DelimitedKey
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ # Optional. Byte sequence used to delimit concatenated fields. Must be specified
1004
+ # if multiple key fields are used. The delimiter must contain at least 1
1005
+ # character and at most 50 characters.
1006
+ # Corresponds to the JSON property `delimiter`
1007
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1008
+ # @return [String]
1009
+ attr_accessor :delimiter
1010
+
1011
+ # Optional. The key fields to construct from the row key. The fields must be
1012
+ # present in the message as a top-level field, i.e. JSON path expressions will
1013
+ # not traverse into nested objects.
1014
+ # Corresponds to the JSON property `keyFields`
1015
+ # @return [Array<String>]
1016
+ attr_accessor :key_fields
1017
+
1018
+ def initialize(**args)
1019
+ update!(**args)
1020
+ end
1021
+
1022
+ # Update properties of this object
1023
+ def update!(**args)
1024
+ @delimiter = args[:delimiter] if args.key?(:delimiter)
1025
+ @key_fields = args[:key_fields] if args.key?(:key_fields)
1026
+ end
1027
+ end
1028
+
940
1029
  # Response for the DetachSubscription method. Reserved for future use.
941
1030
  class DetachSubscriptionResponse
942
1031
  include Google::Apis::Core::Hashable
@@ -1630,6 +1719,37 @@ module Google
1630
1719
  end
1631
1720
  end
1632
1721
 
1722
+ # Telemetry about a `Publish` operation which may or may not be common across
1723
+ # individual RPCs.
1724
+ class PublishOperation
1725
+ include Google::Apis::Core::Hashable
1726
+
1727
+ # Optional. If the publisher client is using publish hedging, provides the
1728
+ # attempt count for the hedge (starting at 1). A value of 0 indicates that the
1729
+ # request was not hedged.
1730
+ # Corresponds to the JSON property `hedgedAttemptCount`
1731
+ # @return [Fixnum]
1732
+ attr_accessor :hedged_attempt_count
1733
+
1734
+ # Optional. Time at which the `publish()` call was initiated in the client
1735
+ # library, meaning across all RPC retry attempts, see [grpc retries](https://
1736
+ # grpc.io/docs/guides/retry/). Provides a sense of the end-to-end publish
1737
+ # duration from the client perspective, across retries.
1738
+ # Corresponds to the JSON property `publishStartTime`
1739
+ # @return [String]
1740
+ attr_accessor :publish_start_time
1741
+
1742
+ def initialize(**args)
1743
+ update!(**args)
1744
+ end
1745
+
1746
+ # Update properties of this object
1747
+ def update!(**args)
1748
+ @hedged_attempt_count = args[:hedged_attempt_count] if args.key?(:hedged_attempt_count)
1749
+ @publish_start_time = args[:publish_start_time] if args.key?(:publish_start_time)
1750
+ end
1751
+ end
1752
+
1633
1753
  # Request for the Publish method.
1634
1754
  class PublishRequest
1635
1755
  include Google::Apis::Core::Hashable
@@ -1670,6 +1790,28 @@ module Google
1670
1790
  end
1671
1791
  end
1672
1792
 
1793
+ # Client-side telemetry about Pub/Sub requests, useful for debugging purposes.
1794
+ # If the client opts to provide this information, it will be passed as a
1795
+ # serialized proto in the `x-goog-pubsub-client-telemetry` header.
1796
+ class PubsubClientTelemetry
1797
+ include Google::Apis::Core::Hashable
1798
+
1799
+ # Telemetry about a `Publish` operation which may or may not be common across
1800
+ # individual RPCs.
1801
+ # Corresponds to the JSON property `publishOperation`
1802
+ # @return [Google::Apis::PubsubV1::PublishOperation]
1803
+ attr_accessor :publish_operation
1804
+
1805
+ def initialize(**args)
1806
+ update!(**args)
1807
+ end
1808
+
1809
+ # Update properties of this object
1810
+ def update!(**args)
1811
+ @publish_operation = args[:publish_operation] if args.key?(:publish_operation)
1812
+ end
1813
+ end
1814
+
1673
1815
  # A message that is published by publishers and consumed by subscribers. The
1674
1816
  # message must contain either a non-empty data field or at least one attribute.
1675
1817
  # Note that client libraries represent this object differently depending on the
@@ -1964,6 +2106,23 @@ module Google
1964
2106
  end
1965
2107
  end
1966
2108
 
2109
+ # Row key definition that reads the input message fields based on the field
2110
+ # names of the table's structured row key (`$universe.dns_names.
2111
+ # final_documentation_domain`/bigtable/docs/manage-row-key-schemas). Note that
2112
+ # if the field is nullable in the structured row key, then it need not be
2113
+ # present in the message; null will be used instead.
2114
+ class RowKeySchema
2115
+ include Google::Apis::Core::Hashable
2116
+
2117
+ def initialize(**args)
2118
+ update!(**args)
2119
+ end
2120
+
2121
+ # Update properties of this object
2122
+ def update!(**args)
2123
+ end
2124
+ end
2125
+
1967
2126
  # A schema resource.
1968
2127
  class Schema
1969
2128
  include Google::Apis::Core::Hashable
@@ -2239,11 +2398,9 @@ module Google
2239
2398
  # @return [Google::Apis::PubsubV1::BigQueryConfig]
2240
2399
  attr_accessor :bigquery_config
2241
2400
 
2242
- # Configuration for a Bigtable subscription. The Pub/Sub message will be written
2243
- # to a Bigtable row as follows: - row key: subscription name, message ID hash,
2244
- # and message ID delimited by `#`. - columns: message bytes written to a single
2245
- # column family `data` with an empty-string column qualifier. - cell timestamp:
2246
- # the message publish timestamp.
2401
+ # Configuration for a Bigtable subscription, which will write a Pub/Sub message
2402
+ # to a Bigtable row. See the ColumnFamilyMapping documentation below for details
2403
+ # on how the row keys and columns will be written.
2247
2404
  # Corresponds to the JSON property `bigtableConfig`
2248
2405
  # @return [Google::Apis::PubsubV1::BigtableConfig]
2249
2406
  attr_accessor :bigtable_config
@@ -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.71.0"
19
+ GEM_VERSION = "0.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260825"
25
+ REVISION = "20260924"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class ColumnFamilyMapping
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class CommitSchemaRequest
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class DelimitedKey
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class DetachSubscriptionResponse
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -268,6 +280,12 @@ module Google
268
280
  include Google::Apis::Core::JsonObjectSupport
269
281
  end
270
282
 
283
+ class PublishOperation
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
271
289
  class PublishRequest
272
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
291
 
@@ -280,6 +298,12 @@ module Google
280
298
  include Google::Apis::Core::JsonObjectSupport
281
299
  end
282
300
 
301
+ class PubsubClientTelemetry
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
283
307
  class Message
284
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
309
 
@@ -328,6 +352,12 @@ module Google
328
352
  include Google::Apis::Core::JsonObjectSupport
329
353
  end
330
354
 
355
+ class RowKeySchema
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
331
361
  class Schema
332
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
363
 
@@ -540,6 +570,8 @@ module Google
540
570
  # @private
541
571
  class Representation < Google::Apis::Core::JsonRepresentation
542
572
  property :app_profile_id, as: 'appProfileId'
573
+ property :column_family_mapping, as: 'columnFamilyMapping', class: Google::Apis::PubsubV1::ColumnFamilyMapping, decorator: Google::Apis::PubsubV1::ColumnFamilyMapping::Representation
574
+
543
575
  property :service_account_email, as: 'serviceAccountEmail'
544
576
  property :state, as: 'state'
545
577
  property :table, as: 'table'
@@ -592,6 +624,16 @@ module Google
592
624
  end
593
625
  end
594
626
 
627
+ class ColumnFamilyMapping
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ property :delimited_key, as: 'delimitedKey', class: Google::Apis::PubsubV1::DelimitedKey, decorator: Google::Apis::PubsubV1::DelimitedKey::Representation
631
+
632
+ property :row_key_schema, as: 'rowKeySchema', class: Google::Apis::PubsubV1::RowKeySchema, decorator: Google::Apis::PubsubV1::RowKeySchema::Representation
633
+
634
+ end
635
+ end
636
+
595
637
  class CommitSchemaRequest
596
638
  # @private
597
639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -645,6 +687,14 @@ module Google
645
687
  end
646
688
  end
647
689
 
690
+ class DelimitedKey
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :delimiter, :base64 => true, as: 'delimiter'
694
+ collection :key_fields, as: 'keyFields'
695
+ end
696
+ end
697
+
648
698
  class DetachSubscriptionResponse
649
699
  # @private
650
700
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -837,6 +887,14 @@ module Google
837
887
  end
838
888
  end
839
889
 
890
+ class PublishOperation
891
+ # @private
892
+ class Representation < Google::Apis::Core::JsonRepresentation
893
+ property :hedged_attempt_count, as: 'hedgedAttemptCount'
894
+ property :publish_start_time, as: 'publishStartTime'
895
+ end
896
+ end
897
+
840
898
  class PublishRequest
841
899
  # @private
842
900
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -852,6 +910,14 @@ module Google
852
910
  end
853
911
  end
854
912
 
913
+ class PubsubClientTelemetry
914
+ # @private
915
+ class Representation < Google::Apis::Core::JsonRepresentation
916
+ property :publish_operation, as: 'publishOperation', class: Google::Apis::PubsubV1::PublishOperation, decorator: Google::Apis::PubsubV1::PublishOperation::Representation
917
+
918
+ end
919
+ end
920
+
855
921
  class Message
856
922
  # @private
857
923
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -924,6 +990,12 @@ module Google
924
990
  end
925
991
  end
926
992
 
993
+ class RowKeySchema
994
+ # @private
995
+ class Representation < Google::Apis::Core::JsonRepresentation
996
+ end
997
+ end
998
+
927
999
  class Schema
928
1000
  # @private
929
1001
  class Representation < Google::Apis::Core::JsonRepresentation
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.71.0
4
+ version: 0.73.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.71.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.73.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: