google-apis-pubsub_v1 0.57.0 → 0.59.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 +9 -0
- data/lib/google/apis/pubsub_v1/classes.rb +276 -9
- data/lib/google/apis/pubsub_v1/gem_version.rb +3 -3
- data/lib/google/apis/pubsub_v1/representations.rb +94 -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: e417f6aaefe6dace780d2d636c9d13abba7476b4ae16eee97922eee3c112a70d
|
4
|
+
data.tar.gz: 735de3646593ea29fc762252019a09ca0de2288e12432eccd29fb8c0901b12d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b371c9b7fbf50d95032666638c3101f6f751c8051ce55586d1edd617dfb4f75915a5d716e58ce717679c0ad9faf666765aff0ae50982e7e889d6ff046018bfd3
|
7
|
+
data.tar.gz: f4724523fefffd85f59ebaa3cffc06d73e8f7971abd7a5a44b060d737a50e92ed93e30d6cff6b2e3e845e296eb5537198704551b98b06a51778631e1ba63766d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-pubsub_v1
|
2
2
|
|
3
|
+
### v0.59.0 (2025-03-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250218
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.58.0 (2025-01-07)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241231
|
11
|
+
|
3
12
|
### v0.57.0 (2024-12-22)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241212
|
@@ -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
|
@@ -461,7 +576,7 @@ module Google
|
|
461
576
|
|
462
577
|
# Optional. The maximum duration that can elapse before a new Cloud Storage file
|
463
578
|
# is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed
|
464
|
-
# the subscription's
|
579
|
+
# the subscription's acknowledgment deadline.
|
465
580
|
# Corresponds to the JSON property `maxDuration`
|
466
581
|
# @return [String]
|
467
582
|
attr_accessor :max_duration
|
@@ -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
|
@@ -584,11 +754,11 @@ module Google
|
|
584
754
|
|
585
755
|
# Optional. The maximum number of delivery attempts for any message. The value
|
586
756
|
# must be between 5 and 100. The number of delivery attempts is defined as 1 + (
|
587
|
-
# the sum of number of NACKs and number of times the
|
588
|
-
#
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
757
|
+
# the sum of number of NACKs and number of times the acknowledgment deadline has
|
758
|
+
# been exceeded for the message). A NACK is any call to ModifyAckDeadline with a
|
759
|
+
# 0 deadline. Note that client libraries may automatically extend ack_deadlines.
|
760
|
+
# This field will be honored on a best effort basis. If this parameter is 0, a
|
761
|
+
# default value of 5 is used.
|
592
762
|
# Corresponds to the JSON property `maxDeliveryAttempts`
|
593
763
|
# @return [Fixnum]
|
594
764
|
attr_accessor :max_delivery_attempts
|
@@ -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,11 +922,51 @@ 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
|
744
932
|
|
933
|
+
# User-defined JavaScript function that can transform or filter a Pub/Sub
|
934
|
+
# message.
|
935
|
+
class JavaScriptUdf
|
936
|
+
include Google::Apis::Core::Hashable
|
937
|
+
|
938
|
+
# Required. JavaScript code that contains a function `function_name` with the
|
939
|
+
# below signature: ``` /** * Transforms a Pub/Sub message. * @return `(Object)>|
|
940
|
+
# null)` - To * filter a message, return `null`. To transform a message return a
|
941
|
+
# map * with the following keys: * - (required) 'data' : `string` * - (optional)
|
942
|
+
# 'attributes' : `Object` * Returning empty `attributes` will remove all
|
943
|
+
# attributes from the * message. * * @param `(Object)>` Pub/Sub * message. Keys:
|
944
|
+
# * - (required) 'data' : `string` * - (required) 'attributes' : `Object` * * @
|
945
|
+
# param `Object` metadata - Pub/Sub message metadata. * Keys: * - (required) '
|
946
|
+
# message_id' : `string` * - (optional) 'publish_time': `string` YYYY-MM-DDTHH:
|
947
|
+
# MM:SSZ format * - (optional) 'ordering_key': `string` */ function (message,
|
948
|
+
# metadata) ` ` ```
|
949
|
+
# Corresponds to the JSON property `code`
|
950
|
+
# @return [String]
|
951
|
+
attr_accessor :code
|
952
|
+
|
953
|
+
# Required. Name of the JavasScript function that should applied to Pub/Sub
|
954
|
+
# messages.
|
955
|
+
# Corresponds to the JSON property `functionName`
|
956
|
+
# @return [String]
|
957
|
+
attr_accessor :function_name
|
958
|
+
|
959
|
+
def initialize(**args)
|
960
|
+
update!(**args)
|
961
|
+
end
|
962
|
+
|
963
|
+
# Update properties of this object
|
964
|
+
def update!(**args)
|
965
|
+
@code = args[:code] if args.key?(:code)
|
966
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
745
970
|
# Response for the `ListSchemaRevisions` method.
|
746
971
|
class ListSchemaRevisionsResponse
|
747
972
|
include Google::Apis::Core::Hashable
|
@@ -962,6 +1187,34 @@ module Google
|
|
962
1187
|
end
|
963
1188
|
end
|
964
1189
|
|
1190
|
+
# All supported message transforms types.
|
1191
|
+
class MessageTransform
|
1192
|
+
include Google::Apis::Core::Hashable
|
1193
|
+
|
1194
|
+
# Optional. If set to true, the transform is enabled. If false, the transform is
|
1195
|
+
# disabled and will not be applied to messages. Defaults to `true`.
|
1196
|
+
# Corresponds to the JSON property `enabled`
|
1197
|
+
# @return [Boolean]
|
1198
|
+
attr_accessor :enabled
|
1199
|
+
alias_method :enabled?, :enabled
|
1200
|
+
|
1201
|
+
# User-defined JavaScript function that can transform or filter a Pub/Sub
|
1202
|
+
# message.
|
1203
|
+
# Corresponds to the JSON property `javascriptUdf`
|
1204
|
+
# @return [Google::Apis::PubsubV1::JavaScriptUdf]
|
1205
|
+
attr_accessor :javascript_udf
|
1206
|
+
|
1207
|
+
def initialize(**args)
|
1208
|
+
update!(**args)
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# Update properties of this object
|
1212
|
+
def update!(**args)
|
1213
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1214
|
+
@javascript_udf = args[:javascript_udf] if args.key?(:javascript_udf)
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
|
965
1218
|
# Request for the ModifyAckDeadline method.
|
966
1219
|
class ModifyAckDeadlineRequest
|
967
1220
|
include Google::Apis::Core::Hashable
|
@@ -1477,7 +1730,7 @@ module Google
|
|
1477
1730
|
# A policy that specifies how Pub/Sub retries message delivery. Retry delay will
|
1478
1731
|
# be exponential based on provided minimum and maximum backoffs. https://en.
|
1479
1732
|
# wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
|
1480
|
-
# or
|
1733
|
+
# or acknowledgment deadline exceeded events for a given message. Retry Policy
|
1481
1734
|
# is implemented on a best effort basis. At times, the delay between consecutive
|
1482
1735
|
# deliveries may not match the configuration. That is, delay can be more or less
|
1483
1736
|
# than configured backoff.
|
@@ -1821,7 +2074,7 @@ module Google
|
|
1821
2074
|
# Optional. If true, Pub/Sub provides the following guarantees for the delivery
|
1822
2075
|
# of a message with a given value of `message_id` on this subscription: * The
|
1823
2076
|
# message sent to a subscriber is guaranteed not to be resent before the message'
|
1824
|
-
# s
|
2077
|
+
# s acknowledgment deadline expires. * An acknowledged message will not be
|
1825
2078
|
# resent to a subscriber. Note that subscribers may still receive multiple
|
1826
2079
|
# copies of a message when `enable_exactly_once_delivery` is true if the message
|
1827
2080
|
# was published multiple times by a publisher client. These copies are
|
@@ -1869,6 +2122,12 @@ module Google
|
|
1869
2122
|
# @return [String]
|
1870
2123
|
attr_accessor :message_retention_duration
|
1871
2124
|
|
2125
|
+
# Optional. Transforms to be applied to messages before they are delivered to
|
2126
|
+
# subscribers. Transforms are applied in the order specified.
|
2127
|
+
# Corresponds to the JSON property `messageTransforms`
|
2128
|
+
# @return [Array<Google::Apis::PubsubV1::MessageTransform>]
|
2129
|
+
attr_accessor :message_transforms
|
2130
|
+
|
1872
2131
|
# Required. The name of the subscription. It must have the format `"projects/`
|
1873
2132
|
# project`/subscriptions/`subscription`"`. ``subscription`` must start with a
|
1874
2133
|
# letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
@@ -1898,7 +2157,7 @@ module Google
|
|
1898
2157
|
# A policy that specifies how Pub/Sub retries message delivery. Retry delay will
|
1899
2158
|
# be exponential based on provided minimum and maximum backoffs. https://en.
|
1900
2159
|
# wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
|
1901
|
-
# or
|
2160
|
+
# or acknowledgment deadline exceeded events for a given message. Retry Policy
|
1902
2161
|
# is implemented on a best effort basis. At times, the delay between consecutive
|
1903
2162
|
# deliveries may not match the configuration. That is, delay can be more or less
|
1904
2163
|
# than configured backoff.
|
@@ -1947,6 +2206,7 @@ module Google
|
|
1947
2206
|
@filter = args[:filter] if args.key?(:filter)
|
1948
2207
|
@labels = args[:labels] if args.key?(:labels)
|
1949
2208
|
@message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
|
2209
|
+
@message_transforms = args[:message_transforms] if args.key?(:message_transforms)
|
1950
2210
|
@name = args[:name] if args.key?(:name)
|
1951
2211
|
@push_config = args[:push_config] if args.key?(:push_config)
|
1952
2212
|
@retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
|
@@ -2071,6 +2331,12 @@ module Google
|
|
2071
2331
|
# @return [Google::Apis::PubsubV1::MessageStoragePolicy]
|
2072
2332
|
attr_accessor :message_storage_policy
|
2073
2333
|
|
2334
|
+
# Optional. Transforms to be applied to messages published to the topic.
|
2335
|
+
# Transforms are applied in the order specified.
|
2336
|
+
# Corresponds to the JSON property `messageTransforms`
|
2337
|
+
# @return [Array<Google::Apis::PubsubV1::MessageTransform>]
|
2338
|
+
attr_accessor :message_transforms
|
2339
|
+
|
2074
2340
|
# Required. The name of the topic. It must have the format `"projects/`project`/
|
2075
2341
|
# topics/`topic`"`. ``topic`` must start with a letter, and contain only letters
|
2076
2342
|
# (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`)
|
@@ -2108,6 +2374,7 @@ module Google
|
|
2108
2374
|
@labels = args[:labels] if args.key?(:labels)
|
2109
2375
|
@message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
|
2110
2376
|
@message_storage_policy = args[:message_storage_policy] if args.key?(:message_storage_policy)
|
2377
|
+
@message_transforms = args[:message_transforms] if args.key?(:message_transforms)
|
2111
2378
|
@name = args[:name] if args.key?(:name)
|
2112
2379
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
2113
2380
|
@schema_settings = args[:schema_settings] if args.key?(:schema_settings)
|
@@ -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.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250218"
|
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
|
|
@@ -124,6 +142,12 @@ module Google
|
|
124
142
|
include Google::Apis::Core::JsonObjectSupport
|
125
143
|
end
|
126
144
|
|
145
|
+
class JavaScriptUdf
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
127
151
|
class ListSchemaRevisionsResponse
|
128
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
153
|
|
@@ -172,6 +196,12 @@ module Google
|
|
172
196
|
include Google::Apis::Core::JsonObjectSupport
|
173
197
|
end
|
174
198
|
|
199
|
+
class MessageTransform
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
175
205
|
class ModifyAckDeadlineRequest
|
176
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
207
|
|
@@ -428,6 +458,31 @@ module Google
|
|
428
458
|
end
|
429
459
|
end
|
430
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
|
+
|
431
486
|
class BigQueryConfig
|
432
487
|
# @private
|
433
488
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -494,6 +549,18 @@ module Google
|
|
494
549
|
end
|
495
550
|
end
|
496
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
|
+
|
497
564
|
class CreateSnapshotRequest
|
498
565
|
# @private
|
499
566
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -544,13 +611,27 @@ module Google
|
|
544
611
|
class Representation < Google::Apis::Core::JsonRepresentation
|
545
612
|
property :aws_kinesis, as: 'awsKinesis', class: Google::Apis::PubsubV1::AwsKinesis, decorator: Google::Apis::PubsubV1::AwsKinesis::Representation
|
546
613
|
|
614
|
+
property :aws_msk, as: 'awsMsk', class: Google::Apis::PubsubV1::AwsMsk, decorator: Google::Apis::PubsubV1::AwsMsk::Representation
|
615
|
+
|
616
|
+
property :azure_event_hubs, as: 'azureEventHubs', class: Google::Apis::PubsubV1::AzureEventHubs, decorator: Google::Apis::PubsubV1::AzureEventHubs::Representation
|
617
|
+
|
547
618
|
property :cloud_storage, as: 'cloudStorage', class: Google::Apis::PubsubV1::CloudStorage, decorator: Google::Apis::PubsubV1::CloudStorage::Representation
|
548
619
|
|
620
|
+
property :confluent_cloud, as: 'confluentCloud', class: Google::Apis::PubsubV1::ConfluentCloud, decorator: Google::Apis::PubsubV1::ConfluentCloud::Representation
|
621
|
+
|
549
622
|
property :platform_logs_settings, as: 'platformLogsSettings', class: Google::Apis::PubsubV1::PlatformLogsSettings, decorator: Google::Apis::PubsubV1::PlatformLogsSettings::Representation
|
550
623
|
|
551
624
|
end
|
552
625
|
end
|
553
626
|
|
627
|
+
class JavaScriptUdf
|
628
|
+
# @private
|
629
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
630
|
+
property :code, as: 'code'
|
631
|
+
property :function_name, as: 'functionName'
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
554
635
|
class ListSchemaRevisionsResponse
|
555
636
|
# @private
|
556
637
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -620,6 +701,15 @@ module Google
|
|
620
701
|
end
|
621
702
|
end
|
622
703
|
|
704
|
+
class MessageTransform
|
705
|
+
# @private
|
706
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
707
|
+
property :enabled, as: 'enabled'
|
708
|
+
property :javascript_udf, as: 'javascriptUdf', class: Google::Apis::PubsubV1::JavaScriptUdf, decorator: Google::Apis::PubsubV1::JavaScriptUdf::Representation
|
709
|
+
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
623
713
|
class ModifyAckDeadlineRequest
|
624
714
|
# @private
|
625
715
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -834,6 +924,8 @@ module Google
|
|
834
924
|
property :filter, as: 'filter'
|
835
925
|
hash :labels, as: 'labels'
|
836
926
|
property :message_retention_duration, as: 'messageRetentionDuration'
|
927
|
+
collection :message_transforms, as: 'messageTransforms', class: Google::Apis::PubsubV1::MessageTransform, decorator: Google::Apis::PubsubV1::MessageTransform::Representation
|
928
|
+
|
837
929
|
property :name, as: 'name'
|
838
930
|
property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation
|
839
931
|
|
@@ -883,6 +975,8 @@ module Google
|
|
883
975
|
property :message_retention_duration, as: 'messageRetentionDuration'
|
884
976
|
property :message_storage_policy, as: 'messageStoragePolicy', class: Google::Apis::PubsubV1::MessageStoragePolicy, decorator: Google::Apis::PubsubV1::MessageStoragePolicy::Representation
|
885
977
|
|
978
|
+
collection :message_transforms, as: 'messageTransforms', class: Google::Apis::PubsubV1::MessageTransform, decorator: Google::Apis::PubsubV1::MessageTransform::Representation
|
979
|
+
|
886
980
|
property :name, as: 'name'
|
887
981
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
888
982
|
property :schema_settings, as: 'schemaSettings', class: Google::Apis::PubsubV1::SchemaSettings, decorator: Google::Apis::PubsubV1::SchemaSettings::Representation
|
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.59.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-03-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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.59.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.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Cloud Pub/Sub API V1
|
82
79
|
test_files: []
|