google-apis-pubsub_v1 0.55.0 → 0.57.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: 399643faad0a3606df5a2501af82c54328dc395fa6235169b8e1b55e7b32900c
4
- data.tar.gz: f3aad6f3df9873787907865442ff9ee97b71961ce5a53408ad1f93b8ebc3d134
3
+ metadata.gz: dd6c08fa78cae7ff81c20f576668a90724d23cf4ecd7eea619b2569ceca820d8
4
+ data.tar.gz: e766fc4e71d0e192bd05232ea0254c353337694a1c3cf5231ee3a69249aebab3
5
5
  SHA512:
6
- metadata.gz: 8c7a2f0eea0d134e0cd2d23e14dfe92dcc4c0cb9b7abb994a15ace0485e35a7bb23722b2c770abf23a2a91c613870b1a20db15a220b5ac8899d20098f39bcedf
7
- data.tar.gz: 19cac97af3ab79bc2117f63cd989c5384907f8c990b1038324c4dda8997a87a60bb16f1e3d90730626363df5fb0e67c53e1cf818be6d29ad334a520e77524b3e
6
+ metadata.gz: b45059a14c4e62c93c993cf12d16e814feb9f95a75a640e5ae2bbefb810507de1c2ef4989cf1892922b879623debd2de11e9cc972c8dd273055b7f82735dff80
7
+ data.tar.gz: facb35af5ff7f2fa8ffddbf87364bc404ee5732deb116079ceb3de1c2358eee5309a2a1c1a356b6683e117499ffa3f09ef788a5028e5a3b3d7ecbe74c6e4f7cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.57.0 (2024-12-22)
4
+
5
+ * Regenerated from discovery document revision 20241212
6
+
7
+ ### v0.56.0 (2024-09-29)
8
+
9
+ * Regenerated from discovery document revision 20240918
10
+
3
11
  ### v0.55.0 (2024-09-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20240912
@@ -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
@@ -332,6 +346,74 @@ module Google
332
346
  end
333
347
  end
334
348
 
349
+ # Ingestion settings for Cloud Storage.
350
+ class CloudStorage
351
+ include Google::Apis::Core::Hashable
352
+
353
+ # Configuration for reading Cloud Storage data in Avro binary format. The bytes
354
+ # of each object will be set to the `data` field of a Pub/Sub message.
355
+ # Corresponds to the JSON property `avroFormat`
356
+ # @return [Google::Apis::PubsubV1::AvroFormat]
357
+ attr_accessor :avro_format
358
+
359
+ # Optional. Cloud Storage bucket. The bucket name must be without any prefix
360
+ # like "gs://". See the [bucket naming requirements] (https://cloud.google.com/
361
+ # storage/docs/buckets#naming).
362
+ # Corresponds to the JSON property `bucket`
363
+ # @return [String]
364
+ attr_accessor :bucket
365
+
366
+ # Optional. Glob pattern used to match objects that will be ingested. If unset,
367
+ # all objects will be ingested. See the [supported patterns](https://cloud.
368
+ # google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-
369
+ # using-glob).
370
+ # Corresponds to the JSON property `matchGlob`
371
+ # @return [String]
372
+ attr_accessor :match_glob
373
+
374
+ # Optional. Only objects with a larger or equal creation timestamp will be
375
+ # ingested.
376
+ # Corresponds to the JSON property `minimumObjectCreateTime`
377
+ # @return [String]
378
+ attr_accessor :minimum_object_create_time
379
+
380
+ # Configuration for reading Cloud Storage data written via [Cloud Storage
381
+ # subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data
382
+ # and attributes fields of the originally exported Pub/Sub message will be
383
+ # restored when publishing.
384
+ # Corresponds to the JSON property `pubsubAvroFormat`
385
+ # @return [Google::Apis::PubsubV1::PubSubAvroFormat]
386
+ attr_accessor :pubsub_avro_format
387
+
388
+ # Output only. An output-only field that indicates the state of the Cloud
389
+ # Storage ingestion source.
390
+ # Corresponds to the JSON property `state`
391
+ # @return [String]
392
+ attr_accessor :state
393
+
394
+ # Configuration for reading Cloud Storage data in text format. Each line of text
395
+ # as specified by the delimiter will be set to the `data` field of a Pub/Sub
396
+ # message.
397
+ # Corresponds to the JSON property `textFormat`
398
+ # @return [Google::Apis::PubsubV1::TextFormat]
399
+ attr_accessor :text_format
400
+
401
+ def initialize(**args)
402
+ update!(**args)
403
+ end
404
+
405
+ # Update properties of this object
406
+ def update!(**args)
407
+ @avro_format = args[:avro_format] if args.key?(:avro_format)
408
+ @bucket = args[:bucket] if args.key?(:bucket)
409
+ @match_glob = args[:match_glob] if args.key?(:match_glob)
410
+ @minimum_object_create_time = args[:minimum_object_create_time] if args.key?(:minimum_object_create_time)
411
+ @pubsub_avro_format = args[:pubsub_avro_format] if args.key?(:pubsub_avro_format)
412
+ @state = args[:state] if args.key?(:state)
413
+ @text_format = args[:text_format] if args.key?(:text_format)
414
+ end
415
+ end
416
+
335
417
  # Configuration for a Cloud Storage subscription.
336
418
  class CloudStorageConfig
337
419
  include Google::Apis::Core::Hashable
@@ -638,6 +720,16 @@ module Google
638
720
  # @return [Google::Apis::PubsubV1::AwsKinesis]
639
721
  attr_accessor :aws_kinesis
640
722
 
723
+ # Ingestion settings for Cloud Storage.
724
+ # Corresponds to the JSON property `cloudStorage`
725
+ # @return [Google::Apis::PubsubV1::CloudStorage]
726
+ attr_accessor :cloud_storage
727
+
728
+ # Settings for Platform Logs produced by Pub/Sub.
729
+ # Corresponds to the JSON property `platformLogsSettings`
730
+ # @return [Google::Apis::PubsubV1::PlatformLogsSettings]
731
+ attr_accessor :platform_logs_settings
732
+
641
733
  def initialize(**args)
642
734
  update!(**args)
643
735
  end
@@ -645,6 +737,8 @@ module Google
645
737
  # Update properties of this object
646
738
  def update!(**args)
647
739
  @aws_kinesis = args[:aws_kinesis] if args.key?(:aws_kinesis)
740
+ @cloud_storage = args[:cloud_storage] if args.key?(:cloud_storage)
741
+ @platform_logs_settings = args[:platform_logs_settings] if args.key?(:platform_logs_settings)
648
742
  end
649
743
  end
650
744
 
@@ -975,6 +1069,25 @@ module Google
975
1069
  end
976
1070
  end
977
1071
 
1072
+ # Settings for Platform Logs produced by Pub/Sub.
1073
+ class PlatformLogsSettings
1074
+ include Google::Apis::Core::Hashable
1075
+
1076
+ # Optional. The minimum severity level of Platform Logs that will be written.
1077
+ # Corresponds to the JSON property `severity`
1078
+ # @return [String]
1079
+ attr_accessor :severity
1080
+
1081
+ def initialize(**args)
1082
+ update!(**args)
1083
+ end
1084
+
1085
+ # Update properties of this object
1086
+ def update!(**args)
1087
+ @severity = args[:severity] if args.key?(:severity)
1088
+ end
1089
+ end
1090
+
978
1091
  # An Identity and Access Management (IAM) policy, which specifies access
979
1092
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
980
1093
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -1064,6 +1177,22 @@ module Google
1064
1177
  end
1065
1178
  end
1066
1179
 
1180
+ # Configuration for reading Cloud Storage data written via [Cloud Storage
1181
+ # subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data
1182
+ # and attributes fields of the originally exported Pub/Sub message will be
1183
+ # restored when publishing.
1184
+ class PubSubAvroFormat
1185
+ include Google::Apis::Core::Hashable
1186
+
1187
+ def initialize(**args)
1188
+ update!(**args)
1189
+ end
1190
+
1191
+ # Update properties of this object
1192
+ def update!(**args)
1193
+ end
1194
+ end
1195
+
1067
1196
  # Request for the Publish method.
1068
1197
  class PublishRequest
1069
1198
  include Google::Apis::Core::Hashable
@@ -1655,7 +1784,7 @@ module Google
1655
1784
  # @return [Fixnum]
1656
1785
  attr_accessor :ack_deadline_seconds
1657
1786
 
1658
- # Information about an associated Analytics Hub subscription (https://cloud.
1787
+ # Information about an associated [Analytics Hub subscription](https://cloud.
1659
1788
  # google.com/bigquery/docs/analytics-hub-manage-subscriptions).
1660
1789
  # Corresponds to the JSON property `analyticsHubSubscriptionInfo`
1661
1790
  # @return [Google::Apis::PubsubV1::AnalyticsHubSubscriptionInfo]
@@ -1882,6 +2011,27 @@ module Google
1882
2011
  end
1883
2012
  end
1884
2013
 
2014
+ # Configuration for reading Cloud Storage data in text format. Each line of text
2015
+ # as specified by the delimiter will be set to the `data` field of a Pub/Sub
2016
+ # message.
2017
+ class TextFormat
2018
+ include Google::Apis::Core::Hashable
2019
+
2020
+ # Optional. When unset, '\n' is used.
2021
+ # Corresponds to the JSON property `delimiter`
2022
+ # @return [String]
2023
+ attr_accessor :delimiter
2024
+
2025
+ def initialize(**args)
2026
+ update!(**args)
2027
+ end
2028
+
2029
+ # Update properties of this object
2030
+ def update!(**args)
2031
+ @delimiter = args[:delimiter] if args.key?(:delimiter)
2032
+ end
2033
+ end
2034
+
1885
2035
  # A topic resource.
1886
2036
  class Topic
1887
2037
  include Google::Apis::Core::Hashable
@@ -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.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240912"
25
+ REVISION = "20241212"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ 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
 
@@ -58,6 +64,12 @@ module Google
58
64
  include Google::Apis::Core::JsonObjectSupport
59
65
  end
60
66
 
67
+ class CloudStorage
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
61
73
  class CloudStorageConfig
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
@@ -184,12 +196,24 @@ module Google
184
196
  include Google::Apis::Core::JsonObjectSupport
185
197
  end
186
198
 
199
+ class PlatformLogsSettings
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
187
205
  class Policy
188
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
207
 
190
208
  include Google::Apis::Core::JsonObjectSupport
191
209
  end
192
210
 
211
+ class PubSubAvroFormat
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
193
217
  class PublishRequest
194
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
219
 
@@ -310,6 +334,12 @@ module Google
310
334
  include Google::Apis::Core::JsonObjectSupport
311
335
  end
312
336
 
337
+ class TextFormat
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
313
343
  class Topic
314
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
345
 
@@ -381,6 +411,12 @@ module Google
381
411
  end
382
412
  end
383
413
 
414
+ class AvroFormat
415
+ # @private
416
+ class Representation < Google::Apis::Core::JsonRepresentation
417
+ end
418
+ end
419
+
384
420
  class AwsKinesis
385
421
  # @private
386
422
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -415,6 +451,22 @@ module Google
415
451
  end
416
452
  end
417
453
 
454
+ class CloudStorage
455
+ # @private
456
+ class Representation < Google::Apis::Core::JsonRepresentation
457
+ property :avro_format, as: 'avroFormat', class: Google::Apis::PubsubV1::AvroFormat, decorator: Google::Apis::PubsubV1::AvroFormat::Representation
458
+
459
+ property :bucket, as: 'bucket'
460
+ property :match_glob, as: 'matchGlob'
461
+ property :minimum_object_create_time, as: 'minimumObjectCreateTime'
462
+ property :pubsub_avro_format, as: 'pubsubAvroFormat', class: Google::Apis::PubsubV1::PubSubAvroFormat, decorator: Google::Apis::PubsubV1::PubSubAvroFormat::Representation
463
+
464
+ property :state, as: 'state'
465
+ property :text_format, as: 'textFormat', class: Google::Apis::PubsubV1::TextFormat, decorator: Google::Apis::PubsubV1::TextFormat::Representation
466
+
467
+ end
468
+ end
469
+
418
470
  class CloudStorageConfig
419
471
  # @private
420
472
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -492,6 +544,10 @@ module Google
492
544
  class Representation < Google::Apis::Core::JsonRepresentation
493
545
  property :aws_kinesis, as: 'awsKinesis', class: Google::Apis::PubsubV1::AwsKinesis, decorator: Google::Apis::PubsubV1::AwsKinesis::Representation
494
546
 
547
+ property :cloud_storage, as: 'cloudStorage', class: Google::Apis::PubsubV1::CloudStorage, decorator: Google::Apis::PubsubV1::CloudStorage::Representation
548
+
549
+ property :platform_logs_settings, as: 'platformLogsSettings', class: Google::Apis::PubsubV1::PlatformLogsSettings, decorator: Google::Apis::PubsubV1::PlatformLogsSettings::Representation
550
+
495
551
  end
496
552
  end
497
553
 
@@ -595,6 +651,13 @@ module Google
595
651
  end
596
652
  end
597
653
 
654
+ class PlatformLogsSettings
655
+ # @private
656
+ class Representation < Google::Apis::Core::JsonRepresentation
657
+ property :severity, as: 'severity'
658
+ end
659
+ end
660
+
598
661
  class Policy
599
662
  # @private
600
663
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -605,6 +668,12 @@ module Google
605
668
  end
606
669
  end
607
670
 
671
+ class PubSubAvroFormat
672
+ # @private
673
+ class Representation < Google::Apis::Core::JsonRepresentation
674
+ end
675
+ end
676
+
608
677
  class PublishRequest
609
678
  # @private
610
679
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -797,6 +866,13 @@ module Google
797
866
  end
798
867
  end
799
868
 
869
+ class TextFormat
870
+ # @private
871
+ class Representation < Google::Apis::Core::JsonRepresentation
872
+ property :delimiter, as: 'delimiter'
873
+ end
874
+ end
875
+
800
876
  class Topic
801
877
  # @private
802
878
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pubsub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-22 00:00:00.000000000 Z
11
+ date: 2025-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.57.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Pub/Sub API V1