google-apis-pubsub_v1 0.66.0 → 0.68.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: ba6aaf9454e4f7c948720f3d3be68f243f54acadee731373bab84040e33bc568
4
- data.tar.gz: 9d2afc14ec1645e9ab974e22c7f9530ec5ba9cf5cd99ced8c7729d626c38cce0
3
+ metadata.gz: fce72394467497571864afc3e65d4bd40af9d02e3fc16259c4e324a2d242fe35
4
+ data.tar.gz: 60f369ce2537054a1ec07fa7123229ee466f5cb1609d6db445d92fe2f10231b9
5
5
  SHA512:
6
- metadata.gz: 7eb393a5c7125a7f2f10e9a46e6ed45ec6b548fc6b0ce31b7926d9ce773b3364fe56fd3b3e0a1af22ac9a2a15edc3b4e3480335f00296981cde1e6e30bbf9acd
7
- data.tar.gz: 7ebd75cbb137b9f957528232375d98a058c48a6a4fb4ac6637d5c737c819faeb6acf495fb15864e53f16f1c01d3f62a1bc8f49c06fc3473f04bcb2da5d7a3977
6
+ metadata.gz: b6919279230e206a66a7f1fee0838cba21c9e1686331aab24733533386a8fb52b4c926f98160c4286d0d76b7caa77689bb981051f6f255a01cec72614ca2850d
7
+ data.tar.gz: 662c88660d90cfdb2793df0aec15521dbf35ff4a7bc3c84f6ddb55da2e23e398337397fa9323e61650c592bb2f49149df84fd75076064aae4afc7fbd60fb56b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.68.0 (2026-05-10)
4
+
5
+ * Regenerated from discovery document revision 20260421
6
+
7
+ ### v0.67.0 (2026-03-22)
8
+
9
+ * Regenerated from discovery document revision 20260310
10
+
3
11
  ### v0.66.0 (2026-03-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20260227
@@ -399,6 +399,67 @@ module Google
399
399
  end
400
400
  end
401
401
 
402
+ # Configuration for a Bigtable subscription. The Pub/Sub message will be written
403
+ # to a Bigtable row as follows: - row key: subscription name and message ID
404
+ # delimited by #. - columns: message bytes written to a single column family "
405
+ # data" with an empty-string column qualifier. - cell timestamp: the message
406
+ # publish timestamp.
407
+ class BigtableConfig
408
+ include Google::Apis::Core::Hashable
409
+
410
+ # Optional. The app profile to use for the Bigtable writes. If not specified,
411
+ # the "default" application profile will be used. The app profile must use
412
+ # single-cluster routing.
413
+ # Corresponds to the JSON property `appProfileId`
414
+ # @return [String]
415
+ attr_accessor :app_profile_id
416
+
417
+ # Optional. The service account to use to write to Bigtable. The subscription
418
+ # creator or updater that specifies this field must have `iam.serviceAccounts.
419
+ # actAs` permission on the service account. If not specified, the Pub/Sub [
420
+ # service agent](https://cloud.google.com/iam/docs/service-agents), service-`
421
+ # project_number`@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
422
+ # Corresponds to the JSON property `serviceAccountEmail`
423
+ # @return [String]
424
+ attr_accessor :service_account_email
425
+
426
+ # Output only. An output-only field that indicates whether or not the
427
+ # subscription can receive messages.
428
+ # Corresponds to the JSON property `state`
429
+ # @return [String]
430
+ attr_accessor :state
431
+
432
+ # Optional. The unique name of the table to write messages to. Values are of the
433
+ # form `projects//instances//tables/`.
434
+ # Corresponds to the JSON property `table`
435
+ # @return [String]
436
+ attr_accessor :table
437
+
438
+ # Optional. When true, write the subscription name, message_id, publish_time,
439
+ # attributes, and ordering_key to additional columns in the table under the
440
+ # pubsub_metadata column family. The subscription name, message_id, and
441
+ # publish_time fields are put in their own columns while all other message
442
+ # properties (other than data) are written to a JSON object in the attributes
443
+ # column.
444
+ # Corresponds to the JSON property `writeMetadata`
445
+ # @return [Boolean]
446
+ attr_accessor :write_metadata
447
+ alias_method :write_metadata?, :write_metadata
448
+
449
+ def initialize(**args)
450
+ update!(**args)
451
+ end
452
+
453
+ # Update properties of this object
454
+ def update!(**args)
455
+ @app_profile_id = args[:app_profile_id] if args.key?(:app_profile_id)
456
+ @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
457
+ @state = args[:state] if args.key?(:state)
458
+ @table = args[:table] if args.key?(:table)
459
+ @write_metadata = args[:write_metadata] if args.key?(:write_metadata)
460
+ end
461
+ end
462
+
402
463
  # Associates `members`, or principals, with a `role`.
403
464
  class Binding
404
465
  include Google::Apis::Core::Hashable
@@ -764,7 +825,8 @@ module Google
764
825
 
765
826
  # Optional. Input only. Immutable. Tag keys/values directly bound to this
766
827
  # resource. For example: "123/environment": "production", "123/costCenter": "
767
- # marketing"
828
+ # marketing" See https://`$universe.dns_names.final_documentation_domain`/pubsub/
829
+ # docs/tags for more information on using tags with Pub/Sub resources.
768
830
  # Corresponds to the JSON property `tags`
769
831
  # @return [Hash<String,String>]
770
832
  attr_accessor :tags
@@ -2073,9 +2135,10 @@ module Google
2073
2135
  end
2074
2136
  end
2075
2137
 
