google-apis-pubsub_v1 0.53.0 → 0.63.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: 021d4d3dd6c81266a4c6459415c71b8b8c1512e2b6bf26516565916c9541563b
4
- data.tar.gz: fd2be5a6d8f2e34d35c84f5d958f11f47216d9c3a757968e2e0fefc9713b0622
3
+ metadata.gz: 68edcdc37c1f1fa3189eb00e475df485de14860f3a623ea6069798d31bd5a5a9
4
+ data.tar.gz: e2edcf26229eb2d148d058b12131b85b3e07619bcec6221c560977088d9f430a
5
5
  SHA512:
6
- metadata.gz: b484ff2478c4be5ea62c02970f0b3860691e56da97b1e46bc51e21dd718a6899a286fed58a6c6bf6b228908ef785a6703433e2797735cb6a33e074c667eba355
7
- data.tar.gz: a5892457b2d5a0031ccf8372bf5b9757d8308240cfdbe7ef24c830149617a3d03a3faf65089f8d661ca348ba0e22ab089c2310c96a0227404ea6d2a30fa4fe31
6
+ metadata.gz: c586495bfb56f18ea1d4cf0723708fe0bf0c1b6e1ef00038fad7839e8cd0226aa778f6ecfc8504da1113ce79cde89e3f65ed8f233c5537d1463af797e3666188
7
+ data.tar.gz: 4d26887fba7f25512ccb54a6d9678c3bb1597666c003af87e1d126a9b2295b8083557e144c90695b63055f6c5827530863ec2bb62be04e14cc1ac2cb66adb109
data/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.63.0 (2025-11-09)
4
+
5
+ * Regenerated from discovery document revision 20251025
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.62.0 (2025-05-04)
9
+
10
+ * Regenerated using generator version 0.17.0
11
+
12
+ ### v0.61.0 (2025-04-20)
13
+
14
+ * Regenerated from discovery document revision 20250414
15
+
16
+ ### v0.60.0 (2025-03-23)
17
+
18
+ * Regenerated from discovery document revision 20250311
19
+
20
+ ### v0.59.0 (2025-03-02)
21
+
22
+ * Regenerated from discovery document revision 20250218
23
+ * Regenerated using generator version 0.16.0
24
+
25
+ ### v0.58.0 (2025-01-07)
26
+
27
+ * Regenerated from discovery document revision 20241231
28
+
29
+ ### v0.57.0 (2024-12-22)
30
+
31
+ * Regenerated from discovery document revision 20241212
32
+
33
+ ### v0.56.0 (2024-09-29)
34
+
35
+ * Regenerated from discovery document revision 20240918
36
+
37
+ ### v0.55.0 (2024-09-22)
38
+
39
+ * Regenerated from discovery document revision 20240912
40
+ * Regenerated using generator version 0.15.1
41
+
42
+ ### v0.54.0 (2024-07-25)
43
+
44
+ * Regenerated from discovery document revision 20240702
45
+
3
46
  ### v0.53.0 (2024-06-26)
4
47
 
5
48
  * Regenerated from discovery document revision 20240618
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/pubsub/docs) may provide gu
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -42,7 +42,7 @@ module Google
42
42
  end
43
43
  end
44
44
 
45
- # Information about an associated Analytics Hub subscription (https://cloud.
45
+ # Information about an associated [Analytics Hub subscription](https://cloud.
46
46
  # google.com/bigquery/docs/analytics-hub-manage-subscriptions).
47
47
  class AnalyticsHubSubscriptionInfo
48
48
  include Google::Apis::Core::Hashable
@@ -104,6 +104,20 @@ module Google
104
104
  end
105
105
  end
106
106
 
107
+ # Configuration for reading Cloud Storage data in Avro binary format. The bytes
108
+ # of each object will be set to the `data` field of a Pub/Sub message.
109
+ class AvroFormat
110
+ include Google::Apis::Core::Hashable
111
+
112
+ def initialize(**args)
113
+ update!(**args)
114
+ end
115
+
116
+ # Update properties of this object
117
+ def update!(**args)
118
+ end
119
+ end
120
+
107
121
  # Ingestion settings for Amazon Kinesis Data Streams.
108
122
  class AwsKinesis
109
123
  include Google::Apis::Core::Hashable
@@ -154,6 +168,121 @@ module Google
154
168
  end
155
169
  end
156
170
 
