google-cloud-pubsub-v1 1.10.0 → 1.11.1

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: fb4e8490b5c00301aa4f425c728c7fbd82f08b9dcf81b8156dd631a1a6f65ce6
4
- data.tar.gz: 1ecbc7c0ec773bd2d8d97acc0cf111dc446ac967789568065afacf2c25316799
3
+ metadata.gz: 57b1c094232cb8d4a6865f7b48403873a788c43c7dd18f189f73a35d093b7b46
4
+ data.tar.gz: aba4b106f88cffb7ab128f0fd37316af10ea2910f94b9a200b0da07d624817df
5
5
  SHA512:
6
- metadata.gz: 43d3b0c616c6d3eab4ec24ae56f150f7e183eb18d2fba0fb004a8f637fc6dfef73e6c1239253d7bdb6036d747f1f5f0d9e5247a535d2733972acc61bcb316846
7
- data.tar.gz: c758c20962c916d6691cc54eab0e9316cc5f4349ded16643ab9b61a5bf122e7438b87c6d2794f3ffc8949da44a03efae43703021c495e102cf283a8723151225
6
+ metadata.gz: 9d1c46ca8fae908e6980183207252e4ca91b07dab71a5636407a12a9547a8b3d95ab7e26f413045879df48091eb5a104195ff98ec16998f4681195c8706a28c1
7
+ data.tar.gz: 006e37cf5f283a68acdd60070da2aed7f740af393e35b3ebf17e80bcc5e6dff596f402f32719d67bc86e0e1b32f5667b9674e94b9e69c0aca52b5b14ec3446c9
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
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
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
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 2020 Google LLC
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
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
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"
@@ -1108,11 +1108,11 @@ module Google
1108
1108
  #
1109
1109
  # Format is `projects/{project}/schemas/{schema}`.
1110
1110
  #
1111
- # Note: The following fields are mutually exclusive: `name`, `schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1111
+ # Note: The following parameters are mutually exclusive: `name`, `schema`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
1112
1112
  # @param schema [::Google::Cloud::PubSub::V1::Schema, ::Hash]
1113
1113
  # Ad-hoc schema against which to validate
1114
1114
  #
1115
- # Note: The following fields are mutually exclusive: `schema`, `name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1115
+ # Note: The following parameters are mutually exclusive: `schema`, `name`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
1116
1116
  # @param message [::String]
1117
1117
  # Message to validate against the provided `schema_spec`.
1118
1118
  # @param encoding [::Google::Cloud::PubSub::V1::Encoding]
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
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
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
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 2020 Google LLC
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
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
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"