google-apis-pubsub_v1 0.46.0 → 0.47.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7143a7a9477fecd001d69214c72bebc0860afc47362c3f905ceedbd9d4855f75
|
4
|
+
data.tar.gz: d0c80a777f359e8b9ef64480ecfd8db5e3d268e991843216c0c3f9326b759f28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 752b9878abce470aa05b2676021c591563907019fae188dda7c374d51d325fbc505b8f16bf6bc567289bf8a70c9df3e0df9964586e117a01d71ee03127b0c94c
|
7
|
+
data.tar.gz: bbeaf31f8fbb2929a82d6ea000143e2358ae9be274a93d8bdf32cd375db11523295e46738bc2bd2e9d78f686c81657648eee20d2a01189ee659620d12d51126b
|
data/CHANGELOG.md
CHANGED
@@ -67,6 +67,56 @@ module Google
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
# Ingestion settings for Amazon Kinesis Data Streams.
|
71
|
+
class AwsKinesis
|
72
|
+
include Google::Apis::Core::Hashable
|
73
|
+
|
74
|
+
# Required. AWS role ARN to be used for Federated Identity authentication with
|
75
|
+
# Kinesis. Check the Pub/Sub docs for how to set up this role and the required
|
76
|
+
# permissions that need to be attached to it.
|
77
|
+
# Corresponds to the JSON property `awsRoleArn`
|
78
|
+
# @return [String]
|
79
|
+
attr_accessor :aws_role_arn
|
80
|
+
|
81
|
+
# Required. The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out
|
82
|
+
# mode. The consumer must be already created and ready to be used.
|
83
|
+
# Corresponds to the JSON property `consumerArn`
|
84
|
+
# @return [String]
|
85
|
+
attr_accessor :consumer_arn
|
86
|
+
|
87
|
+
# Required. The GCP service account to be used for Federated Identity
|
88
|
+
# authentication with Kinesis (via a `AssumeRoleWithWebIdentity` call for the
|
89
|
+
# provided role). The `aws_role_arn` must be set up with `accounts.google.com:
|
90
|
+
# sub` equals to this service account number.
|
91
|
+
# Corresponds to the JSON property `gcpServiceAccount`
|
92
|
+
# @return [String]
|
93
|
+
attr_accessor :gcp_service_account
|
94
|
+
|
95
|
+
# Output only. An output-only field that indicates the state of the Kinesis
|
96
|
+
# ingestion source.
|
97
|
+
# Corresponds to the JSON property `state`
|
98
|
+
# @return [String]
|
99
|
+
attr_accessor :state
|
100
|
+
|
101
|
+
# Required. The Kinesis stream ARN to ingest data from.
|
102
|
+
# Corresponds to the JSON property `streamArn`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :stream_arn
|
105
|
+
|
106
|
+
def initialize(**args)
|
107
|
+
update!(**args)
|
108
|
+
end
|
109
|
+
|
110
|
+
# Update properties of this object
|
111
|
+
def update!(**args)
|
112
|
+
@aws_role_arn = args[:aws_role_arn] if args.key?(:aws_role_arn)
|
113
|
+
@consumer_arn = args[:consumer_arn] if args.key?(:consumer_arn)
|
114
|
+
@gcp_service_account = args[:gcp_service_account] if args.key?(:gcp_service_account)
|
115
|
+
@state = args[:state] if args.key?(:state)
|
116
|
+
@stream_arn = args[:stream_arn] if args.key?(:stream_arn)
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
70
120
|
# Configuration for a BigQuery subscription.
|
71
121
|
class BigQueryConfig
|
72
122
|
include Google::Apis::Core::Hashable
|
@@ -215,7 +265,10 @@ module Google
|
|
215
265
|
attr_accessor :members
|
216
266
|
|
217
267
|
# Role that is assigned to the list of `members`, or principals. For example, `
|
218
|
-
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
268
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
269
|
+
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
270
|
+
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
271
|
+
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
219
272
|
# Corresponds to the JSON property `role`
|
220
273
|
# @return [String]
|
221
274
|
attr_accessor :role
|
@@ -504,6 +557,25 @@ module Google
|
|
504
557
|
end
|
505
558
|
end
|
506
559
|
|
560
|
+
# Settings for an ingestion data source on a topic.
|
561
|
+
class IngestionDataSourceSettings
|
562
|
+
include Google::Apis::Core::Hashable
|
563
|
+
|
564
|
+
# Ingestion settings for Amazon Kinesis Data Streams.
|
565
|
+
# Corresponds to the JSON property `awsKinesis`
|
566
|
+
# @return [Google::Apis::PubsubV1::AwsKinesis]
|
567
|
+
attr_accessor :aws_kinesis
|
568
|
+
|
569
|
+
def initialize(**args)
|
570
|
+
update!(**args)
|
571
|
+
end
|
572
|
+
|
573
|
+
# Update properties of this object
|
574
|
+
def update!(**args)
|
575
|
+
@aws_kinesis = args[:aws_kinesis] if args.key?(:aws_kinesis)
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
507
579
|
# Response for the `ListSchemaRevisions` method.
|
508
580
|
class ListSchemaRevisionsResponse
|
509
581
|
include Google::Apis::Core::Hashable
|
@@ -734,8 +806,8 @@ module Google
|
|
734
806
|
# zero might immediately make the message available for delivery to another
|
735
807
|
# subscriber client. This typically results in an increase in the rate of
|
736
808
|
# message redeliveries (that is, duplicates). The minimum deadline you can
|
737
|
-
# specify is 0 seconds. The maximum deadline you can specify
|
738
|
-
# minutes).
|
809
|
+
# specify is 0 seconds. The maximum deadline you can specify in a single request
|
810
|
+
# is 600 seconds (10 minutes).
|
739
811
|
# Corresponds to the JSON property `ackDeadlineSeconds`
|
740
812
|
# @return [Fixnum]
|
741
813
|
attr_accessor :ack_deadline_seconds
|
@@ -984,9 +1056,9 @@ module Google
|
|
984
1056
|
# @return [String]
|
985
1057
|
attr_accessor :data
|
986
1058
|
|
987
|
-
#
|
988
|
-
#
|
989
|
-
#
|
1059
|
+
# ID of this message, assigned by the server when the message is published.
|
1060
|
+
# Guaranteed to be unique within the topic. This value may be read by a
|
1061
|
+
# subscriber that receives a `PubsubMessage` via a `Pull` call or a push
|
990
1062
|
# delivery. It must not be populated by the publisher in a `Publish` call.
|
991
1063
|
# Corresponds to the JSON property `messageId`
|
992
1064
|
# @return [String]
|
@@ -1003,9 +1075,9 @@ module Google
|
|
1003
1075
|
# @return [String]
|
1004
1076
|
attr_accessor :ordering_key
|
1005
1077
|
|
1006
|
-
#
|
1007
|
-
#
|
1008
|
-
#
|
1078
|
+
# The time at which the message was published, populated by the server when it
|
1079
|
+
# receives the `Publish` call. It must not be populated by the publisher in a `
|
1080
|
+
# Publish` call.
|
1009
1081
|
# Corresponds to the JSON property `publishTime`
|
1010
1082
|
# @return [String]
|
1011
1083
|
attr_accessor :publish_time
|
@@ -1735,6 +1807,11 @@ module Google
|
|
1735
1807
|
class Topic
|
1736
1808
|
include Google::Apis::Core::Hashable
|
1737
1809
|
|
1810
|
+
# Settings for an ingestion data source on a topic.
|
1811
|
+
# Corresponds to the JSON property `ingestionDataSourceSettings`
|
1812
|
+
# @return [Google::Apis::PubsubV1::IngestionDataSourceSettings]
|
1813
|
+
attr_accessor :ingestion_data_source_settings
|
1814
|
+
|
1738
1815
|
# Optional. The resource name of the Cloud KMS CryptoKey to be used to protect
|
1739
1816
|
# access to messages published on this topic. The expected format is `projects/*/
|
1740
1817
|
# locations/*/keyRings/*/cryptoKeys/*`.
|
@@ -1786,12 +1863,18 @@ module Google
|
|
1786
1863
|
# @return [Google::Apis::PubsubV1::SchemaSettings]
|
1787
1864
|
attr_accessor :schema_settings
|
1788
1865
|
|
1866
|
+
# Output only. An output-only field indicating the state of the topic.
|
1867
|
+
# Corresponds to the JSON property `state`
|
1868
|
+
# @return [String]
|
1869
|
+
attr_accessor :state
|
1870
|
+
|
1789
1871
|
def initialize(**args)
|
1790
1872
|
update!(**args)
|
1791
1873
|
end
|
1792
1874
|
|
1793
1875
|
# Update properties of this object
|
1794
1876
|
def update!(**args)
|
1877
|
+
@ingestion_data_source_settings = args[:ingestion_data_source_settings] if args.key?(:ingestion_data_source_settings)
|
1795
1878
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
1796
1879
|
@labels = args[:labels] if args.key?(:labels)
|
1797
1880
|
@message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
|
@@ -1799,6 +1882,7 @@ module Google
|
|
1799
1882
|
@name = args[:name] if args.key?(:name)
|
1800
1883
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
1801
1884
|
@schema_settings = args[:schema_settings] if args.key?(:schema_settings)
|
1885
|
+
@state = args[:state] if args.key?(:state)
|
1802
1886
|
end
|
1803
1887
|
end
|
1804
1888
|
|
@@ -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.47.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240126"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AwsKinesis
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class BigQueryConfig
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -94,6 +100,12 @@ module Google
|
|
94
100
|
include Google::Apis::Core::JsonObjectSupport
|
95
101
|
end
|
96
102
|
|
103
|
+
class IngestionDataSourceSettings
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
97
109
|
class ListSchemaRevisionsResponse
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
@@ -354,6 +366,17 @@ module Google
|
|
354
366
|
end
|
355
367
|
end
|
356
368
|
|
369
|
+
class AwsKinesis
|
370
|
+
# @private
|
371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
372
|
+
property :aws_role_arn, as: 'awsRoleArn'
|
373
|
+
property :consumer_arn, as: 'consumerArn'
|
374
|
+
property :gcp_service_account, as: 'gcpServiceAccount'
|
375
|
+
property :state, as: 'state'
|
376
|
+
property :stream_arn, as: 'streamArn'
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
357
380
|
class BigQueryConfig
|
358
381
|
# @private
|
359
382
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -445,6 +468,14 @@ module Google
|
|
445
468
|
end
|
446
469
|
end
|
447
470
|
|
471
|
+
class IngestionDataSourceSettings
|
472
|
+
# @private
|
473
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
474
|
+
property :aws_kinesis, as: 'awsKinesis', class: Google::Apis::PubsubV1::AwsKinesis, decorator: Google::Apis::PubsubV1::AwsKinesis::Representation
|
475
|
+
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
448
479
|
class ListSchemaRevisionsResponse
|
449
480
|
# @private
|
450
481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -748,6 +779,8 @@ module Google
|
|
748
779
|
class Topic
|
749
780
|
# @private
|
750
781
|
class Representation < Google::Apis::Core::JsonRepresentation
|
782
|
+
property :ingestion_data_source_settings, as: 'ingestionDataSourceSettings', class: Google::Apis::PubsubV1::IngestionDataSourceSettings, decorator: Google::Apis::PubsubV1::IngestionDataSourceSettings::Representation
|
783
|
+
|
751
784
|
property :kms_key_name, as: 'kmsKeyName'
|
752
785
|
hash :labels, as: 'labels'
|
753
786
|
property :message_retention_duration, as: 'messageRetentionDuration'
|
@@ -757,6 +790,7 @@ module Google
|
|
757
790
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
758
791
|
property :schema_settings, as: 'schemaSettings', class: Google::Apis::PubsubV1::SchemaSettings, decorator: Google::Apis::PubsubV1::SchemaSettings::Representation
|
759
792
|
|
793
|
+
property :state, as: 'state'
|
760
794
|
end
|
761
795
|
end
|
762
796
|
|
@@ -745,10 +745,11 @@ module Google
|
|
745
745
|
execute_or_queue_command(command, &block)
|
746
746
|
end
|
747
747
|
|
748
|
-
# Updates an existing snapshot
|
749
|
-
# google.com/pubsub/docs/replay-
|
750
|
-
#
|
751
|
-
#
|
748
|
+
# Updates an existing snapshot by updating the fields specified in the update
|
749
|
+
# mask. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-
|
750
|
+
# overview) operations, which allow you to manage message acknowledgments in
|
751
|
+
# bulk. That is, you can set the acknowledgment state of messages in an existing
|
752
|
+
# subscription to the state captured by a snapshot.
|
752
753
|
# @param [String] name
|
753
754
|
# Optional. The name of the snapshot.
|
754
755
|
# @param [Google::Apis::PubsubV1::UpdateSnapshotRequest] update_snapshot_request_object
|
@@ -1201,8 +1202,9 @@ module Google
|
|
1201
1202
|
execute_or_queue_command(command, &block)
|
1202
1203
|
end
|
1203
1204
|
|
1204
|
-
# Updates an existing subscription
|
1205
|
-
# subscription, such as its topic,
|
1205
|
+
# Updates an existing subscription by updating the fields specified in the
|
1206
|
+
# update mask. Note that certain properties of a subscription, such as its topic,
|
1207
|
+
# are not modifiable.
|
1206
1208
|
# @param [String] name
|
1207
1209
|
# Required. The name of the subscription. It must have the format `"projects/`
|
1208
1210
|
# project`/subscriptions/`subscription`"`. ``subscription`` must start with a
|
@@ -1577,8 +1579,8 @@ module Google
|
|
1577
1579
|
execute_or_queue_command(command, &block)
|
1578
1580
|
end
|
1579
1581
|
|
1580
|
-
# Updates an existing topic
|
1581
|
-
# modifiable.
|
1582
|
+
# Updates an existing topic by updating the fields specified in the update mask.
|
1583
|
+
# Note that certain properties of a topic are not modifiable.
|
1582
1584
|
# @param [String] name
|
1583
1585
|
# Required. The name of the topic. It must have the format `"projects/`project`/
|
1584
1586
|
# topics/`topic`"`. ``topic`` must start with a letter, and contain only letters
|
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.47.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-
|
11
|
+
date: 2024-02-04 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.47.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: []
|