google-apis-pubsub_v1 0.72.0 → 0.74.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: dc6b4cd3c8273b08a28e4af4a63fd42f499d478f068cf4481f21036163c608ce
4
- data.tar.gz: eeef8e495437798ab5d257e69c214d889e7585f3cecca22881b2a86ff462ad66
3
+ metadata.gz: 0d5aeaac65c7bf165451eee0c0dd885cea364dd3c5c0bfacbae3acf39222ae27
4
+ data.tar.gz: aa932142c39ad6b362ac234ccd05bbc00ca0b310e36d0fbb457149685651b449
5
5
  SHA512:
6
- metadata.gz: 678a78f2a33c44db3530512ed91bd8803a4f159b4a8472562d0f57f3314a366fd61de8d0ff7d92f51b3c99837d3910bbfe91f3e4cff6157bea02ebdd8305df52
7
- data.tar.gz: 7389c3072aac390ec011eca08021f0f62efaa52842b12d85633213693df8b7ff184eb352c8feb7910c87ab4be5cbc83ad29e6131bdd581449514833b8c3a0eb0
6
+ metadata.gz: ff8c0e0bcb5863372769bb6af611ca6e64b010938fb02d35d14ac720b596b5db76a205b92c9809d696709a2910ca2c76294a39a2816cfda85ea431dcd70764d0
7
+ data.tar.gz: 735f73519db0eb0ee296a8273dc7ddc74b944e33745ef90ae491a4f2d0b89859aa49659f47c1b61298b424ef3f4bcbce61039a76cc5cf1c2f0c77dcacb32515a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.74.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261006
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.73.0 (2026-10-04)
9
+
10
+ * Regenerated from discovery document revision 20260924
11
+
3
12
  ### v0.72.0 (2026-09-27)
4
13
 
5
14
  * Regenerated from discovery document revision 20260915
@@ -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
+ # Required. 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
@@ -2017,6 +2106,23 @@ module Google
2017
2106
  end
2018
2107
  end
2019
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
+
2020
2126
  # A schema resource.
2021
2127
  class Schema
2022
2128
  include Google::Apis::Core::Hashable
@@ -2292,11 +2398,9 @@ module Google
2292
2398
  # @return [Google::Apis::PubsubV1::BigQueryConfig]
2293
2399
  attr_accessor :bigquery_config
2294
2400
 
2295
- # Configuration for a Bigtable subscription. The Pub/Sub message will be written
2296
- # to a Bigtable row as follows: - row key: subscription name, message ID hash,
2297
- # and message ID delimited by `#`. - columns: message bytes written to a single
2298
- # column family `data` with an empty-string column qualifier. - cell timestamp:
2299
- # 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.
2300
2404
  # Corresponds to the JSON property `bigtableConfig`
2301
2405
  # @return [Google::Apis::PubsubV1::BigtableConfig]
2302
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.72.0"
19
+ GEM_VERSION = "0.74.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260915"
25
+ REVISION = "20261006"
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
 
@@ -340,6 +352,12 @@ module Google
340
352
  include Google::Apis::Core::JsonObjectSupport
341
353
  end
342
354
 
355
+ class RowKeySchema
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
343
361
  class Schema
344
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
363
 
@@ -552,6 +570,8 @@ module Google
552
570
  # @private
553
571
  class Representation < Google::Apis::Core::JsonRepresentation
554
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
+
555
575
  property :service_account_email, as: 'serviceAccountEmail'
556
576
  property :state, as: 'state'
557
577
  property :table, as: 'table'
@@ -604,6 +624,16 @@ module Google
604
624
  end
605
625
  end
606
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
+
607
637
  class CommitSchemaRequest
608
638
  # @private
609
639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -657,6 +687,14 @@ module Google
657
687
  end
658
688
  end
659
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
+
660
698
  class DetachSubscriptionResponse
661
699
  # @private
662
700
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -952,6 +990,12 @@ module Google
952
990
  end
953
991
  end
954
992
 
993
+ class RowKeySchema
994
+ # @private
995
+ class Representation < Google::Apis::Core::JsonRepresentation
996
+ end
997
+ end
998
+
955
999
  class Schema
956
1000
  # @private
957
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.72.0
4
+ version: 0.74.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.72.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.74.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: