google-apis-pubsub_v1 0.55.0 → 0.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/pubsub_v1/classes.rb +150 -0
- data/lib/google/apis/pubsub_v1/gem_version.rb +2 -2
- data/lib/google/apis/pubsub_v1/representations.rb +76 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b23edc30cf2d3984946982f54e729addc7ce922d5c83fe8d05eceb6da467c507
|
4
|
+
data.tar.gz: 65a33e452273d9075133dc4e86a1bd4d40aac7f1371904bbd71cbb1d77e8bcc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 311ee6e7e52f6fb9dd562a6c99979a99ecd21baabe3e8cf764f0654163bc8da0ee269fecb62bb531fd30f535855cd63679af378ee13fc14354c48820c95621e3
|
7
|
+
data.tar.gz: 41590c38980560a63c5cf48f3264dc995d512d4030d3b1ba545582085854a9c66242b3d6e9f200a41c67e26e48446d64cd38140017bc8e43b29cbf1ee93b6578
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.56.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 = "
|
25
|
+
REVISION = "20240918"
|
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.
|
4
|
+
version: 0.56.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-
|
11
|
+
date: 2024-09-29 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.56.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: []
|