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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -2
  3. data/lib/google/cloud/pubsub/v1/bindings_override.rb +158 -0
  4. data/lib/google/cloud/pubsub/v1/rest.rb +40 -0
  5. data/lib/google/cloud/pubsub/v1/schema_service/client.rb +1 -1
  6. data/lib/google/cloud/pubsub/v1/schema_service/credentials.rb +1 -1
  7. data/lib/google/cloud/pubsub/v1/schema_service/paths.rb +1 -1
  8. data/lib/google/cloud/pubsub/v1/schema_service/rest/client.rb +1348 -0
  9. data/lib/google/cloud/pubsub/v1/schema_service/rest/service_stub.rb +696 -0
  10. data/lib/google/cloud/pubsub/v1/schema_service/rest.rb +53 -0
  11. data/lib/google/cloud/pubsub/v1/schema_service.rb +7 -1
  12. data/lib/google/cloud/pubsub/v1/subscription_admin/client.rb +7 -5
  13. data/lib/google/cloud/pubsub/v1/subscription_admin/credentials.rb +1 -1
  14. data/lib/google/cloud/pubsub/v1/subscription_admin/paths.rb +1 -1
  15. data/lib/google/cloud/pubsub/v1/subscription_admin/rest/client.rb +2035 -0
  16. data/lib/google/cloud/pubsub/v1/subscription_admin/rest/service_stub.rb +1005 -0
  17. data/lib/google/cloud/pubsub/v1/subscription_admin/rest.rb +55 -0
  18. data/lib/google/cloud/pubsub/v1/subscription_admin.rb +7 -1
  19. data/lib/google/cloud/pubsub/v1/topic_admin/client.rb +4 -3
  20. data/lib/google/cloud/pubsub/v1/topic_admin/credentials.rb +1 -1
  21. data/lib/google/cloud/pubsub/v1/topic_admin/paths.rb +1 -1
  22. data/lib/google/cloud/pubsub/v1/topic_admin/rest/client.rb +1274 -0
  23. data/lib/google/cloud/pubsub/v1/topic_admin/rest/service_stub.rb +633 -0
  24. data/lib/google/cloud/pubsub/v1/topic_admin/rest.rb +54 -0
  25. data/lib/google/cloud/pubsub/v1/topic_admin.rb +7 -1
  26. data/lib/google/cloud/pubsub/v1/version.rb +1 -1
  27. data/lib/google/cloud/pubsub/v1.rb +6 -1
  28. data/lib/google/pubsub/v1/pubsub_pb.rb +4 -1
  29. data/lib/google/pubsub/v1/pubsub_services_pb.rb +1 -1
  30. data/lib/google/pubsub/v1/schema_pb.rb +2 -1
  31. data/lib/google/pubsub/v1/schema_services_pb.rb +1 -1
  32. data/lib/google-cloud-pubsub-v1.rb +1 -1
  33. data/proto_docs/google/api/client.rb +1 -1
  34. data/proto_docs/google/api/field_behavior.rb +1 -1
  35. data/proto_docs/google/api/launch_stage.rb +1 -1
  36. data/proto_docs/google/api/resource.rb +1 -1
  37. data/proto_docs/google/protobuf/duration.rb +1 -1
  38. data/proto_docs/google/protobuf/empty.rb +1 -1
  39. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  40. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  41. data/proto_docs/google/pubsub/v1/pubsub.rb +101 -25
  42. data/proto_docs/google/pubsub/v1/schema.rb +18 -1
  43. metadata +16 -6
  44. data/proto_docs/google/type/expr.rb +0 -75
@@ -0,0 +1,53 @@
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/schema_service/credentials"
27
+ require "google/cloud/pubsub/v1/schema_service/paths"
28
+ require "google/cloud/pubsub/v1/schema_service/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module PubSub
33
+ module V1
34
+ ##
35
+ # Service for doing schema-related operations.
36
+ #
37
+ # To load this service and instantiate a REST client:
38
+ #
39
+ # require "google/cloud/pubsub/v1/schema_service/rest"
40
+ # client = ::Google::Cloud::PubSub::V1::SchemaService::Rest::Client.new
41
+ #
42
+ module SchemaService
43
+ # Client for the REST transport
44
+ module Rest
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+
52
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
53
+ require "google/cloud/pubsub/v1/schema_service/rest/helpers" if ::File.file? helper_path
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
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/schema_service/credentials"
26
26
  require "google/cloud/pubsub/v1/schema_service/paths"
27
27
  require "google/cloud/pubsub/v1/schema_service/client"
28
+ require "google/cloud/pubsub/v1/schema_service/rest"
28
29
 
29
30
  module Google
30
31
  module Cloud
@@ -38,6 +39,11 @@ module Google
38
39
  # require "google/cloud/pubsub/v1/schema_service"
39
40
  # client = ::Google::Cloud::PubSub::V1::SchemaService::Client.new
40
41
  #
42
+ # @example Load this service and instantiate a REST client
43
+ #
44
+ # require "google/cloud/pubsub/v1/schema_service/rest"
45
+ # client = ::Google::Cloud::PubSub::V1::SchemaService::Rest::Client.new
46
+ #
41
47
  module SchemaService
42
48
  end
43
49
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
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.
@@ -432,8 +432,9 @@ module Google
432
432
  # resource. For example:
433
433
  # "123/environment": "production",
434
434
  # "123/costCenter": "marketing"
435
- # See https://docs.cloud.google.com/pubsub/docs/tags for more information on
436
- # using tags with Pub/Sub resources.
435
+ # See
436
+ # https://\\{$universe.dns_names.final_documentation_domain}/pubsub/docs/tags
437
+ # for more information on using tags with Pub/Sub resources.
437
438
  #
438
439
  # @yield [response, operation] Access the result along with the RPC operation
439
440
  # @yieldparam response [::Google::Cloud::PubSub::V1::Subscription]
@@ -1591,8 +1592,9 @@ module Google
1591
1592
  # resource. For example:
1592
1593
  # "123/environment": "production",
1593
1594
  # "123/costCenter": "marketing"
1594
- # See https://docs.cloud.google.com/pubsub/docs/tags for more information on
1595
- # using tags with Pub/Sub resources.
1595
+ # See
1596
+ # https://\\{$universe.dns_names.final_documentation_domain}/pubsub/docs/tags
1597
+ # for more information on using tags with Pub/Sub resources.
1596
1598
  #
1597
1599
  # @yield [response, operation] Access the result along with the RPC operation
1598
1600
  # @yieldparam response [::Google::Cloud::PubSub::V1::Snapshot]
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
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.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
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.