google-apis-pubsub_v1 0.66.0 → 0.67.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: ce8776e0ed4b92604c963696316181fa68d30840003e4bf261a25bc5f91ac833
4
+ data.tar.gz: af7f9451e91094c93734a6a7b20e7ac8b81596a1ec61b7eb60ca14b446debdad
5
5
  SHA512:
6
- metadata.gz: 7eb393a5c7125a7f2f10e9a46e6ed45ec6b548fc6b0ce31b7926d9ce773b3364fe56fd3b3e0a1af22ac9a2a15edc3b4e3480335f00296981cde1e6e30bbf9acd
7
- data.tar.gz: 7ebd75cbb137b9f957528232375d98a058c48a6a4fb4ac6637d5c737c819faeb6acf495fb15864e53f16f1c01d3f62a1bc8f49c06fc3473f04bcb2da5d7a3977
6
+ metadata.gz: 5ed8e8130214b17d0dc05162c5eeb61990ca669901ad06bd1ac925767df7f6d0f53a06f0b1a643bda4d51893fc977019078997db39bf0522cb350f3270c4eb0c
7
+ data.tar.gz: f267392484035c90b3b749b27aecb6a1f5bfc5dbc1880f3effdd17582544d84c311045a0a93cb05452e51c33bae6505036b99be0fbd86e32ea9f68b219268fb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.67.0 (2026-03-22)
4
+
5
+ * Regenerated from discovery document revision 20260310
6
+
3
7
  ### v0.66.0 (2026-03-08)
4
8
 
5
9
  * 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
@@ -2109,6 +2170,15 @@ module Google
2109
2170
  # @return [Google::Apis::PubsubV1::BigQueryConfig]
2110
2171
  attr_accessor :bigquery_config
2111
2172
 
2173
+ # Configuration for a Bigtable subscription. The Pub/Sub message will be written
2174
+ # to a Bigtable row as follows: - row key: subscription name and message ID
2175
+ # delimited by #. - columns: message bytes written to a single column family "
2176
+ # data" with an empty-string column qualifier. - cell timestamp: the message
2177
+ # publish timestamp.
2178
+ # Corresponds to the JSON property `bigtableConfig`
2179
+ # @return [Google::Apis::PubsubV1::BigtableConfig]
2180
+ attr_accessor :bigtable_config
2181
+
2112
2182
  # Configuration for a Cloud Storage subscription.
2113
2183
  # Corresponds to the JSON property `cloudStorageConfig`
2114
2184
  # @return [Google::Apis::PubsubV1::CloudStorageConfig]
@@ -2265,6 +2335,7 @@ module Google
2265
2335
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
2266
2336
  @analytics_hub_subscription_info = args[:analytics_hub_subscription_info] if args.key?(:analytics_hub_subscription_info)
2267
2337
  @bigquery_config = args[:bigquery_config] if args.key?(:bigquery_config)
2338
+ @bigtable_config = args[:bigtable_config] if args.key?(:bigtable_config)
2268
2339
  @cloud_storage_config = args[:cloud_storage_config] if args.key?(:cloud_storage_config)
2269
2340
  @dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy)
2270
2341
  @detached = args[:detached] if args.key?(:detached)
@@ -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.67.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 = "20260310"
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.67.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.67.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: