google-cloud-pubsub-v1 1.15.0 → 1.17.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/README.md +2 -3
- data/lib/google/cloud/pubsub/v1/bindings_override.rb +158 -0
- data/lib/google/cloud/pubsub/v1/rest.rb +40 -0
- data/lib/google/cloud/pubsub/v1/schema_service/client.rb +3 -1
- data/lib/google/cloud/pubsub/v1/schema_service/credentials.rb +1 -1
- data/lib/google/cloud/pubsub/v1/schema_service/paths.rb +1 -1
- data/lib/google/cloud/pubsub/v1/schema_service/rest/client.rb +1348 -0
- data/lib/google/cloud/pubsub/v1/schema_service/rest/service_stub.rb +696 -0
- data/lib/google/cloud/pubsub/v1/schema_service/rest.rb +53 -0
- data/lib/google/cloud/pubsub/v1/schema_service.rb +7 -1
- data/lib/google/cloud/pubsub/v1/subscription_admin/client.rb +9 -5
- data/lib/google/cloud/pubsub/v1/subscription_admin/credentials.rb +1 -1
- data/lib/google/cloud/pubsub/v1/subscription_admin/paths.rb +1 -1
- data/lib/google/cloud/pubsub/v1/subscription_admin/rest/client.rb +2035 -0
- data/lib/google/cloud/pubsub/v1/subscription_admin/rest/service_stub.rb +1005 -0
- data/lib/google/cloud/pubsub/v1/subscription_admin/rest.rb +55 -0
- data/lib/google/cloud/pubsub/v1/subscription_admin.rb +7 -1
- data/lib/google/cloud/pubsub/v1/topic_admin/client.rb +6 -3
- data/lib/google/cloud/pubsub/v1/topic_admin/credentials.rb +1 -1
- data/lib/google/cloud/pubsub/v1/topic_admin/paths.rb +1 -1
- data/lib/google/cloud/pubsub/v1/topic_admin/rest/client.rb +1274 -0
- data/lib/google/cloud/pubsub/v1/topic_admin/rest/service_stub.rb +633 -0
- data/lib/google/cloud/pubsub/v1/topic_admin/rest.rb +54 -0
- data/lib/google/cloud/pubsub/v1/topic_admin.rb +7 -1
- data/lib/google/cloud/pubsub/v1/version.rb +1 -1
- data/lib/google/cloud/pubsub/v1.rb +6 -1
- data/lib/google/pubsub/v1/pubsub_pb.rb +4 -1
- data/lib/google/pubsub/v1/pubsub_services_pb.rb +1 -1
- data/lib/google/pubsub/v1/schema_pb.rb +2 -1
- data/lib/google/pubsub/v1/schema_services_pb.rb +1 -1
- data/lib/google-cloud-pubsub-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/pubsub/v1/pubsub.rb +101 -25
- data/proto_docs/google/pubsub/v1/schema.rb +18 -1
- metadata +18 -8
- data/proto_docs/google/type/expr.rb +0 -75
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -157,6 +157,12 @@ module Google
|
|
|
157
157
|
|
|
158
158
|
# The Kinesis consumer does not exist.
|
|
159
159
|
CONSUMER_NOT_FOUND = 5
|
|
160
|
+
|
|
161
|
+
# Indicates an error state where the ingestion source cannot be
|
|
162
|
+
# processed because the selected ingestion region is not permitted
|
|
163
|
+
# by the Regional Access Boundary (RAB) restrictions on the project's
|
|
164
|
+
# service account.
|
|
165
|
+
CONFLICTING_REGION_CONSTRAINTS = 6
|
|
160
166
|
end
|
|
161
167
|
end
|
|
162
168
|
|
|
@@ -256,6 +262,12 @@ module Google
|
|
|
256
262
|
# The Cloud Storage bucket has too many objects, ingestion will be
|
|
257
263
|
# paused.
|
|
258
264
|
TOO_MANY_OBJECTS = 5
|
|
265
|
+
|
|
266
|
+
# Indicates an error state where the ingestion source cannot be
|
|
267
|
+
# processed because the selected ingestion region is not permitted
|
|
268
|
+
# by the Regional Access Boundary (RAB) restrictions on the project's
|
|
269
|
+
# service account.
|
|
270
|
+
CONFLICTING_REGION_CONSTRAINTS = 8
|
|
259
271
|
end
|
|
260
272
|
end
|
|
261
273
|
|
|
@@ -319,6 +331,12 @@ module Google
|
|
|
319
331
|
|
|
320
332
|
# The provided Event Hubs resource group couldn't be found.
|
|
321
333
|
RESOURCE_GROUP_NOT_FOUND = 7
|
|
334
|
+
|
|
335
|
+
# Indicates an error state where the ingestion source cannot be
|
|
336
|
+
# processed because the selected ingestion region is not permitted
|
|
337
|
+
# by the Regional Access Boundary (RAB) restrictions on the project's
|
|
338
|
+
# service account.
|
|
339
|
+
CONFLICTING_REGION_CONSTRAINTS = 8
|
|
322
340
|
end
|
|
323
341
|
end
|
|
324
342
|
|
|
@@ -369,6 +387,12 @@ module Google
|
|
|
369
387
|
|
|
370
388
|
# The provided topic wasn't found.
|
|
371
389
|
TOPIC_NOT_FOUND = 5
|
|
390
|
+
|
|
391
|
+
# Indicates an error state where the ingestion source cannot be
|
|
392
|
+
# processed because the selected ingestion region is not permitted
|
|
393
|
+
# by the Regional Access Boundary (RAB) restrictions on the project's
|
|
394
|
+
# service account.
|
|
395
|
+
CONFLICTING_REGION_CONSTRAINTS = 6
|
|
372
396
|
end
|
|
373
397
|
end
|
|
374
398
|
|
|
@@ -423,6 +447,12 @@ module Google
|
|
|
423
447
|
|
|
424
448
|
# The provided topic wasn't found.
|
|
425
449
|
TOPIC_NOT_FOUND = 6
|
|
450
|
+
|
|
451
|
+
# Indicates an error state where the ingestion source cannot be
|
|
452
|
+
# processed because the selected ingestion region is not permitted
|
|
453
|
+
# by the Regional Access Boundary (RAB) restrictions on the project's
|
|
454
|
+
# service account.
|
|
455
|
+
CONFLICTING_REGION_CONSTRAINTS = 7
|
|
426
456
|
end
|
|
427
457
|
end
|
|
428
458
|
end
|
|
@@ -753,6 +783,40 @@ module Google
|
|
|
753
783
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
754
784
|
end
|
|
755
785
|
|
|
786
|
+
# Configuration for compressing/decompressing message data using a
|
|
787
|
+
# user-specified compression algorithm.
|
|
788
|
+
# @!attribute [rw] compression_algorithm
|
|
789
|
+
# @return [::Google::Cloud::PubSub::V1::Compression::CompressionAlgorithm]
|
|
790
|
+
# Required. Specifies the compression algorithm to use.
|
|
791
|
+
# @!attribute [rw] compression_mode
|
|
792
|
+
# @return [::Google::Cloud::PubSub::V1::Compression::CompressionMode]
|
|
793
|
+
# Required. Specifies whether to compress or decompress the message.
|
|
794
|
+
class Compression
|
|
795
|
+
include ::Google::Protobuf::MessageExts
|
|
796
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
797
|
+
|
|
798
|
+
# The compression algorithm to use.
|
|
799
|
+
module CompressionAlgorithm
|
|
800
|
+
# Unspecified algorithm.
|
|
801
|
+
COMPRESSION_ALGORITHM_UNSPECIFIED = 0
|
|
802
|
+
|
|
803
|
+
# ZLIB compression.
|
|
804
|
+
ZLIB = 1
|
|
805
|
+
end
|
|
806
|
+
|
|
807
|
+
# The mode of the compression SMT.
|
|
808
|
+
module CompressionMode
|
|
809
|
+
# Unspecified mode.
|
|
810
|
+
COMPRESSION_MODE_UNSPECIFIED = 0
|
|
811
|
+
|
|
812
|
+
# Compress.
|
|
813
|
+
COMPRESS = 1
|
|
814
|
+
|
|
815
|
+
# Decompress.
|
|
816
|
+
DECOMPRESS = 2
|
|
817
|
+
end
|
|
818
|
+
end
|
|
819
|
+
|
|
756
820
|
# Configuration for making inference requests against Vertex AI models.
|
|
757
821
|
# @!attribute [rw] endpoint
|
|
758
822
|
# @return [::String]
|
|
@@ -793,14 +857,19 @@ module Google
|
|
|
793
857
|
# Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's
|
|
794
858
|
# are specified on a resource, each must have a unique `function_name`.
|
|
795
859
|
#
|
|
796
|
-
# Note: The following fields are mutually exclusive: `javascript_udf`, `ai_inference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
860
|
+
# Note: The following fields are mutually exclusive: `javascript_udf`, `compression`, `ai_inference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
861
|
+
# @!attribute [rw] compression
|
|
862
|
+
# @return [::Google::Cloud::PubSub::V1::Compression]
|
|
863
|
+
# Optional. Compression/Decompression.
|
|
864
|
+
#
|
|
865
|
+
# Note: The following fields are mutually exclusive: `compression`, `javascript_udf`, `ai_inference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
797
866
|
# @!attribute [rw] ai_inference
|
|
798
867
|
# @return [::Google::Cloud::PubSub::V1::AIInference]
|
|
799
868
|
# Optional. AI Inference. Specifies the Vertex AI endpoint that inference
|
|
800
869
|
# requests built from the Pub/Sub message data and provided parameters will
|
|
801
870
|
# be sent to.
|
|
802
871
|
#
|
|
803
|
-
# Note: The following fields are mutually exclusive: `ai_inference`, `javascript_udf`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
872
|
+
# Note: The following fields are mutually exclusive: `ai_inference`, `javascript_udf`, `compression`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
804
873
|
# @!attribute [rw] enabled
|
|
805
874
|
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
806
875
|
# @return [::Boolean]
|
|
@@ -873,8 +942,9 @@ module Google
|
|
|
873
942
|
# resource. For example:
|
|
874
943
|
# "123/environment": "production",
|
|
875
944
|
# "123/costCenter": "marketing"
|
|
876
|
-
# See
|
|
877
|
-
#
|
|
945
|
+
# See
|
|
946
|
+
# https://\\{$universe.dns_names.final_documentation_domain}/pubsub/docs/tags
|
|
947
|
+
# for more information on using tags with Pub/Sub resources.
|
|
878
948
|
class Topic
|
|
879
949
|
include ::Google::Protobuf::MessageExts
|
|
880
950
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1137,9 +1207,10 @@ module Google
|
|
|
1137
1207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1138
1208
|
end
|
|
1139
1209
|
|
|
1140
|
-
# A subscription resource. If none of `push_config`, `bigquery_config`,
|
|
1141
|
-
# `cloud_storage_config` is set, then the subscriber will
|
|
1142
|
-
# using API methods. At most one of these fields may be
|
|
1210
|
+
# A subscription resource. If none of `push_config`, `bigquery_config`,
|
|
1211
|
+
# `cloud_storage_config`, or `bigtable_config` is set, then the subscriber will
|
|
1212
|
+
# pull and ack messages using API methods. At most one of these fields may be
|
|
1213
|
+
# set.
|
|
1143
1214
|
# @!attribute [rw] name
|
|
1144
1215
|
# @return [::String]
|
|
1145
1216
|
# Required. Identifier. The name of the subscription. It must have the format
|
|
@@ -1298,8 +1369,9 @@ module Google
|
|
|
1298
1369
|
# resource. For example:
|
|
1299
1370
|
# "123/environment": "production",
|
|
1300
1371
|
# "123/costCenter": "marketing"
|
|
1301
|
-
# See
|
|
1302
|
-
#
|
|
1372
|
+
# See
|
|
1373
|
+
# https://\\{$universe.dns_names.final_documentation_domain}/pubsub/docs/tags
|
|
1374
|
+
# for more information on using tags with Pub/Sub resources.
|
|
1303
1375
|
class Subscription
|
|
1304
1376
|
include ::Google::Protobuf::MessageExts
|
|
1305
1377
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1551,11 +1623,13 @@ module Google
|
|
|
1551
1623
|
# a JSON object in the attributes column.
|
|
1552
1624
|
# @!attribute [rw] drop_unknown_fields
|
|
1553
1625
|
# @return [::Boolean]
|
|
1554
|
-
# Optional.
|
|
1555
|
-
# part of the topic schema that are not part of the BigQuery table schema
|
|
1556
|
-
#
|
|
1557
|
-
#
|
|
1558
|
-
# subscription's backlog.
|
|
1626
|
+
# Optional. If true and `use_topic_schema` is true, drops any fields that are
|
|
1627
|
+
# part of the topic schema that are not part of the BigQuery table schema
|
|
1628
|
+
# when writing to BigQuery. Otherwise, the schemas must be kept in sync and
|
|
1629
|
+
# any messages with extra fields are not written and remain in the
|
|
1630
|
+
# subscription's backlog. If true and `use_table_schema` is true, drops any
|
|
1631
|
+
# fields in the message that are not part of the BigQuery table schema when
|
|
1632
|
+
# writing to BigQuery. Otherwise, the write to BigQuery will fail.
|
|
1559
1633
|
# @!attribute [r] state
|
|
1560
1634
|
# @return [::Google::Cloud::PubSub::V1::BigQueryConfig::State]
|
|
1561
1635
|
# Output only. An output-only field that indicates whether or not the
|
|
@@ -1612,8 +1686,9 @@ module Google
|
|
|
1612
1686
|
|
|
1613
1687
|
# Configuration for a Bigtable subscription. The Pub/Sub message will be
|
|
1614
1688
|
# written to a Bigtable row as follows:
|
|
1615
|
-
# - row key: subscription name and message ID delimited by
|
|
1616
|
-
#
|
|
1689
|
+
# - row key: subscription name, message ID hash, and message ID delimited by
|
|
1690
|
+
# `#`.
|
|
1691
|
+
# - columns: message bytes written to a single column family `data` with an
|
|
1617
1692
|
# empty-string column qualifier.
|
|
1618
1693
|
# - cell timestamp: the message publish timestamp.
|
|
1619
1694
|
# @!attribute [rw] table
|
|
@@ -1660,16 +1735,15 @@ module Google
|
|
|
1660
1735
|
# The subscription can actively send messages to Bigtable.
|
|
1661
1736
|
ACTIVE = 1
|
|
1662
1737
|
|
|
1663
|
-
#
|
|
1664
|
-
# does not exist.
|
|
1738
|
+
# Unused in the current implementation. Placeholder for future use.
|
|
1665
1739
|
NOT_FOUND = 2
|
|
1666
1740
|
|
|
1667
|
-
#
|
|
1668
|
-
# single-cluster routing.
|
|
1741
|
+
# Unused in the current implementation. Placeholder for future use.
|
|
1669
1742
|
APP_PROFILE_MISCONFIGURED = 3
|
|
1670
1743
|
|
|
1671
1744
|
# Cannot write to Bigtable because of permission denied errors.
|
|
1672
1745
|
# This can happen if:
|
|
1746
|
+
# - The Bigtable instance, table, or app profile does not exist.
|
|
1673
1747
|
# - The Pub/Sub service agent has not been granted the
|
|
1674
1748
|
# [appropriate Bigtable IAM permission
|
|
1675
1749
|
# bigtable.tables.mutateRows](\\{$universe.dns_names.final_documentation_domain}/bigtable/docs/access-control#permissions)
|
|
@@ -1677,8 +1751,9 @@ module Google
|
|
|
1677
1751
|
# ([instructions](\\{$universe.dns_names.final_documentation_domain}/service-usage/docs/enable-disable))
|
|
1678
1752
|
PERMISSION_DENIED = 4
|
|
1679
1753
|
|
|
1680
|
-
# Cannot write to Bigtable because of a missing column family (
|
|
1681
|
-
# if there is no structured row key for the subscription name + message ID
|
|
1754
|
+
# Cannot write to Bigtable because of a missing column family (`data`), or
|
|
1755
|
+
# if there is no structured row key for the subscription name + message ID,
|
|
1756
|
+
# if because the app profile is not configured for single-cluster routing.
|
|
1682
1757
|
SCHEMA_MISMATCH = 5
|
|
1683
1758
|
|
|
1684
1759
|
# Cannot write to the destination because enforce_in_transit is set to true
|
|
@@ -2186,8 +2261,9 @@ module Google
|
|
|
2186
2261
|
# resource. For example:
|
|
2187
2262
|
# "123/environment": "production",
|
|
2188
2263
|
# "123/costCenter": "marketing"
|
|
2189
|
-
# See
|
|
2190
|
-
#
|
|
2264
|
+
# See
|
|
2265
|
+
# https://\\{$universe.dns_names.final_documentation_domain}/pubsub/docs/tags
|
|
2266
|
+
# for more information on using tags with Pub/Sub resources.
|
|
2191
2267
|
class CreateSnapshotRequest
|
|
2192
2268
|
include ::Google::Protobuf::MessageExts
|
|
2193
2269
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -34,6 +34,11 @@ module Google
|
|
|
34
34
|
# The definition of the schema. This should contain a string representing
|
|
35
35
|
# the full definition of the schema that is a valid schema definition of
|
|
36
36
|
# the type specified in `type`.
|
|
37
|
+
# @!attribute [rw] compiled_proto_schema
|
|
38
|
+
# @return [::Google::Cloud::PubSub::V1::CompiledProtoSchema]
|
|
39
|
+
# Optional. Configuration for a schema provided as a pre-compiled Protocol
|
|
40
|
+
# Buffer FileDescriptorSet. The `type` field above must be set to
|
|
41
|
+
# PROTOCOL_BUFFER.
|
|
37
42
|
# @!attribute [r] revision_id
|
|
38
43
|
# @return [::String]
|
|
39
44
|
# Output only. Immutable. The revision ID of the schema.
|
|
@@ -276,6 +281,18 @@ module Google
|
|
|
276
281
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
277
282
|
end
|
|
278
283
|
|
|
284
|
+
# Configuration specific to compiled Protocol Buffer schemas.
|
|
285
|
+
# @!attribute [rw] root_message
|
|
286
|
+
# @return [::String]
|
|
287
|
+
# Required. The name of the root message type in the schema.
|
|
288
|
+
# @!attribute [rw] compiled_bytes
|
|
289
|
+
# @return [::String]
|
|
290
|
+
# Required. The compiled FileDescriptorSet binary.
|
|
291
|
+
class CompiledProtoSchema
|
|
292
|
+
include ::Google::Protobuf::MessageExts
|
|
293
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
294
|
+
end
|
|
295
|
+
|
|
279
296
|
# View of Schema object fields to be returned by GetSchema and ListSchemas.
|
|
280
297
|
module SchemaView
|
|
281
298
|
# The default / unset value.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-pubsub-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.17.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.3'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.3'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -51,10 +51,10 @@ dependencies:
|
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '1.3'
|
|
54
|
-
description:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
description: Provides reliable, many-to-many, asynchronous messaging between applications.
|
|
55
|
+
Note that google-cloud-pubsub-v1 is a version-specific client library. For most
|
|
56
|
+
uses, we recommend installing the main client library google-cloud-pubsub instead.
|
|
57
|
+
See the readme for more details.
|
|
58
58
|
email: googleapis-packages@google.com
|
|
59
59
|
executables: []
|
|
60
60
|
extensions: []
|
|
@@ -67,15 +67,20 @@ files:
|
|
|
67
67
|
- lib/google-cloud-pubsub-v1.rb
|
|
68
68
|
- lib/google/cloud/pubsub/v1.rb
|
|
69
69
|
- lib/google/cloud/pubsub/v1/_helpers.rb
|
|
70
|
+
- lib/google/cloud/pubsub/v1/bindings_override.rb
|
|
70
71
|
- lib/google/cloud/pubsub/v1/iam_policy.rb
|
|
71
72
|
- lib/google/cloud/pubsub/v1/iam_policy/client.rb
|
|
72
73
|
- lib/google/cloud/pubsub/v1/iam_policy/credentials.rb
|
|
73
74
|
- lib/google/cloud/pubsub/v1/publisher.rb
|
|
74
75
|
- lib/google/cloud/pubsub/v1/publisher/credentials.rb
|
|
76
|
+
- lib/google/cloud/pubsub/v1/rest.rb
|
|
75
77
|
- lib/google/cloud/pubsub/v1/schema_service.rb
|
|
76
78
|
- lib/google/cloud/pubsub/v1/schema_service/client.rb
|
|
77
79
|
- lib/google/cloud/pubsub/v1/schema_service/credentials.rb
|
|
78
80
|
- lib/google/cloud/pubsub/v1/schema_service/paths.rb
|
|
81
|
+
- lib/google/cloud/pubsub/v1/schema_service/rest.rb
|
|
82
|
+
- lib/google/cloud/pubsub/v1/schema_service/rest/client.rb
|
|
83
|
+
- lib/google/cloud/pubsub/v1/schema_service/rest/service_stub.rb
|
|
79
84
|
- lib/google/cloud/pubsub/v1/subscriber.rb
|
|
80
85
|
- lib/google/cloud/pubsub/v1/subscriber/credentials.rb
|
|
81
86
|
- lib/google/cloud/pubsub/v1/subscription_admin.rb
|
|
@@ -83,11 +88,17 @@ files:
|
|
|
83
88
|
- lib/google/cloud/pubsub/v1/subscription_admin/credentials.rb
|
|
84
89
|
- lib/google/cloud/pubsub/v1/subscription_admin/helpers.rb
|
|
85
90
|
- lib/google/cloud/pubsub/v1/subscription_admin/paths.rb
|
|
91
|
+
- lib/google/cloud/pubsub/v1/subscription_admin/rest.rb
|
|
92
|
+
- lib/google/cloud/pubsub/v1/subscription_admin/rest/client.rb
|
|
93
|
+
- lib/google/cloud/pubsub/v1/subscription_admin/rest/service_stub.rb
|
|
86
94
|
- lib/google/cloud/pubsub/v1/topic_admin.rb
|
|
87
95
|
- lib/google/cloud/pubsub/v1/topic_admin/client.rb
|
|
88
96
|
- lib/google/cloud/pubsub/v1/topic_admin/credentials.rb
|
|
89
97
|
- lib/google/cloud/pubsub/v1/topic_admin/helpers.rb
|
|
90
98
|
- lib/google/cloud/pubsub/v1/topic_admin/paths.rb
|
|
99
|
+
- lib/google/cloud/pubsub/v1/topic_admin/rest.rb
|
|
100
|
+
- lib/google/cloud/pubsub/v1/topic_admin/rest/client.rb
|
|
101
|
+
- lib/google/cloud/pubsub/v1/topic_admin/rest/service_stub.rb
|
|
91
102
|
- lib/google/cloud/pubsub/v1/version.rb
|
|
92
103
|
- lib/google/pubsub/v1/pubsub_pb.rb
|
|
93
104
|
- lib/google/pubsub/v1/pubsub_services_pb.rb
|
|
@@ -105,7 +116,6 @@ files:
|
|
|
105
116
|
- proto_docs/google/protobuf/timestamp.rb
|
|
106
117
|
- proto_docs/google/pubsub/v1/pubsub.rb
|
|
107
118
|
- proto_docs/google/pubsub/v1/schema.rb
|
|
108
|
-
- proto_docs/google/type/expr.rb
|
|
109
119
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
|
110
120
|
licenses:
|
|
111
121
|
- Apache-2.0
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# Copyright 2020 Google LLC
|
|
4
|
-
#
|
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
# you may not use this file except in compliance with the License.
|
|
7
|
-
# You may obtain a copy of the License at
|
|
8
|
-
#
|
|
9
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
#
|
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
# See the License for the specific language governing permissions and
|
|
15
|
-
# limitations under the License.
|
|
16
|
-
|
|
17
|
-
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
module Google
|
|
21
|
-
module Type
|
|
22
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
23
|
-
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
|
24
|
-
# are documented at https://github.com/google/cel-spec.
|
|
25
|
-
#
|
|
26
|
-
# Example (Comparison):
|
|
27
|
-
#
|
|
28
|
-
# title: "Summary size limit"
|
|
29
|
-
# description: "Determines if a summary is less than 100 chars"
|
|
30
|
-
# expression: "document.summary.size() < 100"
|
|
31
|
-
#
|
|
32
|
-
# Example (Equality):
|
|
33
|
-
#
|
|
34
|
-
# title: "Requestor is owner"
|
|
35
|
-
# description: "Determines if requestor is the document owner"
|
|
36
|
-
# expression: "document.owner == request.auth.claims.email"
|
|
37
|
-
#
|
|
38
|
-
# Example (Logic):
|
|
39
|
-
#
|
|
40
|
-
# title: "Public documents"
|
|
41
|
-
# description: "Determine whether the document should be publicly visible"
|
|
42
|
-
# expression: "document.type != 'private' && document.type != 'internal'"
|
|
43
|
-
#
|
|
44
|
-
# Example (Data Manipulation):
|
|
45
|
-
#
|
|
46
|
-
# title: "Notification string"
|
|
47
|
-
# description: "Create a notification string with a timestamp."
|
|
48
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
49
|
-
#
|
|
50
|
-
# The exact variables and functions that may be referenced within an expression
|
|
51
|
-
# are determined by the service that evaluates it. See the service
|
|
52
|
-
# documentation for additional information.
|
|
53
|
-
# @!attribute [rw] expression
|
|
54
|
-
# @return [::String]
|
|
55
|
-
# Textual representation of an expression in Common Expression Language
|
|
56
|
-
# syntax.
|
|
57
|
-
# @!attribute [rw] title
|
|
58
|
-
# @return [::String]
|
|
59
|
-
# Optional. Title for the expression, i.e. a short string describing
|
|
60
|
-
# its purpose. This can be used e.g. in UIs which allow to enter the
|
|
61
|
-
# expression.
|
|
62
|
-
# @!attribute [rw] description
|
|
63
|
-
# @return [::String]
|
|
64
|
-
# Optional. Description of the expression. This is a longer text which
|
|
65
|
-
# describes the expression, e.g. when hovered over it in a UI.
|
|
66
|
-
# @!attribute [rw] location
|
|
67
|
-
# @return [::String]
|
|
68
|
-
# Optional. String indicating the location of the expression for error
|
|
69
|
-
# reporting, e.g. a file name and a position in the file.
|
|
70
|
-
class Expr
|
|
71
|
-
include ::Google::Protobuf::MessageExts
|
|
72
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
end
|