2076
- # A subscription resource. If none of `push_config`, `bigquery_config`, or `
2077
- # cloud_storage_config` is set, then the subscriber will pull and ack messages
2078
- # using API methods. At most one of these fields may be set.
2138
+ # A subscription resource. If none of `push_config`, `bigquery_config`, `
2139
+ # cloud_storage_config`, or `bigtable_config` is set, then the subscriber will
2140
+ # pull and ack messages using API methods. At most one of these fields may be
2141
+ # set.
2079
2142
  class Subscription
2080
2143
  include Google::Apis::Core::Hashable
2081
2144
 
@@ -2109,6 +2172,15 @@ module Google
2109
2172
  # @return [Google::Apis::PubsubV1::BigQueryConfig]
2110
2173
  attr_accessor :bigquery_config
2111
2174
 
2175
+ # Configuration for a Bigtable subscription. The Pub/Sub message will be written
2176
+ # to a Bigtable row as follows: - row key: subscription name and message ID
2177
+ # delimited by #. - columns: message bytes written to a single column family "
2178
+ # data" with an empty-string column qualifier. - cell timestamp: the message
2179
+ # publish timestamp.
2180
+ # Corresponds to the JSON property `bigtableConfig`
2181
+ # @return [Google::Apis::PubsubV1::BigtableConfig]
2182
+ attr_accessor :bigtable_config
2183
+
2112
2184
  # Configuration for a Cloud Storage subscription.
2113
2185
  # Corresponds to the JSON property `cloudStorageConfig`
2114
2186
  # @return [Google::Apis::PubsubV1::CloudStorageConfig]
@@ -2234,7 +2306,8 @@ module Google
2234
2306
 
2235
2307
  # Optional. Input only. Immutable. Tag keys/values directly bound to this
2236
2308
  # resource. For example: "123/environment": "production", "123/costCenter": "
2237
- # marketing"
2309
+ # marketing" See https://`$universe.dns_names.final_documentation_domain`/pubsub/
2310
+ # docs/tags for more information on using tags with Pub/Sub resources.
2238
2311
  # Corresponds to the JSON property `tags`
2239
2312
  # @return [Hash<String,String>]
2240
2313
  attr_accessor :tags
@@ -2265,6 +2338,7 @@ module Google
2265
2338
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
2266
2339
  @analytics_hub_subscription_info = args[:analytics_hub_subscription_info] if args.key?(:analytics_hub_subscription_info)
2267
2340
  @bigquery_config = args[:bigquery_config] if args.key?(:bigquery_config)
2341
+ @bigtable_config = args[:bigtable_config] if args.key?(:bigtable_config)
2268
2342
  @cloud_storage_config = args[:cloud_storage_config] if args.key?(:cloud_storage_config)
2269
2343
  @dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy)
2270
2344
  @detached = args[:detached] if args.key?(:detached)
@@ -2435,7 +2509,8 @@ module Google
2435
2509
 
2436
2510
  # Optional. Input only. Immutable. Tag keys/values directly bound to this
2437
2511
  # resource. For example: "123/environment": "production", "123/costCenter": "
2438
- # marketing"
2512
+ # marketing" See https://`$universe.dns_names.final_documentation_domain`/pubsub/
2513
+ # docs/tags for more information on using tags with Pub/Sub resources.
2439
2514
  # Corresponds to the JSON property `tags`
2440
2515
  # @return [Hash<String,String>]
2441
2516
  attr_accessor :tags
@@ -2514,9 +2589,10 @@ module Google
2514
2589
  class UpdateSubscriptionRequest
2515
2590
  include Google::Apis::Core::Hashable
2516
2591
 
2517
- # A subscription resource. If none of `push_config`, `bigquery_config`, or `
2518
- # cloud_storage_config` is set, then the subscriber will pull and ack messages
2519
- # using API methods. At most one of these fields may be set.
2592
+ # A subscription resource. If none of `push_config`, `bigquery_config`, `
2593
+ # cloud_storage_config`, or `bigtable_config` is set, then the subscriber will
2594
+ # pull and ack messages using API methods. At most one of these fields may be
2595
+ # set.
2520
2596
  # Corresponds to the JSON property `subscription`
2521
2597
  # @return [Google::Apis::PubsubV1::Subscription]
2522
2598
  attr_accessor :subscription
@@ -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.66.0"
19
+ GEM_VERSION = "0.68.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 = "20260227"
25
+ REVISION = "20260421"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class BigtableConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class Binding
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -518,6 +524,17 @@ module Google
518
524
  end
519
525
  end
520
526
 
527
+ class BigtableConfig
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :app_profile_id, as: 'appProfileId'
531
+ property :service_account_email, as: 'serviceAccountEmail'
532
+ property :state, as: 'state'
533
+ property :table, as: 'table'
534
+ property :write_metadata, as: 'writeMetadata'
535
+ end
536
+ end
537
+
521
538
  class Binding
522
539
  # @private
523
540
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -938,6 +955,8 @@ module Google
938
955
 
939
956
  property :bigquery_config, as: 'bigqueryConfig', class: Google::Apis::PubsubV1::BigQueryConfig, decorator: Google::Apis::PubsubV1::BigQueryConfig::Representation
940
957
 
958
+ property :bigtable_config, as: 'bigtableConfig', class: Google::Apis::PubsubV1::BigtableConfig, decorator: Google::Apis::PubsubV1::BigtableConfig::Representation
959
+
941
960
  property :cloud_storage_config, as: 'cloudStorageConfig', class: Google::Apis::PubsubV1::CloudStorageConfig, decorator: Google::Apis::PubsubV1::CloudStorageConfig::Representation
942
961
 
943
962
  property :dead_letter_policy, as: 'deadLetterPolicy', class: Google::Apis::PubsubV1::DeadLetterPolicy, decorator: Google::Apis::PubsubV1::DeadLetterPolicy::Representation
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.66.0
4
+ version: 0.68.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.66.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.68.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: