google-cloud-pubsub-v1 1.16.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 +1 -2
- 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 +1 -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 +7 -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 +4 -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 +16 -6
- data/proto_docs/google/type/expr.rb +0 -75
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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
|
+
require "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/pubsub/v1/version"
|
|
24
|
+
require "google/cloud/pubsub/v1/bindings_override"
|
|
25
|
+
|
|
26
|
+
require "google/cloud/pubsub/v1/subscription_admin/credentials"
|
|
27
|
+
require "google/cloud/pubsub/v1/subscription_admin/paths"
|
|
28
|
+
require "google/cloud/pubsub/v1/subscription_admin/rest/client"
|
|
29
|
+
|
|
30
|
+
module Google
|
|
31
|
+
module Cloud
|
|
32
|
+
module PubSub
|
|
33
|
+
module V1
|
|
34
|
+
##
|
|
35
|
+
# The service that an application uses to manipulate subscriptions and to
|
|
36
|
+
# consume messages from a subscription via the `Pull` method or by
|
|
37
|
+
# establishing a bi-directional stream using the `StreamingPull` method.
|
|
38
|
+
#
|
|
39
|
+
# To load this service and instantiate a REST client:
|
|
40
|
+
#
|
|
41
|
+
# require "google/cloud/pubsub/v1/subscription_admin/rest"
|
|
42
|
+
# client = ::Google::Cloud::PubSub::V1::SubscriptionAdmin::Rest::Client.new
|
|
43
|
+
#
|
|
44
|
+
module SubscriptionAdmin
|
|
45
|
+
# Client for the REST transport
|
|
46
|
+
module Rest
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
55
|
+
require "google/cloud/pubsub/v1/subscription_admin/rest/helpers" if ::File.file? helper_path
|
|
@@ -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.
|
|
@@ -25,6 +25,7 @@ require "google/cloud/pubsub/v1/version"
|
|
|
25
25
|
require "google/cloud/pubsub/v1/subscription_admin/credentials"
|
|
26
26
|
require "google/cloud/pubsub/v1/subscription_admin/paths"
|
|
27
27
|
require "google/cloud/pubsub/v1/subscription_admin/client"
|
|
28
|
+
require "google/cloud/pubsub/v1/subscription_admin/rest"
|
|
28
29
|
|
|
29
30
|
module Google
|
|
30
31
|
module Cloud
|
|
@@ -40,6 +41,11 @@ module Google
|
|
|
40
41
|
# require "google/cloud/pubsub/v1/subscription_admin"
|
|
41
42
|
# client = ::Google::Cloud::PubSub::V1::SubscriptionAdmin::Client.new
|
|
42
43
|
#
|
|
44
|
+
# @example Load this service and instantiate a REST client
|
|
45
|
+
#
|
|
46
|
+
# require "google/cloud/pubsub/v1/subscription_admin/rest"
|
|
47
|
+
# client = ::Google::Cloud::PubSub::V1::SubscriptionAdmin::Rest::Client.new
|
|
48
|
+
#
|
|
43
49
|
module SubscriptionAdmin
|
|
44
50
|
end
|
|
45
51
|
end
|
|
@@ -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.
|
|
@@ -308,8 +308,9 @@ module Google
|
|
|
308
308
|
# resource. For example:
|
|
309
309
|
# "123/environment": "production",
|
|
310
310
|
# "123/costCenter": "marketing"
|
|
311
|
-
# See
|
|
312
|
-
#
|
|
311
|
+
# See
|
|
312
|
+
# https://\\{$universe.dns_names.final_documentation_domain}/pubsub/docs/tags
|
|
313
|
+
# for more information on using tags with Pub/Sub resources.
|
|
313
314
|
#
|
|
314
315
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
315
316
|
# @yieldparam response [::Google::Cloud::PubSub::V1::Topic]
|