google-apis-pubsub_v1 0.28.0 → 0.53.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 +4 -4
- data/CHANGELOG.md +104 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/pubsub_v1/classes.rb +670 -232
- data/lib/google/apis/pubsub_v1/gem_version.rb +3 -3
- data/lib/google/apis/pubsub_v1/representations.rb +176 -0
- data/lib/google/apis/pubsub_v1/service.rb +194 -44
- metadata +7 -7
@@ -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.53.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240618"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,24 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AnalyticsHubSubscriptionInfo
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AvroConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AwsKinesis
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
31
49
|
class BigQueryConfig
|
32
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
51
|
|
@@ -40,6 +58,18 @@ module Google
|
|
40
58
|
include Google::Apis::Core::JsonObjectSupport
|
41
59
|
end
|
42
60
|
|
61
|
+
class CloudStorageConfig
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CommitSchemaRequest
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
43
73
|
class CreateSnapshotRequest
|
44
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
75
|
|
@@ -76,6 +106,18 @@ module Google
|
|
76
106
|
include Google::Apis::Core::JsonObjectSupport
|
77
107
|
end
|
78
108
|
|
109
|
+
class IngestionDataSourceSettings
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ListSchemaRevisionsResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
79
121
|
class ListSchemasResponse
|
80
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
123
|
|
@@ -130,6 +172,12 @@ module Google
|
|
130
172
|
include Google::Apis::Core::JsonObjectSupport
|
131
173
|
end
|
132
174
|
|
175
|
+
class NoWrapper
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
133
181
|
class OidcToken
|
134
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
183
|
|
@@ -160,6 +208,12 @@ module Google
|
|
160
208
|
include Google::Apis::Core::JsonObjectSupport
|
161
209
|
end
|
162
210
|
|
211
|
+
class PubsubWrapper
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
163
217
|
class PullRequest
|
164
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
219
|
|
@@ -190,6 +244,12 @@ module Google
|
|
190
244
|
include Google::Apis::Core::JsonObjectSupport
|
191
245
|
end
|
192
246
|
|
247
|
+
class RollbackSchemaRequest
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
193
253
|
class Schema
|
194
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
255
|
|
@@ -244,6 +304,12 @@ module Google
|
|
244
304
|
include Google::Apis::Core::JsonObjectSupport
|
245
305
|
end
|
246
306
|
|
307
|
+
class TextConfig
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
247
313
|
class Topic
|
248
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
315
|
|
@@ -299,12 +365,41 @@ module Google
|
|
299
365
|
end
|
300
366
|
end
|
301
367
|
|
368
|
+
class AnalyticsHubSubscriptionInfo
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
property :listing, as: 'listing'
|
372
|
+
property :subscription, as: 'subscription'
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
class AvroConfig
|
377
|
+
# @private
|
378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
379
|
+
property :use_topic_schema, as: 'useTopicSchema'
|
380
|
+
property :write_metadata, as: 'writeMetadata'
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
class AwsKinesis
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
property :aws_role_arn, as: 'awsRoleArn'
|
388
|
+
property :consumer_arn, as: 'consumerArn'
|
389
|
+
property :gcp_service_account, as: 'gcpServiceAccount'
|
390
|
+
property :state, as: 'state'
|
391
|
+
property :stream_arn, as: 'streamArn'
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
302
395
|
class BigQueryConfig
|
303
396
|
# @private
|
304
397
|
class Representation < Google::Apis::Core::JsonRepresentation
|
305
398
|
property :drop_unknown_fields, as: 'dropUnknownFields'
|
399
|
+
property :service_account_email, as: 'serviceAccountEmail'
|
306
400
|
property :state, as: 'state'
|
307
401
|
property :table, as: 'table'
|
402
|
+
property :use_table_schema, as: 'useTableSchema'
|
308
403
|
property :use_topic_schema, as: 'useTopicSchema'
|
309
404
|
property :write_metadata, as: 'writeMetadata'
|
310
405
|
end
|
@@ -320,6 +415,32 @@ module Google
|
|
320
415
|
end
|
321
416
|
end
|
322
417
|
|
418
|
+
class CloudStorageConfig
|
419
|
+
# @private
|
420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
421
|
+
property :avro_config, as: 'avroConfig', class: Google::Apis::PubsubV1::AvroConfig, decorator: Google::Apis::PubsubV1::AvroConfig::Representation
|
422
|
+
|
423
|
+
property :bucket, as: 'bucket'
|
424
|
+
property :filename_datetime_format, as: 'filenameDatetimeFormat'
|
425
|
+
property :filename_prefix, as: 'filenamePrefix'
|
426
|
+
property :filename_suffix, as: 'filenameSuffix'
|
427
|
+
property :max_bytes, :numeric_string => true, as: 'maxBytes'
|
428
|
+
property :max_duration, as: 'maxDuration'
|
429
|
+
property :service_account_email, as: 'serviceAccountEmail'
|
430
|
+
property :state, as: 'state'
|
431
|
+
property :text_config, as: 'textConfig', class: Google::Apis::PubsubV1::TextConfig, decorator: Google::Apis::PubsubV1::TextConfig::Representation
|
432
|
+
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class CommitSchemaRequest
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
property :schema, as: 'schema', class: Google::Apis::PubsubV1::Schema, decorator: Google::Apis::PubsubV1::Schema::Representation
|
440
|
+
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
323
444
|
class CreateSnapshotRequest
|
324
445
|
# @private
|
325
446
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -365,6 +486,23 @@ module Google
|
|
365
486
|
end
|
366
487
|
end
|
367
488
|
|
489
|
+
class IngestionDataSourceSettings
|
490
|
+
# @private
|
491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
492
|
+
property :aws_kinesis, as: 'awsKinesis', class: Google::Apis::PubsubV1::AwsKinesis, decorator: Google::Apis::PubsubV1::AwsKinesis::Representation
|
493
|
+
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
class ListSchemaRevisionsResponse
|
498
|
+
# @private
|
499
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
500
|
+
property :next_page_token, as: 'nextPageToken'
|
501
|
+
collection :schemas, as: 'schemas', class: Google::Apis::PubsubV1::Schema, decorator: Google::Apis::PubsubV1::Schema::Representation
|
502
|
+
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
368
506
|
class ListSchemasResponse
|
369
507
|
# @private
|
370
508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -421,6 +559,7 @@ module Google
|
|
421
559
|
# @private
|
422
560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
423
561
|
collection :allowed_persistence_regions, as: 'allowedPersistenceRegions'
|
562
|
+
property :enforce_in_transit, as: 'enforceInTransit'
|
424
563
|
end
|
425
564
|
end
|
426
565
|
|
@@ -440,6 +579,13 @@ module Google
|
|
440
579
|
end
|
441
580
|
end
|
442
581
|
|
582
|
+
class NoWrapper
|
583
|
+
# @private
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
+
property :write_metadata, as: 'writeMetadata'
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
443
589
|
class OidcToken
|
444
590
|
# @private
|
445
591
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -484,6 +630,12 @@ module Google
|
|
484
630
|
end
|
485
631
|
end
|
486
632
|
|
633
|
+
class PubsubWrapper
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
487
639
|
class PullRequest
|
488
640
|
# @private
|
489
641
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -504,8 +656,12 @@ module Google
|
|
504
656
|
# @private
|
505
657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
506
658
|
hash :attributes, as: 'attributes'
|
659
|
+
property :no_wrapper, as: 'noWrapper', class: Google::Apis::PubsubV1::NoWrapper, decorator: Google::Apis::PubsubV1::NoWrapper::Representation
|
660
|
+
|
507
661
|
property :oidc_token, as: 'oidcToken', class: Google::Apis::PubsubV1::OidcToken, decorator: Google::Apis::PubsubV1::OidcToken::Representation
|
508
662
|
|
663
|
+
property :pubsub_wrapper, as: 'pubsubWrapper', class: Google::Apis::PubsubV1::PubsubWrapper, decorator: Google::Apis::PubsubV1::PubsubWrapper::Representation
|
664
|
+
|
509
665
|
property :push_endpoint, as: 'pushEndpoint'
|
510
666
|
end
|
511
667
|
end
|
@@ -528,6 +684,13 @@ module Google
|
|
528
684
|
end
|
529
685
|
end
|
530
686
|
|
687
|
+
class RollbackSchemaRequest
|
688
|
+
# @private
|
689
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
690
|
+
property :revision_id, as: 'revisionId'
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
531
694
|
class Schema
|
532
695
|
# @private
|
533
696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -585,8 +748,12 @@ module Google
|
|
585
748
|
# @private
|
586
749
|
class Representation < Google::Apis::Core::JsonRepresentation
|
587
750
|
property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
|
751
|
+
property :analytics_hub_subscription_info, as: 'analyticsHubSubscriptionInfo', class: Google::Apis::PubsubV1::AnalyticsHubSubscriptionInfo, decorator: Google::Apis::PubsubV1::AnalyticsHubSubscriptionInfo::Representation
|
752
|
+
|
588
753
|
property :bigquery_config, as: 'bigqueryConfig', class: Google::Apis::PubsubV1::BigQueryConfig, decorator: Google::Apis::PubsubV1::BigQueryConfig::Representation
|
589
754
|
|
755
|
+
property :cloud_storage_config, as: 'cloudStorageConfig', class: Google::Apis::PubsubV1::CloudStorageConfig, decorator: Google::Apis::PubsubV1::CloudStorageConfig::Representation
|
756
|
+
|
590
757
|
property :dead_letter_policy, as: 'deadLetterPolicy', class: Google::Apis::PubsubV1::DeadLetterPolicy, decorator: Google::Apis::PubsubV1::DeadLetterPolicy::Representation
|
591
758
|
|
592
759
|
property :detached, as: 'detached'
|
@@ -623,9 +790,17 @@ module Google
|
|
623
790
|
end
|
624
791
|
end
|
625
792
|
|
793
|
+
class TextConfig
|
794
|
+
# @private
|
795
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
796
|
+
end
|
797
|
+
end
|
798
|
+
|
626
799
|
class Topic
|
627
800
|
# @private
|
628
801
|
class Representation < Google::Apis::Core::JsonRepresentation
|
802
|
+
property :ingestion_data_source_settings, as: 'ingestionDataSourceSettings', class: Google::Apis::PubsubV1::IngestionDataSourceSettings, decorator: Google::Apis::PubsubV1::IngestionDataSourceSettings::Representation
|
803
|
+
|
629
804
|
property :kms_key_name, as: 'kmsKeyName'
|
630
805
|
hash :labels, as: 'labels'
|
631
806
|
property :message_retention_duration, as: 'messageRetentionDuration'
|
@@ -635,6 +810,7 @@ module Google
|
|
635
810
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
636
811
|
property :schema_settings, as: 'schemaSettings', class: Google::Apis::PubsubV1::SchemaSettings, decorator: Google::Apis::PubsubV1::SchemaSettings::Representation
|
637
812
|
|
813
|
+
property :state, as: 'state'
|
638
814
|
end
|
639
815
|
end
|
640
816
|
|