google-apis-pubsub_v1 0.56.0 → 0.58.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 +8 -0
- data/lib/google/apis/pubsub_v1/classes.rb +190 -2
- data/lib/google/apis/pubsub_v1/gem_version.rb +2 -2
- data/lib/google/apis/pubsub_v1/representations.rb +61 -0
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bf5308b8c2b4de7f211867dc864b2ac2b98ea8e786aafaa45af47ee0364d999
|
4
|
+
data.tar.gz: 975adb6f04114914b73d5fc999d73f6e1a9ce862082b529d7b4be59dd2f52962
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a3da54c2794392117eb886a931929edd7798c0a88d5fc35f052c04548a50c138b5fe6e9e06da785a6710adfe207269c4703d6e106da0ea8263455e1d2b14b9e
|
7
|
+
data.tar.gz: bbac5fc12bae338c66a7e8abfa204cfa9a5f7e20e2c8b7ec7604351a17eff3fa7c886d039fabe0e2b36f2c8a2d555b2aaa26e2fd8fc606b05e80cd104a384f3b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-pubsub_v1
|
2
2
|
|
3
|
+
### v0.58.0 (2025-01-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241231
|
6
|
+
|
7
|
+
### v0.57.0 (2024-12-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241212
|
10
|
+
|
3
11
|
### v0.56.0 (2024-09-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240918
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
# Information about an associated Analytics Hub subscription
|
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
|
@@ -168,6 +168,121 @@ module Google
|
|
168
168
|
end
|
169
169
|
end
|
170
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
|
+
|
171
286
|
# Configuration for a BigQuery subscription.
|
172
287
|
class BigQueryConfig
|
173
288
|
include Google::Apis::Core::Hashable
|
@@ -532,6 +647,61 @@ module Google
|
|
532
647
|
end
|
533
648
|
end
|
534
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
|
+
|
535
705
|
# Request for the `CreateSnapshot` method.
|
536
706
|
class CreateSnapshotRequest
|
537
707
|
include Google::Apis::Core::Hashable
|
@@ -720,11 +890,26 @@ module Google
|
|
720
890
|
# @return [Google::Apis::PubsubV1::AwsKinesis]
|
721
891
|
attr_accessor :aws_kinesis
|
722
892
|
|
893
|
+
# Ingestion settings for Amazon MSK.
|
894
|
+
# Corresponds to the JSON property `awsMsk`
|
895
|
+
# @return [Google::Apis::PubsubV1::AwsMsk]
|
896
|
+
attr_accessor :aws_msk
|
897
|
+
|
898
|
+
# Ingestion settings for Azure Event Hubs.
|
899
|
+
# Corresponds to the JSON property `azureEventHubs`
|
900
|
+
# @return [Google::Apis::PubsubV1::AzureEventHubs]
|
901
|
+
attr_accessor :azure_event_hubs
|
902
|
+
|
723
903
|
# Ingestion settings for Cloud Storage.
|
724
904
|
# Corresponds to the JSON property `cloudStorage`
|
725
905
|
# @return [Google::Apis::PubsubV1::CloudStorage]
|
726
906
|
attr_accessor :cloud_storage
|
727
907
|
|
908
|
+
# Ingestion settings for Confluent Cloud.
|
909
|
+
# Corresponds to the JSON property `confluentCloud`
|
910
|
+
# @return [Google::Apis::PubsubV1::ConfluentCloud]
|
911
|
+
attr_accessor :confluent_cloud
|
912
|
+
|
728
913
|
# Settings for Platform Logs produced by Pub/Sub.
|
729
914
|
# Corresponds to the JSON property `platformLogsSettings`
|
730
915
|
# @return [Google::Apis::PubsubV1::PlatformLogsSettings]
|
@@ -737,7 +922,10 @@ module Google
|
|
737
922
|
# Update properties of this object
|
738
923
|
def update!(**args)
|
739
924
|
@aws_kinesis = args[:aws_kinesis] if args.key?(:aws_kinesis)
|
925
|
+
@aws_msk = args[:aws_msk] if args.key?(:aws_msk)
|
926
|
+
@azure_event_hubs = args[:azure_event_hubs] if args.key?(:azure_event_hubs)
|
740
927
|
@cloud_storage = args[:cloud_storage] if args.key?(:cloud_storage)
|
928
|
+
@confluent_cloud = args[:confluent_cloud] if args.key?(:confluent_cloud)
|
741
929
|
@platform_logs_settings = args[:platform_logs_settings] if args.key?(:platform_logs_settings)
|
742
930
|
end
|
743
931
|
end
|
@@ -1784,7 +1972,7 @@ module Google
|
|
1784
1972
|
# @return [Fixnum]
|
1785
1973
|
attr_accessor :ack_deadline_seconds
|
1786
1974
|
|
1787
|
-
# Information about an associated Analytics Hub subscription
|
1975
|
+
# Information about an associated [Analytics Hub subscription](https://cloud.
|
1788
1976
|
# google.com/bigquery/docs/analytics-hub-manage-subscriptions).
|
1789
1977
|
# Corresponds to the JSON property `analyticsHubSubscriptionInfo`
|
1790
1978
|
# @return [Google::Apis::PubsubV1::AnalyticsHubSubscriptionInfo]
|
@@ -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.58.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 = "20241231"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,18 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
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
|
+
|
55
67
|
class BigQueryConfig
|
56
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
69
|
|
@@ -82,6 +94,12 @@ module Google
|
|
82
94
|
include Google::Apis::Core::JsonObjectSupport
|
83
95
|
end
|
84
96
|
|
97
|
+
class ConfluentCloud
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
85
103
|
class CreateSnapshotRequest
|
86
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
105
|
|
@@ -428,6 +446,31 @@ module Google
|
|
428
446
|
end
|
429
447
|
end
|
430
448
|
|
449
|
+
class AwsMsk
|
450
|
+
# @private
|
451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
452
|
+
property :aws_role_arn, as: 'awsRoleArn'
|
453
|
+
property :cluster_arn, as: 'clusterArn'
|
454
|
+
property :gcp_service_account, as: 'gcpServiceAccount'
|
455
|
+
property :state, as: 'state'
|
456
|
+
property :topic, as: 'topic'
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
class AzureEventHubs
|
461
|
+
# @private
|
462
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
463
|
+
property :client_id, as: 'clientId'
|
464
|
+
property :event_hub, as: 'eventHub'
|
465
|
+
property :gcp_service_account, as: 'gcpServiceAccount'
|
466
|
+
property :namespace, as: 'namespace'
|
467
|
+
property :resource_group, as: 'resourceGroup'
|
468
|
+
property :state, as: 'state'
|
469
|
+
property :subscription_id, as: 'subscriptionId'
|
470
|
+
property :tenant_id, as: 'tenantId'
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
431
474
|
class BigQueryConfig
|
432
475
|
# @private
|
433
476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -494,6 +537,18 @@ module Google
|
|
494
537
|
end
|
495
538
|
end
|
496
539
|
|
540
|
+
class ConfluentCloud
|
541
|
+
# @private
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
543
|
+
property :bootstrap_server, as: 'bootstrapServer'
|
544
|
+
property :cluster_id, as: 'clusterId'
|
545
|
+
property :gcp_service_account, as: 'gcpServiceAccount'
|
546
|
+
property :identity_pool_id, as: 'identityPoolId'
|
547
|
+
property :state, as: 'state'
|
548
|
+
property :topic, as: 'topic'
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
497
552
|
class CreateSnapshotRequest
|
498
553
|
# @private
|
499
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -544,8 +599,14 @@ module Google
|
|
544
599
|
class Representation < Google::Apis::Core::JsonRepresentation
|
545
600
|
property :aws_kinesis, as: 'awsKinesis', class: Google::Apis::PubsubV1::AwsKinesis, decorator: Google::Apis::PubsubV1::AwsKinesis::Representation
|
546
601
|
|
602
|
+
property :aws_msk, as: 'awsMsk', class: Google::Apis::PubsubV1::AwsMsk, decorator: Google::Apis::PubsubV1::AwsMsk::Representation
|
603
|
+
|
604
|
+
property :azure_event_hubs, as: 'azureEventHubs', class: Google::Apis::PubsubV1::AzureEventHubs, decorator: Google::Apis::PubsubV1::AzureEventHubs::Representation
|
605
|
+
|
547
606
|
property :cloud_storage, as: 'cloudStorage', class: Google::Apis::PubsubV1::CloudStorage, decorator: Google::Apis::PubsubV1::CloudStorage::Representation
|
548
607
|
|
608
|
+
property :confluent_cloud, as: 'confluentCloud', class: Google::Apis::PubsubV1::ConfluentCloud, decorator: Google::Apis::PubsubV1::ConfluentCloud::Representation
|
609
|
+
|
549
610
|
property :platform_logs_settings, as: 'platformLogsSettings', class: Google::Apis::PubsubV1::PlatformLogsSettings, decorator: Google::Apis::PubsubV1::PlatformLogsSettings::Representation
|
550
611
|
|
551
612
|
end
|
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.
|
4
|
+
version: 0.58.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-12 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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.58.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
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.2
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Cloud Pub/Sub API V1
|
82
79
|
test_files: []
|