171
+ # Ingestion settings for Amazon MSK.
172
+ class AwsMsk
173
+ include Google::Apis::Core::Hashable
174
+
175
+ # Required. AWS role ARN to be used for Federated Identity authentication with
176
+ # Amazon MSK. Check the Pub/Sub docs for how to set up this role and the
177
+ # required permissions that need to be attached to it.
178
+ # Corresponds to the JSON property `awsRoleArn`
179
+ # @return [String]
180
+ attr_accessor :aws_role_arn
181
+
182
+ # Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
183
+ # Corresponds to the JSON property `clusterArn`
184
+ # @return [String]
185
+ attr_accessor :cluster_arn
186
+
187
+ # Required. The GCP service account to be used for Federated Identity
188
+ # authentication with Amazon MSK (via a `AssumeRoleWithWebIdentity` call for the
189
+ # provided role). The `aws_role_arn` must be set up with `accounts.google.com:
190
+ # sub` equals to this service account number.
191
+ # Corresponds to the JSON property `gcpServiceAccount`
192
+ # @return [String]
193
+ attr_accessor :gcp_service_account
194
+
195
+ # Output only. An output-only field that indicates the state of the Amazon MSK
196
+ # ingestion source.
197
+ # Corresponds to the JSON property `state`
198
+ # @return [String]
199
+ attr_accessor :state
200
+
201
+ # Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will
202
+ # import from.
203
+ # Corresponds to the JSON property `topic`
204
+ # @return [String]
205
+ attr_accessor :topic
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @aws_role_arn = args[:aws_role_arn] if args.key?(:aws_role_arn)
214
+ @cluster_arn = args[:cluster_arn] if args.key?(:cluster_arn)
215
+ @gcp_service_account = args[:gcp_service_account] if args.key?(:gcp_service_account)
216
+ @state = args[:state] if args.key?(:state)
217
+ @topic = args[:topic] if args.key?(:topic)
218
+ end
219
+ end
220
+
221
+ # Ingestion settings for Azure Event Hubs.
222
+ class AzureEventHubs
223
+ include Google::Apis::Core::Hashable
224
+
225
+ # Optional. The client id of the Azure application that is being used to
226
+ # authenticate Pub/Sub.
227
+ # Corresponds to the JSON property `clientId`
228
+ # @return [String]
229
+ attr_accessor :client_id
230
+
231
+ # Optional. The name of the Event Hub.
232
+ # Corresponds to the JSON property `eventHub`
233
+ # @return [String]
234
+ attr_accessor :event_hub
235
+
236
+ # Optional. The GCP service account to be used for Federated Identity
237
+ # authentication.
238
+ # Corresponds to the JSON property `gcpServiceAccount`
239
+ # @return [String]
240
+ attr_accessor :gcp_service_account
241
+
242
+ # Optional. The name of the Event Hubs namespace.
243
+ # Corresponds to the JSON property `namespace`
244
+ # @return [String]
245
+ attr_accessor :namespace
246
+
247
+ # Optional. Name of the resource group within the azure subscription.
248
+ # Corresponds to the JSON property `resourceGroup`
249
+ # @return [String]
250
+ attr_accessor :resource_group
251
+
252
+ # Output only. An output-only field that indicates the state of the Event Hubs
253
+ # ingestion source.
254
+ # Corresponds to the JSON property `state`
255
+ # @return [String]
256
+ attr_accessor :state
257
+
258
+ # Optional. The Azure subscription id.
259
+ # Corresponds to the JSON property `subscriptionId`
260
+ # @return [String]
261
+ attr_accessor :subscription_id
262
+
263
+ # Optional. The tenant id of the Azure application that is being used to
264
+ # authenticate Pub/Sub.
265
+ # Corresponds to the JSON property `tenantId`
266
+ # @return [String]
267
+ attr_accessor :tenant_id
268
+
269
+ def initialize(**args)
270
+ update!(**args)
271
+ end
272
+
273
+ # Update properties of this object
274
+ def update!(**args)
275
+ @client_id = args[:client_id] if args.key?(:client_id)
276
+ @event_hub = args[:event_hub] if args.key?(:event_hub)
277
+ @gcp_service_account = args[:gcp_service_account] if args.key?(:gcp_service_account)
278
+ @namespace = args[:namespace] if args.key?(:namespace)
279
+ @resource_group = args[:resource_group] if args.key?(:resource_group)
280
+ @state = args[:state] if args.key?(:state)
281
+ @subscription_id = args[:subscription_id] if args.key?(:subscription_id)
282
+ @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
283
+ end
284
+ end
285
+
157
286
  # Configuration for a BigQuery subscription.
158
287
  class BigQueryConfig
159
288
  include Google::Apis::Core::Hashable
@@ -332,6 +461,74 @@ module Google
332
461
  end
333
462
  end
334
463
 
464
+ # Ingestion settings for Cloud Storage.
465
+ class CloudStorage
466
+ include Google::Apis::Core::Hashable
467
+
468
+ # Configuration for reading Cloud Storage data in Avro binary format. The bytes
469
+ # of each object will be set to the `data` field of a Pub/Sub message.
470
+ # Corresponds to the JSON property `avroFormat`
471
+ # @return [Google::Apis::PubsubV1::AvroFormat]
472
+ attr_accessor :avro_format
473
+
474
+ # Optional. Cloud Storage bucket. The bucket name must be without any prefix
475
+ # like "gs://". See the [bucket naming requirements] (https://cloud.google.com/
476
+ # storage/docs/buckets#naming).
477
+ # Corresponds to the JSON property `bucket`
478
+ # @return [String]
479
+ attr_accessor :bucket
480
+
481
+ # Optional. Glob pattern used to match objects that will be ingested. If unset,
482
+ # all objects will be ingested. See the [supported patterns](https://cloud.
483
+ # google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-
484
+ # using-glob).
485
+ # Corresponds to the JSON property `matchGlob`
486
+ # @return [String]
487
+ attr_accessor :match_glob
488
+
489
+ # Optional. Only objects with a larger or equal creation timestamp will be
490
+ # ingested.
491
+ # Corresponds to the JSON property `minimumObjectCreateTime`
492
+ # @return [String]
493
+ attr_accessor :minimum_object_create_time
494
+
495
+ # Configuration for reading Cloud Storage data written via [Cloud Storage
496
+ # subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data
497
+ # and attributes fields of the originally exported Pub/Sub message will be
498
+ # restored when publishing.
499
+ # Corresponds to the JSON property `pubsubAvroFormat`
500
+ # @return [Google::Apis::PubsubV1::PubSubAvroFormat]
501
+ attr_accessor :pubsub_avro_format
502
+
503
+ # Output only. An output-only field that indicates the state of the Cloud
504
+ # Storage ingestion source.
505
+ # Corresponds to the JSON property `state`
506
+ # @return [String]
507
+ attr_accessor :state
508
+
509
+ # Configuration for reading Cloud Storage data in text format. Each line of text
510
+ # as specified by the delimiter will be set to the `data` field of a Pub/Sub
511
+ # message.
512
+ # Corresponds to the JSON property `textFormat`
513
+ # @return [Google::Apis::PubsubV1::TextFormat]
514
+ attr_accessor :text_format
515
+
516
+ def initialize(**args)
517
+ update!(**args)
518
+ end
519
+
520
+ # Update properties of this object
521
+ def update!(**args)
522
+ @avro_format = args[:avro_format] if args.key?(:avro_format)
523
+ @bucket = args[:bucket] if args.key?(:bucket)
524
+ @match_glob = args[:match_glob] if args.key?(:match_glob)
525
+ @minimum_object_create_time = args[:minimum_object_create_time] if args.key?(:minimum_object_create_time)
526
+ @pubsub_avro_format = args[:pubsub_avro_format] if args.key?(:pubsub_avro_format)
527
+ @state = args[:state] if args.key?(:state)
528
+ @text_format = args[:text_format] if args.key?(:text_format)
529
+ end
530
+ end
531
+
335
532
  # Configuration for a Cloud Storage subscription.
336
533
  class CloudStorageConfig
337
534
  include Google::Apis::Core::Hashable
@@ -379,11 +576,17 @@ module Google
379
576
 
380
577
  # Optional. The maximum duration that can elapse before a new Cloud Storage file
381
578
  # is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed
382
- # the subscription's acknowledgement deadline.
579
+ # the subscription's acknowledgment deadline.
383
580
  # Corresponds to the JSON property `maxDuration`
384
581
  # @return [String]
385
582
  attr_accessor :max_duration
386
583
 
584
+ # Optional. The maximum number of messages that can be written to a Cloud
585
+ # Storage file before a new file is created. Min 1000 messages.
586
+ # Corresponds to the JSON property `maxMessages`
587
+ # @return [Fixnum]
588
+ attr_accessor :max_messages
589
+
387
590
  # Optional. The service account to use to write to Cloud Storage. The
388
591
  # subscription creator or updater that specifies this field must have `iam.
389
592
  # serviceAccounts.actAs` permission on the service account. If not specified,
@@ -418,6 +621,7 @@ module Google
418
621
  @filename_suffix = args[:filename_suffix] if args.key?(:filename_suffix)
419
622
  @max_bytes = args[:max_bytes] if args.key?(:max_bytes)
420
623
  @max_duration = args[:max_duration] if args.key?(:max_duration)
624
+ @max_messages = args[:max_messages] if args.key?(:max_messages)
421
625
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
422
626
  @state = args[:state] if args.key?(:state)
423
627
  @text_config = args[:text_config] if args.key?(:text_config)
@@ -443,6 +647,61 @@ module Google
443
647
  end
444
648
  end
445
649
 
650
+ # Ingestion settings for Confluent Cloud.
651
+ class ConfluentCloud
652
+ include Google::Apis::Core::Hashable
653
+
654
+ # Required. The address of the bootstrap server. The format is url:port.
655
+ # Corresponds to the JSON property `bootstrapServer`
656
+ # @return [String]
657
+ attr_accessor :bootstrap_server
658
+
659
+ # Required. The id of the cluster.
660
+ # Corresponds to the JSON property `clusterId`
661
+ # @return [String]
662
+ attr_accessor :cluster_id
663
+
664
+ # Required. The GCP service account to be used for Federated Identity
665
+ # authentication with `identity_pool_id`.
666
+ # Corresponds to the JSON property `gcpServiceAccount`
667
+ # @return [String]
668
+ attr_accessor :gcp_service_account
669
+
670
+ # Required. The id of the identity pool to be used for Federated Identity
671
+ # authentication with Confluent Cloud. See https://docs.confluent.io/cloud/
672
+ # current/security/authenticate/workload-identities/identity-providers/oauth/
673
+ # identity-pools.html#add-oauth-identity-pools.
674
+ # Corresponds to the JSON property `identityPoolId`
675
+ # @return [String]
676
+ attr_accessor :identity_pool_id
677
+
678
+ # Output only. An output-only field that indicates the state of the Confluent
679
+ # Cloud ingestion source.
680
+ # Corresponds to the JSON property `state`
681
+ # @return [String]
682
+ attr_accessor :state
683
+
684
+ # Required. The name of the topic in the Confluent Cloud cluster that Pub/Sub
685
+ # will import from.
686
+ # Corresponds to the JSON property `topic`
687
+ # @return [String]
688
+ attr_accessor :topic
689
+
690
+ def initialize(**args)
691
+ update!(**args)
692
+ end
693
+
694
+ # Update properties of this object
695
+ def update!(**args)
696
+ @bootstrap_server = args[:bootstrap_server] if args.key?(:bootstrap_server)
697
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
698
+ @gcp_service_account = args[:gcp_service_account] if args.key?(:gcp_service_account)
699
+ @identity_pool_id = args[:identity_pool_id] if args.key?(:identity_pool_id)
700
+ @state = args[:state] if args.key?(:state)
701
+ @topic = args[:topic] if args.key?(:topic)
702
+ end
703
+ end
704
+
446
705
  # Request for the `CreateSnapshot` method.
447
706
  class CreateSnapshotRequest
448
707
  include Google::Apis::Core::Hashable
@@ -464,6 +723,13 @@ module Google
464
723
  # @return [String]
465
724
  attr_accessor :subscription
466
725
 
726
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
727
+ # resource. For example: "123/environment": "production", "123/costCenter": "
728
+ # marketing"
729
+ # Corresponds to the JSON property `tags`
730
+ # @return [Hash<String,String>]
731
+ attr_accessor :tags
732
+
467
733
  def initialize(**args)
468
734
  update!(**args)
469
735
  end
@@ -472,6 +738,7 @@ module Google
472
738
  def update!(**args)
473
739
  @labels = args[:labels] if args.key?(:labels)
474
740
  @subscription = args[:subscription] if args.key?(:subscription)
741
+ @tags = args[:tags] if args.key?(:tags)
475
742
  end
476
743
  end
477
744
 
@@ -495,11 +762,11 @@ module Google
495
762
 
496
763
  # Optional. The maximum number of delivery attempts for any message. The value
497
764
  # must be between 5 and 100. The number of delivery attempts is defined as 1 + (
498
- # the sum of number of NACKs and number of times the acknowledgement deadline
499
- # has been exceeded for the message). A NACK is any call to ModifyAckDeadline
500
- # with a 0 deadline. Note that client libraries may automatically extend
501
- # ack_deadlines. This field will be honored on a best effort basis. If this
502
- # parameter is 0, a default value of 5 is used.
765
+ # the sum of number of NACKs and number of times the acknowledgment deadline has
766
+ # been exceeded for the message). A NACK is any call to ModifyAckDeadline with a
767
+ # 0 deadline. Note that client libraries may automatically extend ack_deadlines.
768
+ # This field will be honored on a best effort basis. If this parameter is 0, a
769
+ # default value of 5 is used.
503
770
  # Corresponds to the JSON property `maxDeliveryAttempts`
504
771
  # @return [Fixnum]
505
772
  attr_accessor :max_delivery_attempts
@@ -631,6 +898,31 @@ module Google
631
898
  # @return [Google::Apis::PubsubV1::AwsKinesis]
632
899
  attr_accessor :aws_kinesis
633
900
 
901
+ # Ingestion settings for Amazon MSK.
902
+ # Corresponds to the JSON property `awsMsk`
903
+ # @return [Google::Apis::PubsubV1::AwsMsk]
904
+ attr_accessor :aws_msk
905
+
906
+ # Ingestion settings for Azure Event Hubs.
907
+ # Corresponds to the JSON property `azureEventHubs`
908
+ # @return [Google::Apis::PubsubV1::AzureEventHubs]
909
+ attr_accessor :azure_event_hubs
910
+
911
+ # Ingestion settings for Cloud Storage.
912
+ # Corresponds to the JSON property `cloudStorage`
913
+ # @return [Google::Apis::PubsubV1::CloudStorage]
914
+ attr_accessor :cloud_storage
915
+
916
+ # Ingestion settings for Confluent Cloud.
917
+ # Corresponds to the JSON property `confluentCloud`
918
+ # @return [Google::Apis::PubsubV1::ConfluentCloud]
919
+ attr_accessor :confluent_cloud
920
+
921
+ # Settings for Platform Logs produced by Pub/Sub.
922
+ # Corresponds to the JSON property `platformLogsSettings`
923
+ # @return [Google::Apis::PubsubV1::PlatformLogsSettings]
924
+ attr_accessor :platform_logs_settings
925
+
634
926
  def initialize(**args)
635
927
  update!(**args)
636
928
  end
@@ -638,6 +930,48 @@ module Google
638
930
  # Update properties of this object
639
931
  def update!(**args)
640
932
  @aws_kinesis = args[:aws_kinesis] if args.key?(:aws_kinesis)
933
+ @aws_msk = args[:aws_msk] if args.key?(:aws_msk)
934
+ @azure_event_hubs = args[:azure_event_hubs] if args.key?(:azure_event_hubs)
935
+ @cloud_storage = args[:cloud_storage] if args.key?(:cloud_storage)
936
+ @confluent_cloud = args[:confluent_cloud] if args.key?(:confluent_cloud)
937
+ @platform_logs_settings = args[:platform_logs_settings] if args.key?(:platform_logs_settings)
938
+ end
939
+ end
940
+
941
+ # User-defined JavaScript function that can transform or filter a Pub/Sub
942
+ # message.
943
+ class JavaScriptUdf
944
+ include Google::Apis::Core::Hashable
945
+
946
+ # Required. JavaScript code that contains a function `function_name` with the
947
+ # below signature: ``` /** * Transforms a Pub/Sub message. * @return `(Object)>|
948
+ # null)` - To * filter a message, return `null`. To transform a message return a
949
+ # map * with the following keys: * - (required) 'data' : `string` * - (optional)
950
+ # 'attributes' : `Object` * Returning empty `attributes` will remove all
951
+ # attributes from the * message. * * @param `(Object)>` Pub/Sub * message. Keys:
952
+ # * - (required) 'data' : `string` * - (required) 'attributes' : `Object` * * @
953
+ # param `Object` metadata - Pub/Sub message metadata. * Keys: * - (optional) '
954
+ # message_id' : `string` * - (optional) 'publish_time': `string` YYYY-MM-DDTHH:
955
+ # MM:SSZ format * - (optional) 'ordering_key': `string` */ function (message,
956
+ # metadata) ` ` ```
957
+ # Corresponds to the JSON property `code`
958
+ # @return [String]
959
+ attr_accessor :code
960
+
961
+ # Required. Name of the JavasScript function that should applied to Pub/Sub
962
+ # messages.
963
+ # Corresponds to the JSON property `functionName`
964
+ # @return [String]
965
+ attr_accessor :function_name
966
+
967
+ def initialize(**args)
968
+ update!(**args)
969
+ end
970
+
971
+ # Update properties of this object
972
+ def update!(**args)
973
+ @code = args[:code] if args.key?(:code)
974
+ @function_name = args[:function_name] if args.key?(:function_name)
641
975
  end
642
976
  end
643
977
 
@@ -861,6 +1195,42 @@ module Google
861
1195
  end
862
1196
  end
863
1197
 
1198
+ # All supported message transforms types.
1199
+ class MessageTransform
1200
+ include Google::Apis::Core::Hashable
1201
+
1202
+ # Optional. If true, the transform is disabled and will not be applied to
1203
+ # messages. Defaults to `false`.
1204
+ # Corresponds to the JSON property `disabled`
1205
+ # @return [Boolean]
1206
+ attr_accessor :disabled
1207
+ alias_method :disabled?, :disabled
1208
+
1209
+ # Optional. This field is deprecated, use the `disabled` field to disable
1210
+ # transforms.
1211
+ # Corresponds to the JSON property `enabled`
1212
+ # @return [Boolean]
1213
+ attr_accessor :enabled
1214
+ alias_method :enabled?, :enabled
1215
+
1216
+ # User-defined JavaScript function that can transform or filter a Pub/Sub
1217
+ # message.
1218
+ # Corresponds to the JSON property `javascriptUdf`
1219
+ # @return [Google::Apis::PubsubV1::JavaScriptUdf]
1220
+ attr_accessor :javascript_udf
1221
+
1222
+ def initialize(**args)
1223
+ update!(**args)
1224
+ end
1225
+
1226
+ # Update properties of this object
1227
+ def update!(**args)
1228
+ @disabled = args[:disabled] if args.key?(:disabled)
1229
+ @enabled = args[:enabled] if args.key?(:enabled)
1230
+ @javascript_udf = args[:javascript_udf] if args.key?(:javascript_udf)
1231
+ end
1232
+ end
1233
+
864
1234
  # Request for the ModifyAckDeadline method.
865
1235
  class ModifyAckDeadlineRequest
866
1236
  include Google::Apis::Core::Hashable
@@ -968,6 +1338,25 @@ module Google
968
1338
  end
969
1339
  end
970
1340
 
1341
+ # Settings for Platform Logs produced by Pub/Sub.
1342
+ class PlatformLogsSettings
1343
+ include Google::Apis::Core::Hashable
1344
+
1345
+ # Optional. The minimum severity level of Platform Logs that will be written.
1346
+ # Corresponds to the JSON property `severity`
1347
+ # @return [String]
1348
+ attr_accessor :severity
1349
+
1350
+ def initialize(**args)
1351
+ update!(**args)
1352
+ end
1353
+
1354
+ # Update properties of this object
1355
+ def update!(**args)
1356
+ @severity = args[:severity] if args.key?(:severity)
1357
+ end
1358
+ end
1359
+
971
1360
  # An Identity and Access Management (IAM) policy, which specifies access
972
1361
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
973
1362
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -1057,6 +1446,22 @@ module Google
1057
1446
  end
1058
1447
  end
1059
1448
 
1449
+ # Configuration for reading Cloud Storage data written via [Cloud Storage
1450
+ # subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data
1451
+ # and attributes fields of the originally exported Pub/Sub message will be
1452
+ # restored when publishing.
1453
+ class PubSubAvroFormat
1454
+ include Google::Apis::Core::Hashable
1455
+
1456
+ def initialize(**args)
1457
+ update!(**args)
1458
+ end
1459
+
1460
+ # Update properties of this object
1461
+ def update!(**args)
1462
+ end
1463
+ end
1464
+
1060
1465
  # Request for the Publish method.
1061
1466
  class PublishRequest
1062
1467
  include Google::Apis::Core::Hashable
@@ -1341,7 +1746,7 @@ module Google
1341
1746
  # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
1342
1747
  # be exponential based on provided minimum and maximum backoffs. https://en.
1343
1748
  # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
1344
- # or acknowledgement deadline exceeded events for a given message. Retry Policy
1749
+ # or acknowledgment deadline exceeded events for a given message. Retry Policy
1345
1750
  # is implemented on a best effort basis. At times, the delay between consecutive
1346
1751
  # deliveries may not match the configuration. That is, delay can be more or less
1347
1752
  # than configured backoff.
@@ -1648,7 +2053,7 @@ module Google
1648
2053
  # @return [Fixnum]
1649
2054
  attr_accessor :ack_deadline_seconds
1650
2055
 
1651
- # Information about an associated Analytics Hub subscription (https://cloud.
2056
+ # Information about an associated [Analytics Hub subscription](https://cloud.
1652
2057
  # google.com/bigquery/docs/analytics-hub-manage-subscriptions).
1653
2058
  # Corresponds to the JSON property `analyticsHubSubscriptionInfo`
1654
2059
  # @return [Google::Apis::PubsubV1::AnalyticsHubSubscriptionInfo]
@@ -1685,7 +2090,7 @@ module Google
1685
2090
  # Optional. If true, Pub/Sub provides the following guarantees for the delivery
1686
2091
  # of a message with a given value of `message_id` on this subscription: * The
1687
2092
  # message sent to a subscriber is guaranteed not to be resent before the message'
1688
- # s acknowledgement deadline expires. * An acknowledged message will not be
2093
+ # s acknowledgment deadline expires. * An acknowledged message will not be
1689
2094
  # resent to a subscriber. Note that subscribers may still receive multiple
1690
2095
  # copies of a message when `enable_exactly_once_delivery` is true if the message
1691
2096
  # was published multiple times by a publisher client. These copies are
@@ -1728,11 +2133,17 @@ module Google
1728
2133
  # backlog, from the moment a message is published. If `retain_acked_messages` is
1729
2134
  # true, then this also configures the retention of acknowledged messages, and
1730
2135
  # thus configures how far back in time a `Seek` can be done. Defaults to 7 days.
1731
- # Cannot be more than 7 days or less than 10 minutes.
2136
+ # Cannot be more than 31 days or less than 10 minutes.
1732
2137
  # Corresponds to the JSON property `messageRetentionDuration`
1733
2138
  # @return [String]
1734
2139
  attr_accessor :message_retention_duration
1735
2140
 
2141
+ # Optional. Transforms to be applied to messages before they are delivered to
2142
+ # subscribers. Transforms are applied in the order specified.
2143
+ # Corresponds to the JSON property `messageTransforms`
2144
+ # @return [Array<Google::Apis::PubsubV1::MessageTransform>]
2145
+ attr_accessor :message_transforms
2146
+
1736
2147
  # Required. The name of the subscription. It must have the format `"projects/`
1737
2148
  # project`/subscriptions/`subscription`"`. ``subscription`` must start with a
1738
2149
  # letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
@@ -1762,7 +2173,7 @@ module Google
1762
2173
  # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
1763
2174
  # be exponential based on provided minimum and maximum backoffs. https://en.
1764
2175
  # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
1765
- # or acknowledgement deadline exceeded events for a given message. Retry Policy
2176
+ # or acknowledgment deadline exceeded events for a given message. Retry Policy
1766
2177
  # is implemented on a best effort basis. At times, the delay between consecutive
1767
2178
  # deliveries may not match the configuration. That is, delay can be more or less
1768
2179
  # than configured backoff.
@@ -1776,6 +2187,13 @@ module Google
1776
2187
  # @return [String]
1777
2188
  attr_accessor :state
1778
2189
 
2190
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
2191
+ # resource. For example: "123/environment": "production", "123/costCenter": "
2192
+ # marketing"
2193
+ # Corresponds to the JSON property `tags`
2194
+ # @return [Hash<String,String>]
2195
+ attr_accessor :tags
2196
+
1779
2197
  # Required. The name of the topic from which this subscription is receiving
1780
2198
  # messages. Format is `projects/`project`/topics/`topic``. The value of this
1781
2199
  # field will be `_deleted-topic_` if the topic has been deleted.
@@ -1811,11 +2229,13 @@ module Google
1811
2229
  @filter = args[:filter] if args.key?(:filter)
1812
2230
  @labels = args[:labels] if args.key?(:labels)
1813
2231
  @message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
2232
+ @message_transforms = args[:message_transforms] if args.key?(:message_transforms)
1814
2233
  @name = args[:name] if args.key?(:name)
1815
2234
  @push_config = args[:push_config] if args.key?(:push_config)
1816
2235
  @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
1817
2236
  @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
1818
2237
  @state = args[:state] if args.key?(:state)
2238
+ @tags = args[:tags] if args.key?(:tags)
1819
2239
  @topic = args[:topic] if args.key?(:topic)
1820
2240
  @topic_message_retention_duration = args[:topic_message_retention_duration] if args.key?(:topic_message_retention_duration)
1821
2241
  end
@@ -1875,6 +2295,27 @@ module Google
1875
2295
  end
1876
2296
  end
1877
2297
 
2298
+ # Configuration for reading Cloud Storage data in text format. Each line of text
2299
+ # as specified by the delimiter will be set to the `data` field of a Pub/Sub
2300
+ # message.
2301
+ class TextFormat
2302
+ include Google::Apis::Core::Hashable
2303
+
2304
+ # Optional. When unset, '\n' is used.
2305
+ # Corresponds to the JSON property `delimiter`
2306
+ # @return [String]
2307
+ attr_accessor :delimiter
2308
+
2309
+ def initialize(**args)
2310
+ update!(**args)
2311
+ end
2312
+
2313
+ # Update properties of this object
2314
+ def update!(**args)
2315
+ @delimiter = args[:delimiter] if args.key?(:delimiter)
2316
+ end
2317
+ end
2318
+
1878
2319
  # A topic resource.
1879
2320
  class Topic
1880
2321
  include Google::Apis::Core::Hashable
@@ -1914,6 +2355,12 @@ module Google
1914
2355
  # @return [Google::Apis::PubsubV1::MessageStoragePolicy]
1915
2356
  attr_accessor :message_storage_policy
1916
2357
 
2358
+ # Optional. Transforms to be applied to messages published to the topic.
2359
+ # Transforms are applied in the order specified.
2360
+ # Corresponds to the JSON property `messageTransforms`
2361
+ # @return [Array<Google::Apis::PubsubV1::MessageTransform>]
2362
+ attr_accessor :message_transforms
2363
+
1917
2364
  # Required. The name of the topic. It must have the format `"projects/`project`/
1918
2365
  # topics/`topic`"`. ``topic`` must start with a letter, and contain only letters
1919
2366
  # (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`)
@@ -1940,6 +2387,13 @@ module Google
1940
2387
  # @return [String]
1941
2388
  attr_accessor :state
1942
2389
 
2390
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
2391
+ # resource. For example: "123/environment": "production", "123/costCenter": "
2392
+ # marketing"
2393
+ # Corresponds to the JSON property `tags`
2394
+ # @return [Hash<String,String>]
2395
+ attr_accessor :tags
2396
+
1943
2397
  def initialize(**args)
1944
2398
  update!(**args)
1945
2399
  end
@@ -1951,10 +2405,12 @@ module Google
1951
2405
  @labels = args[:labels] if args.key?(:labels)
1952
2406
  @message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
1953
2407
  @message_storage_policy = args[:message_storage_policy] if args.key?(:message_storage_policy)
2408
+ @message_transforms = args[:message_transforms] if args.key?(:message_transforms)
1954
2409
  @name = args[:name] if args.key?(:name)
1955
2410
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1956
2411
  @schema_settings = args[:schema_settings] if args.key?(:schema_settings)
1957
2412
  @state = args[:state] if args.key?(:state)
2413
+ @tags = args[:tags] if args.key?(:tags)
1958
2414
  end
1959
2415
  end
1960
2416
 
@@ -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.53.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240618"
25
+ REVISION = "20251025"
26
26
  end
27
27
  end
28
28
  end
@@ -40,12 +40,30 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class AvroFormat
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class AwsKinesis
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
46
52
  include Google::Apis::Core::JsonObjectSupport
47
53
  end
48
54
 
55
+ class AwsMsk
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AzureEventHubs
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
49
67
  class BigQueryConfig
50
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
69
 
@@ -58,6 +76,12 @@ module Google
58
76
  include Google::Apis::Core::JsonObjectSupport
59
77
  end
60
78
 
79
+ class CloudStorage
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
61
85
  class CloudStorageConfig
62
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
87
 
@@ -70,6 +94,12 @@ module Google
70
94
  include Google::Apis::Core::JsonObjectSupport
71
95
  end
72
96
 
97
+ class ConfluentCloud
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
73
103
  class CreateSnapshotRequest
74
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
105
 
@@ -112,6 +142,12 @@ module Google
112
142
  include Google::Apis::Core::JsonObjectSupport
113
143
  end
114
144
 
145
+ class JavaScriptUdf
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
115
151
  class ListSchemaRevisionsResponse
116
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
153
 
@@ -160,6 +196,12 @@ module Google
160
196
  include Google::Apis::Core::JsonObjectSupport
161
197
  end
162
198
 
199
+ class MessageTransform
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
163
205
  class ModifyAckDeadlineRequest
164
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
207
 
@@ -184,12 +226,24 @@ module Google
184
226
  include Google::Apis::Core::JsonObjectSupport
185
227
  end
186
228
 
229
+ class PlatformLogsSettings
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
187
235
  class Policy
188
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
237
 
190
238
  include Google::Apis::Core::JsonObjectSupport
191
239
  end
192
240
 
241
+ class PubSubAvroFormat
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
193
247
  class PublishRequest
194
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
249
 
@@ -310,6 +364,12 @@ module Google
310
364
  include Google::Apis::Core::JsonObjectSupport
311
365
  end
312
366
 
367
+ class TextFormat
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
313
373
  class Topic
314
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
375
 
@@ -381,6 +441,12 @@ module Google
381
441
  end
382
442
  end
383
443
 
444
+ class AvroFormat
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ end
448
+ end
449
+
384
450
  class AwsKinesis
385
451
  # @private
386
452
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -392,6 +458,31 @@ module Google
392
458
  end
393
459
  end
394
460
 
461
+ class AwsMsk
462
+ # @private
463
+ class Representation < Google::Apis::Core::JsonRepresentation
464
+ property :aws_role_arn, as: 'awsRoleArn'
465
+ property :cluster_arn, as: 'clusterArn'
466
+ property :gcp_service_account, as: 'gcpServiceAccount'
467
+ property :state, as: 'state'
468
+ property :topic, as: 'topic'
469
+ end
470
+ end
471
+
472
+ class AzureEventHubs
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :client_id, as: 'clientId'
476
+ property :event_hub, as: 'eventHub'
477
+ property :gcp_service_account, as: 'gcpServiceAccount'
478
+ property :namespace, as: 'namespace'
479
+ property :resource_group, as: 'resourceGroup'
480
+ property :state, as: 'state'
481
+ property :subscription_id, as: 'subscriptionId'
482
+ property :tenant_id, as: 'tenantId'
483
+ end
484
+ end
485
+
395
486
  class BigQueryConfig
396
487
  # @private
397
488
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -415,6 +506,22 @@ module Google
415
506
  end
416
507
  end
417
508
 
509
+ class CloudStorage
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :avro_format, as: 'avroFormat', class: Google::Apis::PubsubV1::AvroFormat, decorator: Google::Apis::PubsubV1::AvroFormat::Representation
513
+
514
+ property :bucket, as: 'bucket'
515
+ property :match_glob, as: 'matchGlob'
516
+ property :minimum_object_create_time, as: 'minimumObjectCreateTime'
517
+ property :pubsub_avro_format, as: 'pubsubAvroFormat', class: Google::Apis::PubsubV1::PubSubAvroFormat, decorator: Google::Apis::PubsubV1::PubSubAvroFormat::Representation
518
+
519
+ property :state, as: 'state'
520
+ property :text_format, as: 'textFormat', class: Google::Apis::PubsubV1::TextFormat, decorator: Google::Apis::PubsubV1::TextFormat::Representation
521
+
522
+ end
523
+ end
524
+
418
525
  class CloudStorageConfig
419
526
  # @private
420
527
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -426,6 +533,7 @@ module Google
426
533
  property :filename_suffix, as: 'filenameSuffix'
427
534
  property :max_bytes, :numeric_string => true, as: 'maxBytes'
428
535
  property :max_duration, as: 'maxDuration'
536
+ property :max_messages, :numeric_string => true, as: 'maxMessages'
429
537
  property :service_account_email, as: 'serviceAccountEmail'
430
538
  property :state, as: 'state'
431
539
  property :text_config, as: 'textConfig', class: Google::Apis::PubsubV1::TextConfig, decorator: Google::Apis::PubsubV1::TextConfig::Representation
@@ -441,11 +549,24 @@ module Google
441
549
  end
442
550
  end
443
551
 
552
+ class ConfluentCloud
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :bootstrap_server, as: 'bootstrapServer'
556
+ property :cluster_id, as: 'clusterId'
557
+ property :gcp_service_account, as: 'gcpServiceAccount'
558
+ property :identity_pool_id, as: 'identityPoolId'
559
+ property :state, as: 'state'
560
+ property :topic, as: 'topic'
561
+ end
562
+ end
563
+
444
564
  class CreateSnapshotRequest
445
565
  # @private
446
566
  class Representation < Google::Apis::Core::JsonRepresentation
447
567
  hash :labels, as: 'labels'
448
568
  property :subscription, as: 'subscription'
569
+ hash :tags, as: 'tags'
449
570
  end
450
571
  end
451
572
 
@@ -491,6 +612,24 @@ module Google
491
612
  class Representation < Google::Apis::Core::JsonRepresentation
492
613
  property :aws_kinesis, as: 'awsKinesis', class: Google::Apis::PubsubV1::AwsKinesis, decorator: Google::Apis::PubsubV1::AwsKinesis::Representation
493
614
 
615
+ property :aws_msk, as: 'awsMsk', class: Google::Apis::PubsubV1::AwsMsk, decorator: Google::Apis::PubsubV1::AwsMsk::Representation
616
+
617
+ property :azure_event_hubs, as: 'azureEventHubs', class: Google::Apis::PubsubV1::AzureEventHubs, decorator: Google::Apis::PubsubV1::AzureEventHubs::Representation
618
+
619
+ property :cloud_storage, as: 'cloudStorage', class: Google::Apis::PubsubV1::CloudStorage, decorator: Google::Apis::PubsubV1::CloudStorage::Representation
620
+
621
+ property :confluent_cloud, as: 'confluentCloud', class: Google::Apis::PubsubV1::ConfluentCloud, decorator: Google::Apis::PubsubV1::ConfluentCloud::Representation
622
+
623
+ property :platform_logs_settings, as: 'platformLogsSettings', class: Google::Apis::PubsubV1::PlatformLogsSettings, decorator: Google::Apis::PubsubV1::PlatformLogsSettings::Representation
624
+
625
+ end
626
+ end
627
+
628
+ class JavaScriptUdf
629
+ # @private
630
+ class Representation < Google::Apis::Core::JsonRepresentation
631
+ property :code, as: 'code'
632
+ property :function_name, as: 'functionName'
494
633
  end
495
634
  end
496
635
 
@@ -563,6 +702,16 @@ module Google
563
702
  end
564
703
  end
565
704
 
705
+ class MessageTransform
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ property :disabled, as: 'disabled'
709
+ property :enabled, as: 'enabled'
710
+ property :javascript_udf, as: 'javascriptUdf', class: Google::Apis::PubsubV1::JavaScriptUdf, decorator: Google::Apis::PubsubV1::JavaScriptUdf::Representation
711
+
712
+ end
713
+ end
714
+
566
715
  class ModifyAckDeadlineRequest
567
716
  # @private
568
717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -594,6 +743,13 @@ module Google
594
743
  end
595
744
  end
596
745
 
746
+ class PlatformLogsSettings
747
+ # @private
748
+ class Representation < Google::Apis::Core::JsonRepresentation
749
+ property :severity, as: 'severity'
750
+ end
751
+ end
752
+
597
753
  class Policy
598
754
  # @private
599
755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -604,6 +760,12 @@ module Google
604
760
  end
605
761
  end
606
762
 
763
+ class PubSubAvroFormat
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ end
767
+ end
768
+
607
769
  class PublishRequest
608
770
  # @private
609
771
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -764,6 +926,8 @@ module Google
764
926
  property :filter, as: 'filter'
765
927
  hash :labels, as: 'labels'
766
928
  property :message_retention_duration, as: 'messageRetentionDuration'
929
+ collection :message_transforms, as: 'messageTransforms', class: Google::Apis::PubsubV1::MessageTransform, decorator: Google::Apis::PubsubV1::MessageTransform::Representation
930
+
767
931
  property :name, as: 'name'
768
932
  property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation
769
933
 
@@ -771,6 +935,7 @@ module Google
771
935
  property :retry_policy, as: 'retryPolicy', class: Google::Apis::PubsubV1::RetryPolicy, decorator: Google::Apis::PubsubV1::RetryPolicy::Representation
772
936
 
773
937
  property :state, as: 'state'
938
+ hash :tags, as: 'tags'
774
939
  property :topic, as: 'topic'
775
940
  property :topic_message_retention_duration, as: 'topicMessageRetentionDuration'
776
941
  end
@@ -796,6 +961,13 @@ module Google
796
961
  end
797
962
  end
798
963
 
964
+ class TextFormat
965
+ # @private
966
+ class Representation < Google::Apis::Core::JsonRepresentation
967
+ property :delimiter, as: 'delimiter'
968
+ end
969
+ end
970
+
799
971
  class Topic
800
972
  # @private
801
973
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -806,11 +978,14 @@ module Google
806
978
  property :message_retention_duration, as: 'messageRetentionDuration'
807
979
  property :message_storage_policy, as: 'messageStoragePolicy', class: Google::Apis::PubsubV1::MessageStoragePolicy, decorator: Google::Apis::PubsubV1::MessageStoragePolicy::Representation
808
980
 
981
+ collection :message_transforms, as: 'messageTransforms', class: Google::Apis::PubsubV1::MessageTransform, decorator: Google::Apis::PubsubV1::MessageTransform::Representation
982
+
809
983
  property :name, as: 'name'
810
984
  property :satisfies_pzs, as: 'satisfiesPzs'
811
985
  property :schema_settings, as: 'schemaSettings', class: Google::Apis::PubsubV1::SchemaSettings, decorator: Google::Apis::PubsubV1::SchemaSettings::Representation
812
986
 
813
987
  property :state, as: 'state'
988
+ hash :tags, as: 'tags'
814
989
  end
815
990
  end
816
991
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pubsub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.53.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.63.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - ">="
70
68
  - !ruby/object:Gem::Version
71
- version: '2.7'
69
+ version: '3.1'
72
70
  required_rubygems_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
72
  - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.9
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Pub/Sub API V1
82
79
  test_files: []