google-cloud-channel-v1 1.3.0 → 2.0.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: be881e265be7deeef8b87f40070f04a5d89f38eb8fa8e21ce04ba8f220f7fb27
4
- data.tar.gz: 7ec7d81fa739fb2e61cdfb56edebb3eb9ecb9bb7ea8cd66a7e5ef782295ca575
3
+ metadata.gz: 23da9ddd97884f3f4f4e0ed22e9041f5c30bcee66e2f2150f6c69774f4f34930
4
+ data.tar.gz: d56fe4f749fbcf9be56540d0b5edb3dd1e454bcbbab446d1ddeae1ae4b6441a9
5
5
  SHA512:
6
- metadata.gz: 25d2116f001f8f08d8f820068e9f257627025235d5ab283453da4d119854c5db47fea40f6c042c0f18608476e30d589a679b91fe989e5623723dc789037b220d
7
- data.tar.gz: 71777d803aa6acc3090923e7cce25e3790aaaefd7ce6a7e3bd6be359efed704602e304f8cdae966be6531b67f1806c163b9e03f5ed136012a69812411fc251b0
6
+ metadata.gz: cf651bf856821fe70b32385890ef1b0a93bacf5a77d4fb6e92542a5cc19bd461d854a80dc8fbf6b4b7e4fe6781c541ca1d19e239acf4479f84d8a0a5cea456a9
7
+ data.tar.gz: cc94d390ac920d0a98f31e820ce956a575317e8e553379b943b60a6ac33d98ad346a891253ffcf52884c2749c0521af7a6428382d12025fbeeb0a60e8b13e2cb
@@ -690,8 +690,8 @@ module Google
690
690
 
691
691
  config_attr :endpoint, nil, ::String, nil
692
692
  config_attr :credentials, nil do |value|
693
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
694
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
693
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
694
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
695
695
  allowed.any? { |klass| klass === value }
696
696
  end
697
697
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -646,7 +646,7 @@ module Google
646
646
 
647
647
  config_attr :endpoint, nil, ::String, nil
648
648
  config_attr :credentials, nil do |value|
649
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
649
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
650
650
  allowed.any? { |klass| klass === value }
651
651
  end
652
652
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -6194,8 +6194,8 @@ module Google
6194
6194
 
6195
6195
  config_attr :endpoint, nil, ::String, nil
6196
6196
  config_attr :credentials, nil do |value|
6197
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
6198
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
6197
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
6198
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
6199
6199
  allowed.any? { |klass| klass === value }
6200
6200
  end
6201
6201
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -5571,10 +5571,10 @@ module Google
5571
5571
  # When paginating, all other parameters provided to `ListSubscribers` must
5572
5572
  # match the call that provided the page token.
5573
5573
  # @yield [result, operation] Access the result along with the TransportOperation object
5574
- # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String>]
5574
+ # @yieldparam result [::Google::Cloud::Channel::V1::ListSubscribersResponse]
5575
5575
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
5576
5576
  #
5577
- # @return [::Gapic::Rest::PagedEnumerable<::String>]
5577
+ # @return [::Google::Cloud::Channel::V1::ListSubscribersResponse]
5578
5578
  #
5579
5579
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
5580
5580
  #
@@ -5622,9 +5622,7 @@ module Google
5622
5622
  retry_policy: @config.retry_policy
5623
5623
 
5624
5624
  @cloud_channel_service_stub.list_subscribers request, options do |result, operation|
5625
- result = ::Gapic::Rest::PagedEnumerable.new @cloud_channel_service_stub, :list_subscribers, "service_accounts", request, result, options
5626
5625
  yield result, operation if block_given?
5627
- throw :response, result
5628
5626
  end
5629
5627
  rescue ::Gapic::Rest::Error => e
5630
5628
  raise ::Google::Cloud::Error.from_error(e)
@@ -5845,7 +5843,7 @@ module Google
5845
5843
 
5846
5844
  config_attr :endpoint, nil, ::String, nil
5847
5845
  config_attr :credentials, nil do |value|
5848
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
5846
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
5849
5847
  allowed.any? { |klass| klass === value }
5850
5848
  end
5851
5849
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Channel
23
23
  module V1
24
- VERSION = "1.3.0"
24
+ VERSION = "2.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-channel-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
- rubygems_version: 3.6.2
146
+ rubygems_version: 3.6.8
147
147
  specification_version: 4
148
148
  summary: The Cloud Channel API enables Google Cloud partners to have a single unified
149
149
  resale platform and APIs across all of Google Cloud including GCP, Workspace, Maps