google-cloud-pubsub-v1 1.9.0 → 1.11.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/lib/google/cloud/pubsub/v1/publisher/credentials.rb +2 -37
- data/lib/google/cloud/pubsub/v1/publisher.rb +2 -35
- data/lib/google/cloud/pubsub/v1/subscriber/credentials.rb +2 -37
- data/lib/google/cloud/pubsub/v1/subscriber.rb +2 -36
- data/lib/google/cloud/pubsub/v1/{subscriber → subscription_admin}/client.rb +65 -65
- data/lib/google/cloud/pubsub/v1/subscription_admin/credentials.rb +52 -0
- data/lib/google/cloud/pubsub/v1/{publisher → subscription_admin}/helpers.rb +4 -1
- data/lib/google/cloud/pubsub/v1/{subscriber → subscription_admin}/paths.rb +3 -3
- data/lib/google/cloud/pubsub/v1/subscription_admin.rb +51 -0
- data/lib/google/cloud/pubsub/v1/{publisher → topic_admin}/client.rb +46 -46
- data/lib/google/cloud/pubsub/v1/topic_admin/credentials.rb +52 -0
- data/lib/google/cloud/pubsub/v1/{subscriber → topic_admin}/helpers.rb +4 -1
- data/lib/google/cloud/pubsub/v1/{publisher → topic_admin}/paths.rb +3 -3
- data/lib/google/cloud/pubsub/v1/topic_admin.rb +50 -0
- data/lib/google/cloud/pubsub/v1/version.rb +1 -1
- data/lib/google/cloud/pubsub/v1.rb +2 -2
- data/lib/google/pubsub/v1/pubsub_pb.rb +4 -1
- data/lib/google/pubsub/v1/pubsub_services_pb.rb +1 -1
- data/proto_docs/google/pubsub/v1/pubsub.rb +125 -31
- metadata +12 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fc88639d099120cb0e3640b57b3461ec8321245e442e6521afc5fcbb8555b32
|
4
|
+
data.tar.gz: 2add1a3a7b3b560ee1542648d00628b4b21e5218f14a1228024e73dfd8030d11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef28112cb52202dc56dbc4dd537dca8fc087545aefcb8b73ffb029dc9637d21912739bbe7888b54c3710165164e40196d82204a5128f1c43d0f23dd9c0618180
|
7
|
+
data.tar.gz: 01aa61a21bef45400a3d72a29aeb879061a65ecb7e0d46a8f1da81b717c9d61a2fe85402a01e9eaa3738ec28fc96c8f07212c2cba1c2e6308e606e6b79c11668
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright 2025 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.
|
@@ -14,39 +14,4 @@
|
|
14
14
|
# See the License for the specific language governing permissions and
|
15
15
|
# limitations under the License.
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
require "googleauth"
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Cloud
|
23
|
-
module PubSub
|
24
|
-
module V1
|
25
|
-
module Publisher
|
26
|
-
# Credentials for the Publisher API.
|
27
|
-
class Credentials < ::Google::Auth::Credentials
|
28
|
-
self.scope = [
|
29
|
-
"https://www.googleapis.com/auth/cloud-platform",
|
30
|
-
"https://www.googleapis.com/auth/pubsub"
|
31
|
-
]
|
32
|
-
self.env_vars = [
|
33
|
-
"PUBSUB_CREDENTIALS",
|
34
|
-
"PUBSUB_KEYFILE",
|
35
|
-
"GOOGLE_CLOUD_CREDENTIALS",
|
36
|
-
"GOOGLE_CLOUD_KEYFILE",
|
37
|
-
"GCLOUD_KEYFILE",
|
38
|
-
"PUBSUB_CREDENTIALS_JSON",
|
39
|
-
"PUBSUB_KEYFILE_JSON",
|
40
|
-
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
41
|
-
"GOOGLE_CLOUD_KEYFILE_JSON",
|
42
|
-
"GCLOUD_KEYFILE_JSON"
|
43
|
-
]
|
44
|
-
self.paths = [
|
45
|
-
"~/.config/google_cloud/application_default_credentials.json"
|
46
|
-
]
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
17
|
+
require "google/cloud/pubsub/v1/topic_admin"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright 2025 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.
|
@@ -14,37 +14,4 @@
|
|
14
14
|
# See the License for the specific language governing permissions and
|
15
15
|
# limitations under the License.
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
require "gapic/common"
|
20
|
-
require "gapic/config"
|
21
|
-
require "gapic/config/method"
|
22
|
-
|
23
|
-
require "google/cloud/pubsub/v1/version"
|
24
|
-
|
25
|
-
require "google/cloud/pubsub/v1/publisher/credentials"
|
26
|
-
require "google/cloud/pubsub/v1/publisher/paths"
|
27
|
-
require "google/cloud/pubsub/v1/publisher/client"
|
28
|
-
|
29
|
-
module Google
|
30
|
-
module Cloud
|
31
|
-
module PubSub
|
32
|
-
module V1
|
33
|
-
##
|
34
|
-
# The service that an application uses to manipulate topics, and to send
|
35
|
-
# messages to a topic.
|
36
|
-
#
|
37
|
-
# @example Load this service and instantiate a gRPC client
|
38
|
-
#
|
39
|
-
# require "google/cloud/pubsub/v1/publisher"
|
40
|
-
# client = ::Google::Cloud::PubSub::V1::Publisher::Client.new
|
41
|
-
#
|
42
|
-
module Publisher
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
helper_path = ::File.join __dir__, "publisher", "helpers.rb"
|
50
|
-
require "google/cloud/pubsub/v1/publisher/helpers" if ::File.file? helper_path
|
17
|
+
require "google/cloud/pubsub/v1/topic_admin"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright 2025 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.
|
@@ -14,39 +14,4 @@
|
|
14
14
|
# See the License for the specific language governing permissions and
|
15
15
|
# limitations under the License.
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
require "googleauth"
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Cloud
|
23
|
-
module PubSub
|
24
|
-
module V1
|
25
|
-
module Subscriber
|
26
|
-
# Credentials for the Subscriber API.
|
27
|
-
class Credentials < ::Google::Auth::Credentials
|
28
|
-
self.scope = [
|
29
|
-
"https://www.googleapis.com/auth/cloud-platform",
|
30
|
-
"https://www.googleapis.com/auth/pubsub"
|
31
|
-
]
|
32
|
-
self.env_vars = [
|
33
|
-
"PUBSUB_CREDENTIALS",
|
34
|
-
"PUBSUB_KEYFILE",
|
35
|
-
"GOOGLE_CLOUD_CREDENTIALS",
|
36
|
-
"GOOGLE_CLOUD_KEYFILE",
|
37
|
-
"GCLOUD_KEYFILE",
|
38
|
-
"PUBSUB_CREDENTIALS_JSON",
|
39
|
-
"PUBSUB_KEYFILE_JSON",
|
40
|
-
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
41
|
-
"GOOGLE_CLOUD_KEYFILE_JSON",
|
42
|
-
"GCLOUD_KEYFILE_JSON"
|
43
|
-
]
|
44
|
-
self.paths = [
|
45
|
-
"~/.config/google_cloud/application_default_credentials.json"
|
46
|
-
]
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
17
|
+
require "google/cloud/pubsub/v1/subscription_admin"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright 2025 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.
|
@@ -14,38 +14,4 @@
|
|
14
14
|
# See the License for the specific language governing permissions and
|
15
15
|
# limitations under the License.
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
require "gapic/common"
|
20
|
-
require "gapic/config"
|
21
|
-
require "gapic/config/method"
|
22
|
-
|
23
|
-
require "google/cloud/pubsub/v1/version"
|
24
|
-
|
25
|
-
require "google/cloud/pubsub/v1/subscriber/credentials"
|
26
|
-
require "google/cloud/pubsub/v1/subscriber/paths"
|
27
|
-
require "google/cloud/pubsub/v1/subscriber/client"
|
28
|
-
|
29
|
-
module Google
|
30
|
-
module Cloud
|
31
|
-
module PubSub
|
32
|
-
module V1
|
33
|
-
##
|
34
|
-
# The service that an application uses to manipulate subscriptions and to
|
35
|
-
# consume messages from a subscription via the `Pull` method or by
|
36
|
-
# establishing a bi-directional stream using the `StreamingPull` method.
|
37
|
-
#
|
38
|
-
# @example Load this service and instantiate a gRPC client
|
39
|
-
#
|
40
|
-
# require "google/cloud/pubsub/v1/subscriber"
|
41
|
-
# client = ::Google::Cloud::PubSub::V1::Subscriber::Client.new
|
42
|
-
#
|
43
|
-
module Subscriber
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
helper_path = ::File.join __dir__, "subscriber", "helpers.rb"
|
51
|
-
require "google/cloud/pubsub/v1/subscriber/helpers" if ::File.file? helper_path
|
17
|
+
require "google/cloud/pubsub/v1/subscription_admin"
|